Mobile app version of vmapp.org
Login or Join
Karen161

: Upgraded Linux, now CMS Made Simple is spewing errors I upgraded my host from Debian Lenny to Debian Squeeze, and now my CMS Made Simple site is spewing PHP errors all over the screen. I

@Karen161

Posted in: #Cms

I upgraded my host from Debian Lenny to Debian Squeeze, and now my CMS Made Simple site is spewing PHP errors all over the screen. I thought I'd upgrade the CMS because I haven't done so in a while, but Google Chrome tells me that the CMS Made Simple site is infested with malware.

What are my options now?

Example errors:

Deprecated: Assigning the return value of new by reference is deprecated in /www/danmurn/cms/include.php on line 73

Deprecated: Assigning the return value of new by reference is deprecated in /www/danmurn/cms/include.php on line 162

Deprecated: Assigning the return value of new by reference is deprecated in /www/danmurn/cms/include.php on line 240

Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /www/danmurn/cms/include.php:73) in /www/danmurn/cms/include.php on line 34

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /www/danmurn/cms/include.php:73) in /www/danmurn/cms/include.php on line 34

Deprecated: Function set_magic_quotes_runtime() is deprecated in /www/danmurn/cms/include.php on line 62

Deprecated: Assigning the return value of new by reference is deprecated in /www/danmurn/cms/lib/classes/class.global.inc.php on line 184

Deprecated: Assigning the return value of new by reference is deprecated in /www/danmurn/cms/lib/classes/class.global.inc.php on line 196

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Karen161

1 Comments

Sorted by latest first Latest Oldest Best

 

@Phylliss660

The version of the CMS you are running is not PHP5 compatible. Upgrading to the latest version should fix the problem, as I notice on the CMS Made Simple site they now require PHP 5.2 (which is good).

I'm not getting any malware errors from Chrome on their site, if it helps their downloads page is: www.cmsmadesimple.org/downloads/
As a very short term fix you could change your error_reporting value in php.ini to hide these errors, try something like:

error_reporting = E_ALL & ~E_DEPRECATED


should work but there may be other issues, you will need to upgrade ASAP.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme