Page 3 of 4 FirstFirst 1234 LastLast
Results 21 to 30 of 31
  1. #21
    Join Date
    Nov 2007
    Posts
    433
    Plugin Contributions
    1

    Default Re: Admin Not WOrking ???

    Quote Originally Posted by lat9 View Post
    The function zen_validate_password exists (as a common store-front/admin file) in /includes/functions/password_funcs.php. That file, in the Zen Cart v1.5.1 admin, is loaded by /admin/init_includes/init_errors.php, which is loaded by the admin auto_loader config.core.php at checkpoint 140.

    I would check that the following files exist and are unmodified from the v1.5.1 distribution
    1. /includes/functions/password_funcs.php
    2. /admin/auto_loaders/config.core.php
    3. /admin/init_includes/init_errors.php
    Those two directories don't exist :
    /admin/auto_loaders/config.core.php
    /admin/init_includes/init_errors.php
    The first one is already there !

  2. #22
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,492
    Plugin Contributions
    88

    Default Re: Admin Not WOrking ???

    Oops! Should have been /admin/includes/auto_loaders/config.core.php and /admin/includes/init_includes/init_errors.php!
    Last edited by lat9; 3 Dec 2013 at 02:47 PM. Reason: Oops

  3. #23
    Join Date
    Nov 2007
    Posts
    433
    Plugin Contributions
    1

    Default Re: Admin Not WOrking ???

    Quote Originally Posted by lat9 View Post
    Oops! Should have been /admin/includes/auto_loaders/config.core.php and /admin/includes/init_includes/init_errors.php!
    Yah, They are all in, So I think that was not the issue !

  4. #24
    Join Date
    Nov 2007
    Posts
    433
    Plugin Contributions
    1

    Default Re: Admin Not WOrking ???

    Name:  Untitled.jpg
Views: 77
Size:  20.9 KB
    Is that normal ?

  5. #25
    Join Date
    Nov 2007
    Posts
    433
    Plugin Contributions
    1

    Default Re: Admin Not WOrking ???

    Quote Originally Posted by konzo View Post
    You were on the money there. Fixed :-)
    How did you fix it ? please post it here!

  6. #26
    Join Date
    Nov 2007
    Posts
    433
    Plugin Contributions
    1

    Default Re: Admin Not WOrking ???

    Guys, Is there any solution to fix the layout of the admin's homepage layout ?

  7. #27
    Join Date
    Jul 2012
    Posts
    16,734
    Plugin Contributions
    17

    Default Re: Admin Not WOrking ???

    Quote Originally Posted by alhakeem2001 View Post
    Guys, Is there any solution to fix the layout of the admin's homepage layout ?
    My thought is that the css file on the admin side is not loading properly (not present, corrupt, misnamed, prevented by htaccess for the admin directory, etc...)
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  8. #28
    Join Date
    Nov 2007
    Posts
    433
    Plugin Contributions
    1

    Default Re: Admin Not WOrking ???

    OK, I tried to fix the problem with the admin layout but it ends that have to re-install my zencart once again and now I'm having the same paroblem again with the blank page after login with the temporary password ! and this is the error's log that I get :
    PHP Fatal error: Call to undefined function zen_validate_password() in /home1/arabbro1/public_html/newadmin/includes/functions/admin_access.php on line 297
    and thats a copy of the code from the admin_access.php from 297-300 lines :

    290 // reset the reset_token field to blank, since token has expired
    291 $sql = "update " . TABLE_ADMIN . " set reset_token = '' where admin_name = :adminname: ";
    292 $sql = $db->bindVars($sql, ':adminname:', $admin_name, 'string');
    293 $db->Execute($sql);
    294 $expired = false;
    295 } else
    296 {
    297 if (! zen_validate_password($admin_pass, $token))
    298 {
    299 $error = true;
    300 $message = ERROR_WRONG_LOGIN;

  9. #29
    Join Date
    Feb 2012
    Location
    mostly harmless
    Posts
    1,809
    Plugin Contributions
    8

    Default Re: Admin Not WOrking ???

    Are you installing using zc_install or a script from a hosting provider? If you are downloading from here and using zc_install... What tool are you using to upload the files? Was this an upgrade?

    From what you are describing not all files may be properly uploaded (or mixed versions present)... Another possibility is old config files (not a clean install)... Just a couple things you may want to check...

  10. #30
    Join Date
    Nov 2007
    Posts
    433
    Plugin Contributions
    1

    Default Re: Admin Not WOrking ???

    Quote Originally Posted by lhungil View Post
    Are you installing using zc_install or a script from a hosting provider? No, I downloaded the whole script from zencart.com .. If you are downloading from here and using zc_install... What tool are you using to upload the files? FileZilla .. Was this an upgrade? NO
    From what you are describing not all files may be properly uploaded (or mixed versions present)... Another possibility is old config files (not a clean install) It's true, every time I get a blank page I start a new install over the old files ( not a fresh install ) ... Just a couple things you may want to check...
    So what do you suggest now ?

 

 
Page 3 of 4 FirstFirst 1234 LastLast

Similar Threads

  1. v150 Admin Log In Not Working, User Log In Not Working All of a Sudden
    By SpydSpyder in forum General Questions
    Replies: 7
    Last Post: 15 Oct 2012, 05:34 AM
  2. Replies: 7
    Last Post: 19 Jul 2011, 03:36 AM
  3. my admin is not working
    By alexdog1805 in forum Basic Configuration
    Replies: 9
    Last Post: 30 Sep 2010, 04:07 PM
  4. Admin not working
    By englishdav in forum General Questions
    Replies: 3
    Last Post: 27 Apr 2010, 04:59 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