https://www.icyphoenix.com/viewtopic.php?f=1&t=10243
-----------------------------------
Mighty Gorgon
Sat 02 Jan, 2021 18:44

Site Updated To Latest Icy Phoenix Version
-----------------------------------
Hi all,
I have updated Icy Phoenix on this website to latest development version, with the goal to update PHP and MySQL/MariaDB to their latest version on the server.

I already noticed something which is not working properly, please let me know if you encounter any error.

Thank you very much!

 :mricy:


-----------------------------------
Mighty Gorgon
Sat 02 Jan, 2021 19:14

Re: Site Updated To Latest Icy Phoenix Version
-----------------------------------
Already found some issues:
[list=1][*]Index and Home only work in PHP 7 and not in PHP 7.2+
[*][strike]Acronyms are not working anymore... I had to disable them hardcode at the moment[/strike] => Hopefully is fixed now
[*][strike]Attachments aren't working anymore...[/strike] => Hopefully is fixed now[/list]


-----------------------------------
Mighty Gorgon
Sat 02 Jan, 2021 19:26

Re: Site Updated To Latest Icy Phoenix Version
-----------------------------------
Informpro if you have some time, can you please check this line of code from [b]bbcode.php[/b]?

[c]$text .= str_replace('\"', '"', substr(preg_replace('#(\>(((?>([^><]+|(?R)))*)\<))#se', "preg_replace(\$orig, \$repl, '\\0')", '>' . $seg . '<'), 1, -1));[/c]

EDIT:
I should have fixed like this:
[c]$text .= str_replace('\"', '"', substr(preg_replace('#(\>(((?>([^><]+|(?R)))*)\<))#s', preg_replace($orig, $repl, '>' . $seg . '<'), '>' . $seg . '<'), 1, -1));[/c]

Not really sure the fix is correct though...


-----------------------------------
Mighty Gorgon
Sat 02 Jan, 2021 23:19

Re: Site Updated To Latest Icy Phoenix Version
-----------------------------------
After inspecting the code I should have also fixed some other bugs preventing Home Page and Forum Index to display properly.

Server is now running PHP 7.4.

Please let me know if you find any other bug.


-----------------------------------
Blackgatomon
Sat 23 Jan, 2021 04:08

Re: Site Updated To Latest Icy Phoenix Version
-----------------------------------
is safe for production?


-----------------------------------
mort
Sat 23 Jan, 2021 11:50

Re: Site Updated To Latest Icy Phoenix Version
-----------------------------------
Haha!

So where does one find the download?


-----------------------------------
Blackgatomon
Thu 28 Jan, 2021 03:33

Re: Site Updated To Latest Icy Phoenix Version
-----------------------------------
[quote user="mort" post="62333"]Haha!

So where does one find the download?[/quote]
oh, off-topic: congratulations on your 1000 posts.


-----------------------------------
Stryker
Sun 28 Feb, 2021 22:02

Re: Site Updated To Latest Icy Phoenix Version
-----------------------------------
Fantastic news

Can't change password

no changes can be made in the user profile

A greeting


-----------------------------------
Mighty Gorgon
Sat 13 Mar, 2021 10:49

Re: Site Updated To Latest Icy Phoenix Version
-----------------------------------
[quote user="Stryker" post="62336"]Can't change password

no changes can be made in the user profile[/quote]
I should have fixed it, please let me know if it works properly now.


-----------------------------------
Stryker
Mon 15 Mar, 2021 02:26

Re: Site Updated To Latest Icy Phoenix Version
-----------------------------------
Perfect
Thanks [user]2[/user]


-----------------------------------
Stryker
Thu 15 Apr, 2021 11:55

Re: Site Updated To Latest Icy Phoenix Version
-----------------------------------
when version 7.4 will be available for download ??

regards


-----------------------------------
MWE_001
Fri 07 May, 2021 10:46

Re: Site Updated To Latest Icy Phoenix Version
-----------------------------------
[quote user="Mighty Gorgon" post="62329"]Informpro if you have some time, can you please check this line of code from [b]bbcode.php[/b]?

[c]$text .= str_replace('\"', '"', substr(preg_replace('#(\>(((?>([^><]+|(?R)))*)\<))#se', "preg_replace(\$orig, \$repl, '\\0')", '>' . $seg . '<'), 1, -1));[/c]

EDIT:
I should have fixed like this:
[c]$text .= str_replace('\"', '"', substr(preg_replace('#(\>(((?>([^><]+|(?R)))*)\<))#s', preg_replace($orig, $repl, '>' . $seg . '<'), '>' . $seg . '<'), 1, -1));[/c]

Not really sure the fix is correct though...[/quote]

Last I heard he was getting ready to move again. He said he was going to get a install of a stack again so he could work on some coding. Not sure if it has panned out for him yet or not. I will try to get a hold of him on a couple different websites that he and I both belong to. The last time I saw him active was actually yesterday.


-----------------------------------
Informpro
Mon 10 May, 2021 14:25

Re: Site Updated To Latest Icy Phoenix Version
-----------------------------------
I just forgot about this.

The proper fix should be:
[code]  $text .= str_replace('\"', '"', substr(preg_replace_callback('#(\>(((?>([^><]+|(?R)))*)\<))#s', function ($match) use ($orig, $repl) { return preg_replace($orig, $repl, $match[0]); }, '>' . $seg . '<'), 1, -1));[/code]


-----------------------------------
mort
Wed 19 May, 2021 06:22

Re: Site Updated To Latest Icy Phoenix Version
-----------------------------------
So,

when are we going to be able to get it?

 :mrblue:  :twisted:


