Results 1 to 5 of 5
  1. #1
    Join Date
    Feb 2012
    Posts
    3
    Plugin Contributions
    0

    Default Another "Unable to Login to Admin" Issue

    Brand new user here with a completely virgin install of V1.5.0 (via Softaculous for convenience). And yes, I've spent 3 hours scouring these fora but still unable to solve the problem. However, I may have a twist which I did not see covered.

    To start, the installation went without error and the "default" storefront seems to operate properly. I can create an account in the storefront, logoff, login in again, and the account info is in there. I can even use the Contact Me email to send a message to the administrator email.

    However, going into the admin area and entering the proper username and password I get a blank screen. The db seems ok because it accepts the name/pw and stores a cookie with a session ID in my Firefox. But no error messages; nothing but a blank screen.

    However, the twist is the URL of that blank screen is "http://persianriches.com/zencart/zcadmin/login.php?camefrom=index.php" which, along with the cookie, leads me to believe the login was accepted and control sent to index.php. There, something is messed up and it went back to login.

    If I click on Forgot Password, it does the same blank screen but with the URL: "http://persianriches.com/zencart/zcadmin/password_forgotten.php?action=update" No email is sent.

    No changes have been made to any of the file, including configuration files. The problem occurs in both Firefox and IE. So things like the database, email, cookies, seem to be working ok.

    Any suggestions (or questions)? And thanks very much in advance.

  2. #2
    Join Date
    Jan 2004
    Posts
    66,450
    Plugin Contributions
    81

    Default Re: Another "Unable to Login to Admin" Issue

    Troubleshooting of Blank Page symptoms: https://www.zen-cart.com/tutorials/index.php?article=82
    .
    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
    Feb 2012
    Posts
    3
    Plugin Contributions
    0

    Default Re: Another "Unable to Login to Admin" Issue

    Quote Originally Posted by DrByte View Post
    Troubleshooting of Blank Page symptoms: https://www.zen-cart.com/tutorials/index.php?article=82
    Hooray! Now we are getting somewhere.

    Thanks, Doc, that's one page I never came across. I think because I was concentrating on login blank pages, not blank pages in general.

    Anyway, I also was unaware of log files in the cache file. Whodatunk? So now we at least have an error message:
    [23-Feb-2012 11:24:31] PHP Fatal error: Call to undefined function: json_encode() in /home/egypt5/public_html/persianriches/zencart/zcadmin/includes/init_includes/init_admin_history.php on line 34

    But I have no idea where to look for that function, at least to see if it exists. So if someone can tell me where it should exist I can hunt it down as the next step.

    Thank you!!!

    UPDATE: I found this thread and thus will check with my host as to the status of PHP (although they show they are running version 5.2.17). Stand by!
    Last edited by Kairho; 23 Feb 2012 at 10:19 PM.

  4. #4
    Join Date
    May 2010
    Location
    WA State
    Posts
    1,678
    Plugin Contributions
    3

    Default Re: Another "Unable to Login to Admin" Issue

    UPDATE: I found this thread and thus will check with my host as to the status of PHP (although they show they are running version 5.2.17). Stand by!
    JSON is actually an add-on, so the PHP version isn't the issue. Might be that JSON isn't enabled.
    Last edited by RescoCCC; 24 Feb 2012 at 01:20 AM.

  5. #5
    Join Date
    Feb 2012
    Posts
    3
    Plugin Contributions
    0

    Default Re: Another "Unable to Login to Admin" Issue

    Quote Originally Posted by Kairho View Post
    UPDATE: I found this thread and thus will check with my host as to the status of PHP (although they show they are running version 5.2.17). Stand by!
    Problem solved! Thanks to a quick response by LunarPages Support. In my control panel is a PHP Configuration page and the first item thereon is "The ".php" file extension will be processed by ##########" It just had to be switched from System Default (which is PHP4) to PHP5.

    Really simple. Suggestion to install documentarians: mention this!


    Thanks again, Doc, for the pointer which would lead to resolution.

 

 

Similar Threads

  1. v139h Admin Login issue "You entered the wrong username or password."
    By Painted Hills NB in forum General Questions
    Replies: 10
    Last Post: 14 May 2013, 12:13 AM
  2. Replies: 3
    Last Post: 22 Sep 2012, 02:33 PM
  3. Another "Can't access admin" thread!
    By LoonyBalloony in forum Installing on a Linux/Unix Server
    Replies: 2
    Last Post: 27 Oct 2011, 12:15 PM
  4. Another "can't login to admin" question
    By Ken Joy in forum Basic Configuration
    Replies: 0
    Last Post: 16 Dec 2010, 04:25 AM
  5. "Select State/Province" on Login Page Issue
    By lucky-nz in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 22 Feb 2010, 12:14 AM

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