E_DEPRECATED is enabled

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
KitchM
Power Poster
Power Poster
Posts: 328
Joined: Mon Dec 02, 2013 3:26 am

E_DEPRECATED is enabled

Post by KitchM »

I just was prompted to upgrade CMSMS on a couple domains. One went fine, but the other showed a test result that stated "E_DEPRECATED is enabled", and suggested that it be corrected before going on. Not only don't I know what it means, but there was no direction as to steps to take to correct it.

If it helps any, I'm using CMSMS 1.11.9 upgrade to 1.11.10 (Pinzon) on CentOS 6.5 and Virtualmin 4.05 Pro.

Thanks.
User avatar
velden
Dev Team Member
Dev Team Member
Posts: 3497
Joined: Mon Nov 28, 2011 9:29 am

Re: E_DEPRECATED is enabled

Post by velden »

E_DEPRECATED means that the PHP engine will show messages when somewhere in the php code deprecated functions are used.

Typically you don't want to bother your visitors with those annoying things.

It's not a CMSMS thing, it's a PHP thing.

Depending on your hosting setup those can (or can not) be disabled via
- control panel of hosting provider
- php.ini
- .htaccess (your favorite ;-)
- via php file (you could ad some extra line to config.php but I don't think that's recommended).

Google for 'htaccess e_deprecated'.
KitchM
Power Poster
Power Poster
Posts: 328
Joined: Mon Dec 02, 2013 3:26 am

Re: E_DEPRECATED is enabled

Post by KitchM »

Thanks. Good info.

Is there a way for CMSMS to stop using that part of the php code so that the problem does not come up? Especially since it is the only part bothered by that.

Thanks again.
Locked

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