Page 1 of 1

Broken Modules page after upgrading PHP to 5.4.34

Posted: Sat Dec 06, 2014 4:53 pm
by mainenotarynet
Greetings all;

I have 3 sites running CMSMS 1.11.11 (main site worked fine on 5.3.3) but 2 sites were on CMSMS 1.11.4 and were throwing massive php errors so I upgraded both last night to 1.11.11, but when I did and tried to upgrade modules I kept throwing CGExtensions error and then anything that used it could not upgrade either.

I found out after Googling that CG stuff now needs PHP 5.4+ so I tried to upgrade myself and hosed my system completely. So I had my VPS provider load it correctly and now when I try to upgrade modules through the module manager I get a blank page (* to note -- before I had my provider fix PHP to 5.4.34

I disabled CGExtensions on one site in the Extensions->Modules tab, now that is blank on that site and I can't get it back either)

I tried to delete the folder via SSH from /var/www/public_html/modules and download directly from the forge to no avail. Nothing I try seems to fix the issue with blank Modules page (on one site) or the module manage (on all three sites) when trying to upgrade modules.

I had been a user here since 2010 but somehow my username got deleted so I just reregistered. I have been using CMSMS for years with no issues, but now I don't know how to fix the blank pages.

P.S. Front end shows pages fine -- unless one of the pages or templates uses tags that can't upgrade - a simple edit of those tags (commenting them out temporarily) does the trick there.

Any help is much appreciated
Kevin M Carman
mainenotarynet

Re: Broken Modules page after upgrading PHP to 5.4.34

Posted: Sat Dec 06, 2014 6:39 pm
by Jo Morg
IMO you should recover the site from a backup, then clean CMSMS cache, then upgrade modules, and finally upgrade CMSMS.
After upgrading, check to see if there any modules left that may need further upgrading, upgrade them if needed and clear CMSMS cache again.

In any case posting your system info is required, as there might be stale modules and we cannot guess which modules and modules versions you are using.

http://docs.cmsmadesimple.org/upgrading ... nformation
http://docs.cmsmadesimple.org/upgrading/old-versions
http://docs.cmsmadesimple.org/troubleshooting/tips

Re: Broken Modules page after upgrading PHP to 5.4.34

Posted: Sat Dec 06, 2014 8:49 pm
by mainenotarynet
I don't have backups to go back to. As I said I have been using for years and no problems, so I never made any, but since everything is essentially in MySQL tables ant THEY are OK - the data was never the issue, a backup would serve no purpose.

I think you missed the part that these issues occurred when the modules CGExtensions COULD NOT BE upgraded until I upgraded the PHP to 5.4.34 but that should not have affected the Modules page OR the ability to upgrade through module manager (which goes blank no matter which module is being upgraded.

So are you saying to download CMSMS 1.11.11 again and rerun the upgrade process and see what that accomplishes? And if that doesn't work, then what?

Re: Broken Modules page after upgrading PHP to 5.4.34

Posted: Mon Dec 08, 2014 9:36 am
by velden
I don't have backups to go back to. As I said I have been using for years and no problems, so I never made any, but since everything is essentially in MySQL tables ant THEY are OK - the data was never the issue, a backup would serve no purpose.
The worst argument I've ever heard to not have a backup plan! That while your post and the answer of JoMorg tells you you should have had one.

Blank pages are usually caused by php errors which you should be able to see in the error log of the web server. Those logs might point you/us in the right direction.