Page 1 of 1

[Solved] Site is down - deprecated errors & can't login.

Posted: Tue Apr 28, 2015 1:05 am
by npessoa
I am seeing deprecation errors in the header of my site for some reason.

Please note, I'm not a dev; I hired someone to help with the site years ago. I have some front-end knowledge, but that's it. I will attempt to provide as much information as I can.

The site was running on (gasp) Caguas, which is an outdated version. It was badly in need of upgrading and a backup, but I'd been putting it off. I've lost touch with my original developer.

48 hours ago, the site was fine. Now, I'm seeing over a dozen errors like this:

Code: Select all

Deprecated: Assigning the return value of new by reference is deprecated in /home/npessoa/domains/domain.com/public_html/lib/classes/class.global.inc.php on line 196
I'm checking with my hosting company right now to see if they've made any changes to the server or safe_mode in PHP recently. (I did a search and found an old thread that pointed to this as a solution for a guy with a similar problem).

I know I need to upgrade the site (or start over?), but I'd really like to figure out if this is a system/server issue, or if I've been hacked.

I also can't login to the admin screen. My credentials no longer work.

Re: [Solved] Site is down - deprecated errors & can't login.

Posted: Tue Apr 28, 2015 1:29 am
by npessoa
Well, I was unable to get any replies here, but got lightning fast support from my hosting company (Medialayer).

This is what the guy sent back:

"Default PHP version for LiteSpeed (for .php suffix) on the server has been changed to 5.3.

I've added AddType application/x-httpd-php52 php for your website and it's loading fine now."


So if anyone else encounters this issue, it's likely that your PHP version was upgraded. He suggested I upgrade versions of the CMS as soon as possible because PHP 5.2 basically isn't being supported anymore, but at least this gives me a chance to get in and get all of my files before making a new site.

Re: [Solved] Site is down - deprecated errors & can't login.

Posted: Tue Apr 28, 2015 3:13 am
by calguy1000
See here: http://php.net/supported-versions.php

PHP 5.3 is no longer supported either.
PHP 5.4 security support runs out in like 4 months
PHP 5.5 Active support ends in 1 month. Security support for one more year.

Upgrade to PHP 5.5 or better.