You *may* have some corrupted file(s) in your admin folder
Make sure that your admin/includes/configure.php file is read only (that ensures that this file is not overwritten by subsequent uploads).
Then re-upload your admin files from the distribution fileset to your renamed admin folder. If you had any corrupted files, they should be overwritten by clean files.
Try and log into your admin, it should work.
The error logs were relocated with ZenCart V1.5.x into the new /logs/ folder.
This is a bit of a mystery. The zen_validate_password function is in the file /newadmin/includes/functions/password_funcs.php (Same folder as the admin_access.php code) and as a general rule, if one exists and is readable, so is the other. In theory, this error should never exist unless the password_funcs.php is missing, corrupted or has had its permissions changed.
That'll be the 1st place I'd start to look.
Cheers
Rod
Last edited by RodG; 3 Dec 2013 at 12:46 PM.
FWIW, this isn't indicative of any errors (that I can see). This is a SESSION file that was created during the install process. This file will automatically disappear in due course.
Never delete these SESSION files manually unless you know you have a real need to do so. It ca have a detrimental effect on people using your store.
Cheers
RodG
There is no password_funcs.php file in the /newadmin/includes/functions/.... however I re-upload a fresh file of admin_access.php in the /newadmin/includes/functions/..... and still not working ! everytime I try to login I get the ( The website cannot display the page ! ) page !!!!
Oooerrr. I don't think this is a problem of your doing. This file (password_funcs.php) appears to be missing from the ZenCart V1.5.1 installation files.
I've attached a zipped copy of the file to this message (hopefully).
Unzip it and place place the .php file into the /newadmin/includes/functions/ folder.
Please let us know how it goes.
IMPORTANT: I'm not one of the ZenCart dev team. They *may* have removed this file for some reason that I'm not aware of. Until/unless they say otherwise (and assuming that this solves your problem) it should not be considered a 'proper' solution.
Cheers
Rod
Nop, That didn't help too ! still the same problem !
Just for update I'm still having this error in the log folder :
[03-Dec-2013 06:08:51] PHP Fatal error: Call to undefined function zen_validate_password() in /home1/arabbro1/public_html/newadmin/includes/functions/admin_access.php on line 297
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
- /includes/functions/password_funcs.php
- /admin/auto_loaders/config.core.php
- /admin/init_includes/init_errors.php
Bookmarks