Page 1 of 1

PHP 5.4.19 breaks website

Posted: Mon Apr 07, 2014 1:20 pm
by burlington
Hello
Help please
I am in the process of arranging to upgrade a 1.6.6 site, http://www.u3a-llandrindod.org.uk to the latest CMSMS version. Mindful of Calguy's comment about his extensions not working with anything less than PHP 5.3, I asked the site's host to upgrade the PHP version to that. Instead, they went to 5.4.19 which has 'broken' the site as you can see from the screenshot below.
u3a.jpg
I have now asked the host to revert back to PHP 5.2. The site is still using 1.6.6

Can anyone give me some advice as to how to proceed, assuming that the host does revert the PHP version..

Thank you.

Martin

Re: PHP 5.4.19 breaks website

Posted: Mon Apr 07, 2014 2:33 pm
by zaidcrowe
I'd either set a local development environment up, or use a secondary server, that way the live site is unaffected.

If your on a mac check out mamp, and on windows take a look at wamp :)

You should be able to upgrade the site away from the public that way, and then upload the updated version when done.

Good luck!

Re: PHP 5.4.19 breaks website

Posted: Mon Apr 07, 2014 2:38 pm
by Jo Morg
Those warnings and notices can be safely ignored until the final update.
The production site should log php errors instead of displaying them.
However you should backup everything before any major change to a site, and either do the update 1st on a copy of the site on the same server, or do as suggested by zaidcrowe.

Re: PHP 5.4.19 breaks website

Posted: Mon Apr 07, 2014 2:39 pm
by zaidcrowe
ooo - I did'nt look at the screeny - but yes they are just warning, your host should be able to "turn these" of for you if you really want to go down that route :/