Php versions and deprecated errors confirmation

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
prop
New Member
New Member
Posts: 2
Joined: Mon Sep 26, 2011 11:34 pm

Php versions and deprecated errors confirmation

Post 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
Attachments

[The extension txt has been deactivated and can no longer be displayed.]

fredp
Forum Members
Forum Members
Posts: 218
Joined: Sun Jul 27, 2008 1:36 am

Re: Php versions and deprecated errors confirmation

Post 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.
Nearly all men can stand adversity, but if you want to test a man's character, give him power.
- Abraham Lincoln
prop
New Member
New Member
Posts: 2
Joined: Mon Sep 26, 2011 11:34 pm

Re: Php versions and deprecated errors confirmation

Post 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
Locked

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