Page 1 of 1

Php versions and deprecated errors confirmation

Posted: Tue Sep 27, 2011 8:43 am
by prop
Hi, I am new to CMSms and a client of mine would like me to move their cmsms 1.4.1 web site from an overseas (old) host to a new host (new). I understand that the version is old and part of my objective is to upgrade to the latest version and host the site in the country of origin.

I have moved the site to the new host but I am getting deprecated errors when I go to preview the site through the new hosts admin panel. After reading through the forums and support post I have concluded that the errors are originating from incompatible Php, Mysql and cmsms 1.4.1 versions.

The new host is running PhpMyAdmin version 2.6.4 and Mysql version 5.0.90.

The old host is running PhpMyAdmin version 2.11.9.6 and Mysql version 5.1.50.

I loaded the site on my local PC and everything is running fine and I am running PhpMyAdmin version 3.3.92 and Mysql version 5.5.9.

Can anyone confirm that the new hosts versions of Php and Mysql are causing the deprecated errors and is there any way of getting around them. Am I also right in assuming that the new host will not be able to run CMSms v1.9.4+ as it requires Mysql 5.2.x.

Attached are the errors.

Many thanks :: prop

Re: Php versions and deprecated errors confirmation

Posted: Wed Sep 28, 2011 7:01 am
by fredp
prop wrote:...
Can anyone confirm that the new hosts versions of Php and Mysql are causing the deprecated errors and is there any way of getting around them. Am I also right in assuming that the new host will not be able to run CMSms v1.9.4+ as it requires Mysql 5.2.x.
Hi,
I think there is some confusion here. First, PHP is different than phpMyAdmin. So, what version of PHP are your sites running? Check your sites' Site Admin ยป System Information admin page for version information.

Second, where did you get the MySQL 5.2.x requirement? I don't believe this is correct. The doc/INSTALL.txt file from CMSMS 1.9.4.3 states:

Code: Select all

Requirements:
    PHP 5.2.4+ 
    MySQL
...
I'm running CMSMS 1.9.4.3 with MySQL 5.1.x and have no problems. I've seen others post that they're using MySQL 5.0.91 with 1.9.4+.
prop wrote:Attached are the errors.
From these errors, I'm guessing that your new host is running PHP 5.3+, which added new E_DEPRECATED messages. PHP 5.3.x works fine with newer versions of CMSMS, you just need to disable the E_DEPRECATED messages via PHP's error_reporting configuration option. Details of how to do this recently appeared in the forum, so I won't repeat those here. PM me if you can't find them.

Hope this helps,
Fred P.

Re: Php versions and deprecated errors confirmation

Posted: Wed Sep 28, 2011 11:20 pm
by prop
Thanks for the info. I have re checked the php and mysql versions and they are as follows on the new host:

Php : 5.3.5
Mysql : 5.0

I am about to have another go at it and see how I go. I have also checked the deprecated errors post and will implement the recommendations if I keep getting the errors. Many thanks, will update here. prop