Results 1 to 3 of 3
  1. #1
    Join Date
    Oct 2006
    Posts
    2
    Plugin Contributions
    0

    Default Admin login failure

    Greetings,

    I just installed ZenCart on my Windows PC so that I can work with it for awhile before installing it on a real website. I have my PC set up as a web server, so I can browse to localhost and view everything.

    After installation, I browsed to the zen-cart directory and the store came up. And when I browsed to the admin directory, the admin login page came up. But when I enter the (correct) admin ID and password, the browser thinks for a while, then I get a Windows error that tells me that Apache has encountered a problem and has to close.

    I've tracked the problem down to the following line in the admin/includes/header.php file:

    $lines = @file(NEW_VERSION_CHECKUP_URL);

    If I echo some text and exit just prior to this line, I'm fine; if I try to echo some text and exit just after it, the error occurs and the text is not displayed.

    I've browsed to the value of NEW_VERSION_CHECKUP_URL (http://ping.zen-cart.com/version_id.txt) directly, and the page is displayed immediately. So why can't the file be read into $lines?

    Any help would be greatly appreciated.

    Cheers,
    Riich

  2. #2
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: Admin login failure

    Your webserver service is apparently unable to connect properly to our version-notifier server.

    You can override that in two ways:

    1-during installation, on the Admin details screen, you were offered a checkbox in which to disable this automated checking (this is the same as the Admin->Configuration->My Store->Version Check option setting, but you can't access that if you can't login ... hence the option during installation).

    2-you can edit the /admin/includes/local/skip_version_check.ini file to turn off the version-checking
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  3. #3
    Join Date
    Oct 2006
    Posts
    2
    Plugin Contributions
    0

    Default Re: Admin login failure

    Quote Originally Posted by DrByte
    2-you can edit the /admin/includes/local/skip_version_check.ini file to turn off the version-checking
    Excellent, thank you!

    Rich

 

 

Similar Threads

  1. v151 Admin login failure notice
    By jimh3768 in forum General Questions
    Replies: 4
    Last Post: 13 Aug 2014, 01:55 PM
  2. login failure
    By hobbycombo in forum General Questions
    Replies: 1
    Last Post: 29 Jul 2009, 03:35 PM
  3. Admin Login/Logout Failure
    By maxqdesigns in forum Basic Configuration
    Replies: 1
    Last Post: 14 Apr 2009, 06:33 PM
  4. admin login failure
    By vynettesbassinette in forum General Questions
    Replies: 16
    Last Post: 7 Mar 2007, 11:11 PM

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