switch from php 4 to 5 - how to get CMSMS working again?

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
becreative

switch from php 4 to 5 - how to get CMSMS working again?

Post by becreative »

Hi,

I have taken over management of a website which uses CMSMS version 0.12.

The web server this site is running on has recently switched to PHP 5 from PHP 4 which has stopped the website working.

If I download the latest version and follow the upgrade instructions at

http://wiki.cmsmadesimple.org/index.php ... /Upgrading

will the site then work with PHP 5?

I guess what I am asking is is the latest install of CMSMS written to work with PHP 5?

Thanks for your help.

Will
Pierre M.

Re: switch from php 4 to 5 - how to get CMSMS working again?

Post by Pierre M. »

Hello,

Disclaimer : I'm not a PHP guru. Backup is your friend.

Beware 0.12 is a VERY old version. May be you should upgrade step by step to all intermediate versions (0.13... 1.0.8...)
I don't think there is any PHP version issue here.

But as I may be wrong, you should backup files and database first.
Have fun

Pierre M.
reneh
Dev Team Member
Dev Team Member
Posts: 446
Joined: Tue Nov 28, 2006 8:39 pm

Re: switch from php 4 to 5 - how to get CMSMS working again?

Post by reneh »

CMSMS 1.1 works great on php 5. If the site not are working after the host changed from php4 to 5 I would guess its something else in the settings that is not good after the change.

I know others have upgraded 0.11.2 to 1.1 in one jump. But it have been big changes since then 0.11 was young and that is not recomended to do!
Best way is to do like this:
Take backup of database and all files. (And be sure they are ok)
Upgrade to 0.13 and open up the admin and do module upgrades etc. that is needed.
So after this upgrade to 1.1 and after upgrade add on modules etc.
Since this is a realy big jump - we cant guaranty that all functions are intact after the upgrade. If problems you can meet us in the CMSMS Forum....
ReneH 8-)
A search will save you hours waiting for an answer! Image
cmser

Re: switch from php 4 to 5 - how to get CMSMS working again?

Post by cmser »

I just upgraded from PHP 4 to 5 and also just upgraded from CMSMS 0.13 to 1.1 but now I cannot assign users to any groups.  After selecting the Group Name (for example Admin) I get the interface with no users to select.

Any suggestions?
Biggie_Boy

Re: switch from php 4 to 5 - how to get CMSMS working again?

Post by Biggie_Boy »

Hi!

I also have problem after upgrading....I have moved my CMS site and then upgraded to PHP5 from 4 and now I get a lot of empty pages some is working though. When I edit pages and try to preview them it doesnt work either....
cmser

Re: switch from php 4 to 5 - how to get CMSMS working again?

Post by cmser »

Biggie_Boy I had a similar problem with not being able to submit pages when editing and it was that I was using Archiver 0.1 and needed to upgrade to Archiver 0.2 but be careful if you upgrade the Archiver as it will delete all of your old Archived files.  Also the Archiver 0.2 file needs some editing so check these posts:

May need to download file to server as noted here:
http://forum.cmsmadesimple.org/index.ph ... 358.0.html

May need to augment file as noted here:
http://forum.cmsmadesimple.org/index.ph ... 518.0.html

Edit Archiver.module.php to be able to archive Global Content Blocks:
http://forum.cmsmadesimple.org/index.ph ... 097.0.html

I also found out that if a title is longer than 32 character spaces the file isn't archived.  Also the sorting by name, type, revision, and date in the Archive Manager Module isn't working either but I found a workaround so let me know if you want the info.

And if all that doesn't help do a couple of mysqldumps and see if the tables are not created or configured correctly.
Locked

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