Welcome to Geeklog, Anonymous Saturday, December 21 2024 @ 01:36 pm EST
Geeklog Forums
Upgrade 1.5.1 to 1.6.0
RichardBKK
Anonymous
I upgraded a website, and first all went fine, I even got the opening screen saying I had to change back the config file to 755.
But after that it was all "Unfortunately, an error has occurred rendering this page. Please try again later. " and the log file says this
But after that it was all "Unfortunately, an error has occurred rendering this page. Please try again later. " and the log file says this
Text Formatted Code
Mon 20 Jul 2009 08:29:20 ICT - 2 - plugin_getfeedcontent_forum(PHP/Compat.php) [function.plugin-getfeedcontent-forum]: failed to open stream: No such file or directory @ /home/domain/public_html/nun/plugins/forum/functions.inc line 608
7
8
Quote
Status: offline
Dirk
Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Hmm, interesting. Geeklog 1.6.0 now requires at least PHP 4.3.0. As a result, we got rid of all the code the ensured compatibility with earlier PHP versions - including the PHP_Compat PEAR package.
The Forum is using the function str_ireplace here, which is only available as of PHP 5, so it would still need the PHP_Compat package to work on PHP 4.x.
Solution: Either upgrade to PHP 5, if you can, or get the PHP_Compat package from an earlier Geeklog release: You need the system/pear/PHP directory.
The funny thing is that this package also seems to missing from at least Geeklog 1.5.2sr4, which was still using it. Oops ...
bye, Dirk
The Forum is using the function str_ireplace here, which is only available as of PHP 5, so it would still need the PHP_Compat package to work on PHP 4.x.
Solution: Either upgrade to PHP 5, if you can, or get the PHP_Compat package from an earlier Geeklog release: You need the system/pear/PHP directory.
The funny thing is that this package also seems to missing from at least Geeklog 1.5.2sr4, which was still using it. Oops ...
bye, Dirk
6
10
Quote
RichardBKK
Anonymous
Hi Dirk,
I did corrected the problem already. For the earlier upgrades for other websites we went up to 1.5.2sr4 with upgraded overwriting older versions, only for major upgrades, 1.4 to 1.5, or now from 1.5 to 1.6 we do full "clean" upgrades in which we delete all files from Geeklog and upload the new version.
In this case the PHP/Compat.php file was gone.. problem was relative easy to fix... For the server we will like soon upgrade to PHP 5.XX but as you probably can understand is we need to find the right time to do that.
I did corrected the problem already. For the earlier upgrades for other websites we went up to 1.5.2sr4 with upgraded overwriting older versions, only for major upgrades, 1.4 to 1.5, or now from 1.5 to 1.6 we do full "clean" upgrades in which we delete all files from Geeklog and upload the new version.
In this case the PHP/Compat.php file was gone.. problem was relative easy to fix... For the server we will like soon upgrade to PHP 5.XX but as you probably can understand is we need to find the right time to do that.
11
7
Quote
All times are EST. The time is now 01:36 pm.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content