Results 1 to 10 of 12

Hybrid View

  1. #1
    Join Date
    Sep 2008
    Posts
    6
    Plugin Contributions
    0

    application error YAALP - Yet another admin login problem

    I recently had an issue where I was unable to login to my production Zen Cart 1.3.7 installation. After trying several things I decided to try a fresh install on the same server. This did not help. Thanks in advance!

    Slack

    Here are the details:

    Problem
    When attempting to login via the admin/login.php page, the page appears to accept the valid login credentials and then the browser (IE 7) returns an error "Internet Explorer cannot display the webpage...". In addition it appears that new users can register, but they are unable to log in.

    I have worked through the following tutorials and have not found a resolution.
    https://www.zen-cart.com/tutorials/index.php?article=82
    https://www.zen-cart.com/tutorials/index.php?article=84
    https://www.zen-cart.com/tutorials/i...hp?article=281

    The current install was done from a 1.3.8a installation .zip downloaded today and using the zc_install folder. No issues were left identified during the installation. The only problems encountered during installation were the typical ones with file permissions.

    Environment
    Host: 247-host.com
    OS: Linux (kernal 2.6.9-67.ELsmp)
    PHP: 5.2.3
    Apache: 2.0.63
    MySQL: 4.1.22-standard

    Zen Cart configuration
    Zen Cart URL: http://www.pillarcom.com/zen
    SSL: off
    admin user: kilgore
    admin pass: admin (test system, no worries)
    user: [email protected]
    user pass: password (test system, no worries)
    Admin URL: http://www.pillarcom.com/zen/admin/login.php
    config files: see attached or
    http://www.pillarcom.com/zen/includes/configure.html
    http://www.pillarcom.com/zen/admin/i...configure.html
    phpinfo: http://www.pillarcom.com/zen/phpinfo.php
    cache folder: world read,write,execute - able (777)
    Attached Files Attached Files

  2. #2
    Join Date
    Oct 2006
    Location
    Alberta, Canada
    Posts
    4,571
    Plugin Contributions
    1

    Default Re: YAALP - Yet another admin login problem

    After admin login one gets a blank page. This indicates to me there were some problems with uploading files within the admin dir. Upload just the admin dir. again and see what happens.

    And welcome to the forum.

  3. #3
    Join Date
    Sep 2008
    Posts
    6
    Plugin Contributions
    0

    Default Re: YAALP - Yet another admin login problem

    Website Rob,

    Thanks for the welcome. After your message I did the following:

    1. Re-downloaded 1.3.8 installation .zip
    2. did a Windows "comp" that verified the files were the same
    3. Re-uploaded it to my host
    4. Did a GNU/Linux "diff" to verify that the files were the same
    5. Extracted the .zip and copied the admin directory structure into my Zen folder
    6. Attempted to login

    Same results.

  4. #4
    Join Date
    Apr 2006
    Posts
    413
    Plugin Contributions
    0

    Default Re: YAALP - Yet another admin login problem

    Could it be a directory, file ownership issue?

  5. #5
    Join Date
    Sep 2008
    Posts
    6
    Plugin Contributions
    0

    Default Re: YAALP - Yet another admin login problem

    It could be, but all files are owned by my user and are generally world readable/executable, except for the cache which is world readable/writeable/executable. No issues noted by the installer.

    Do you have some specific suggestions?

    Thanks,

    Slack

  6. #6
    Join Date
    Apr 2006
    Posts
    413
    Plugin Contributions
    0

    Default Re: YAALP - Yet another admin login problem

    If you uploaded your files and directories using anyone other than the user (say as superuser root or whatever by using sftp) then the ownership would be that. This would cause that type of error I think. If you did that then you could just use SSH and the chown command.

  7. #7
    Join Date
    Sep 2008
    Posts
    6
    Plugin Contributions
    0

    Default Re: YAALP - Yet another admin login problem

    I found my issue. In admin/includes/header.php there is the following:

    PHP Code:
    $lines = @file(NEW_VERSION_CHECKUP_URL); 
    For some reason this is hanging or crashing on my server. I did some testing and for a few minutes it was working when attempting to retrieve a local URL, but even that went away. I am checking with my webhost, but I am not holding my breath.

    This is part of a Zen-Cart version check when you log in as an admin. Inititally I commented out this line and that solved my immediate issue. I later changed the following in the "configuration" table as it appears to be a better solution:
    SHOW_VERSION_UPDATE_IN_HEADER - false

    This can also be changed via the admin login
    • Configuration->My Store->Show if version update available

    but if you can't login, then you can't change this :-) It was probably possible to go directly to the URL though I didn't know until after I was done:
    • http://yourhost.tld/admin/configuration.php?gID=1


    Hope this helps someone else.

  8. #8
    Join Date
    Oct 2006
    Location
    Alberta, Canada
    Posts
    4,571
    Plugin Contributions
    1

    Default Re: YAALP - Yet another admin login problem

    Nice bit of troubleshooting.

    Glad to hear things are sorted now and you can move forward on the rest that has to be done.

  9. #9
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: YAALP - Yet another admin login problem

    This FAQ outlines what to do when your host's configuration won't let Zen Cart check for version updates:
    https://www.zen-cart.com/tutorials/index.php?article=81
    .

    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.

 

 

Similar Threads

  1. v150 another admin login problem
    By sadie in forum Upgrading to 1.5.x
    Replies: 3
    Last Post: 6 May 2012, 01:30 AM
  2. Yet another problem with admin folder change
    By Number3 in forum Basic Configuration
    Replies: 4
    Last Post: 22 Dec 2010, 10:06 AM
  3. Another Admin Login problem
    By TheHYPO in forum Installing on a Linux/Unix Server
    Replies: 45
    Last Post: 18 Jan 2010, 05:33 AM
  4. Another admin login problem
    By napalm in forum Installing on a Windows Server
    Replies: 2
    Last Post: 3 Mar 2007, 05:41 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