Zen Cart Logo
Forums / Reports of Security Problems / Cannot login in to Admin, is it possible that login.php has been hacked?

Cannot login in to Admin, is it possible that login.php has been hacked?

Views: 13

Results 1 to 3 of 3
22 Aug 2012, 6:38 PM
#1
teknisult avatar

teknisult

New Zenner

Join Date:
Jul 2012
Posts:
13
Plugin Contributions:
0

Cannot login in to Admin, is it possible that login.php has been hacked?

All was fine last week and now when I try to login as Admin, this error is returned. It seems to accept the login/password, but it poops out here...

Warning: strtotime() [function.strtotime]: It is not safe to rely on the system's timezone settings. You are required to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/New_York' for 'EDT/-4.0/DST' instead in /home/thecube/public_html/zencart/MOEadmin/login.php on line 13

As I did not cahnge anything, could this be a hacked php file? If so, could there be others. Everything was working awesome before this.

Any ideas?

Thanks,
Maurice

23 Aug 2012, 5:27 AM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: Cannot login in to Admin, is it possible that login.php has been hacked?

If that's the only problem, then it's not a hack at all.

Sounds like your hosting company's PHP configuration has suddenly been changed and no longer has a date.timezone setting. Work with them to fix that, so that the server's master PHP configuration has date.timezone set properly on the server's master php.ini file.

23 Aug 2012, 1:58 PM
#3
teknisult avatar

teknisult

New Zenner

Join Date:
Jul 2012
Posts:
13
Plugin Contributions:
0

Re: Cannot login in to Admin, is it possible that login.php has been hacked?

Hiya Doc, Yes, I read that on another post, inquired with the host folks and they did make a change last week that caused the problem. All good now and thanks for the update. I will try harder to search other posts for answers before posting myself, I know you are all busy.

Thank you so much,
Maurice