bonbonbon

Member
Apr 8, 2015
6
0
1
Poland
cPanel Access Level
Root Administrator
Hey,

Figured I'd ask here as well, as maybe someone had a similar problem.

I have transferred couple accounts yesterday. The transfer went without any errors or warnings, but after checking out whether the sites are working properly, some of them are not. There are a lot of script-related errors. It worked just fine on the other server. One of the "fixes", which isn't really a fix, was simply to hide the error reporting. It's not a fix that satisfies me.
An other fix was to turn on output buffering option in php.ini, but that didn't help either.

The php versions are the same, the sites in question use joomla or wordpress.

Sample of an error:
Strict Standards: Only variables should be assigned by reference in /home/dozymetr/public_html/plugins/content/mgthumbnails/mgthumbnails.php on line 256

I tried the various solutions on the net, but to no avail.

Any idea what might be the problem?
 

bonbonbon

Member
Apr 8, 2015
6
0
1
Poland
cPanel Access Level
Root Administrator
It might be PHP version after all. I checked it before on both servers and it was PHP 5.4 in the configuration.
I assumed both servers were running the same version, but it differs a bit. "Old" server runs PHP version 5.4.20, "new" server runs PHP version 5.4.39. I guess it's enough to break it?

The error reporting is nearly the same:
server old: error_reporting = E_ALL & ~E_NOTICE & ~E_DEPRECATED
server new: error_reporting = E_ALL & ~E_NOTICE & ~E_DEPRECATED & ~E_STRICT