[solved] Problems after upgrade to php 5.3

Help with getting the CMS CORE package up and running. This does not include 3rd party modules, PHP scripts, anything downloaded via module manager or from any external source.
Locked
mmazurek

[solved] Problems after upgrade to php 5.3

Post by mmazurek »

I upgraded debian server from lenny to squeeze and installed php 5.3. My CMSMS installation (1.4.1) continued to work (front pages) except admin section where I have numerous problems.

a) Content->pages wont load (totally blank page)
b) number of pages aren't fully loaded (e.g. only 1 out of 4 users is listed and page doesn't display footer).

Apache logs are full of messages like:

PHP Fatal error: Class 'xajax' not found in /var/www/admin/listcontent.php on line 37, referer: http://www.gkpz.hr/admin/imagefiles.php?sp_=6b49e703

PHP Fatal error: Call to undefined function cms_html_entity_decode_utf8() in /var/www/admin/listusers.php on line 187, referer: http://www.gkpz.hr/admin/moduleinterfac ... emeManager

PHP Fatal error: Call to undefined function testConfig() in /var/www/admin/systeminfo.php on line 107, referer: http://www.gkpz.hr/admin/pagedefaults.php?sp_=1eb8b97a

and so on.

I upgraded step by step to CMSMS 1.9 (1.4.1-1.5-1.6-1.7-1.8-1.9) but nothing changed. I tried to upgrade to 1.10 in same manner but when started localhost/install/upgrade.php got blank page.
Last edited by mmazurek on Thu Mar 15, 2012 9:53 am, edited 1 time in total.
mmazurek

Re: Problems after upgrade to php 5.3 - UPDATE

Post by mmazurek »

As I was searching for solution I have done something stupid so I lost frontend of site. Restored 1.4.1 from backup and frontend is working fine again.

In backend (admin panel) I have two things not working:

a) Content -> pages - blank page
b) sytem information - just admin menu and blank page without footer.

In logs:

PHP Stack trace:, referer: http://www.gkpz.hr/admin/moduleinterfac ... le=TinyMCE

PHP 1. {main}() /var/www/admin/listcontent.php:0, referer: http://www.gkpz.hr/admin/moduleinterfac ... le=TinyMCE

PHP Fatal error: Class 'xajax' not found in /var/www/admin/listcontent.php on line 32, referer: http://www.gkpz.hr/admin/listtemplates.php

PHP Stack trace:, referer: http://www.gkpz.hr/admin/listtemplates.php

PHP 1. {main}() /var/www/admin/listcontent.php:0, referer: http://www.gkpz.hr/admin/listtemplates.php

PHP Fatal error: Call to undefined function testConfig() in /var/www/admin/systeminfo.php on line 87, referer: http://www.gkpz.hr/admin/moduleinterfac ... uleManager

PHP Stack trace:, referer: http://www.gkpz.hr/admin/moduleinterfac ... uleManager

PHP 1. {main}() /var/www/admin/systeminfo.php:0, referer: http://www.gkpz.hr/admin/moduleinterfac ... uleManager

Everything else seems to be working fine. Site verification via checksum shows that all files are OK.
mmazurek

Re: Problems after upgrade to php 5.3

Post by mmazurek »

Sorry because I'm replaying to myself but I found some new facts.

I installed 1.10.3 to same server in new directory and got same problems as with my old 1.4.1. Installation went fine (no warrnings) but after that I cannot open Content->Pages and System information contains only menu with blank page and no footer.

It's obvious that some settings on my server is blocking this two pages. Any ideas?

Server is
Apache/2.2.16 (Debian) PHP/5.3.3-7+squeeze8 with Suhosin-Patch mod_ssl/2.2.16 OpenSSL/0.9.8o

PHP Fatal error: Class 'xajax' not found in /var/nwww/admin/listcontent.php on line 35, referer: http://nwww.gkpz.hr/admin/index.php?_sx_=84edc9e2

PHP Stack trace:, referer: http://nwww.gkpz.hr/admin/index.php?_sx_=84edc9e2

PHP 1. {main}() /var/nwww/admin/listcontent.php:0, referer: http://nwww.gkpz.hr/admin/index.php?_sx_=84edc9e2

PHP Fatal error: Call to undefined function testConfig() in /var/nwww/admin/systeminfo.php on line 107, referer: http://nwww.gkpz.hr/admin/index.php?_sx_=84edc9e2

PHP Stack trace:, referer: http://nwww.gkpz.hr/admin/index.php?_sx_=84edc9e2

PHP 1. {main}() /var/nwww/admin/systeminfo.php:0, referer: http://nwww.gkpz.hr/admin/index.php?_sx_=84edc9e2
mmazurek

Re: [solved] Problems after upgrade to php 5.3

Post by mmazurek »

Sorry, I'm again answering to myself. Problem was in php5 apc.ini settings. Some setting in that file caused all my problems. I commented everything in it and now problems disappear.
uniqu3

Re: [solved] Problems after upgrade to php 5.3

Post by uniqu3 »

Great that you could help yourself :)
Locked

Return to “[locked] Installation, Setup and Upgrade”