Zen Cart Logo
Forums / General Questions / Admin Not WOrking ???

Admin Not WOrking ???

Views: 2,897

Results 1 to 20 of 31
4 Nov 2013, 2:52 AM
#1
konzo avatar

konzo

New Zenner

Join Date:
Jan 2012
Posts:
24
Plugin Contributions:
0

Admin Not WOrking ???

So I have installed Zencart, but when I login to admin section, it always opens like this (in firefox and explorer) and I cannot do anything more. Can anyone help?

Attachment 13292

4 Nov 2013, 3:03 AM
#2
konzo avatar

konzo

New Zenner

Join Date:
Jan 2012
Posts:
24
Plugin Contributions:
0

Re: Admin Not WOrking ???

Well I can actually do things with the site, it's just the format (appearance) of the page. Do I need to install a plug in or something?

4 Nov 2013, 5:02 AM
#3
lhungil avatar

lhungil

Totally Zenned

Join Date:
Feb 2012
Location:
mostly harmless
Posts:
1,818
Plugin Contributions:
4

Re: Admin Not WOrking ???

Probably need to fix one of the settings in the admin "configure.php". That or you may be missing some required files which are part of Zen Cart (and are all found in the distribution zip file).

4 Nov 2013, 5:53 AM
#4
konzo avatar

konzo

New Zenner

Join Date:
Jan 2012
Posts:
24
Plugin Contributions:
0

Re: Admin Not WOrking ???

You were on the money there. Fixed :-)

1 Dec 2013, 2:44 AM
#5
genus2 avatar

genus2

New Zenner

Join Date:
Nov 2013
Location:
United States
Posts:
8
Plugin Contributions:
0

Re: Admin Not WOrking ???

what did you change to fix it. please post

1 Dec 2013, 7:17 PM
#6
alhakeem2001 avatar

alhakeem2001

Zen Follower

Join Date:
Nov 2007
Posts:
434
Plugin Contributions:
1

Re: Admin Not WOrking ???

Guys, I have also a problem with my admin page, After installing a fresh new Zencart V. 1.5.1, I had to change my admin folder to something different, when tried to log-in to my admin I got a blank page ! I checked my cache folder for any errors, there was only one file with this error logs:
installerConfigKeys|a:1:{s:8:"language";s:7:"english";}logfilename|s:27:"Dec-01-2013_07-38-47-GUOyBZ";installerConfigInfo|a:0:{}
which it didn't help that much ! Please help...:(

2 Dec 2013, 5:59 PM
#7
alhakeem2001 avatar

alhakeem2001

Zen Follower

Join Date:
Nov 2007
Posts:
434
Plugin Contributions:
1

Re: Admin Not WOrking ???

alhakeem2001:

Guys, I have also a problem with my admin page, After installing a fresh new Zencart V. 1.5.1, I had to change my admin folder to something different, when tried to log-in to my admin I got a blank page ! I checked my cache folder for any errors, there was only one file with this error logs:
installerConfigKeys|a:1:{s:8:"language";s:7:"english";}logfilename|s:27:"Dec-01-2013_07-38-47-GUOyBZ";installerConfigInfo|a:0:{}
which it didn't help that much ! Please help...:(

I forgot to say that I get that blank page only after I login into my admin account ! Still need help :shocking:

2 Dec 2013, 9:48 PM
#8
countrycharm avatar

countrycharm

Totally Zenned

Join Date:
Jul 2007
Posts:
2,179
Plugin Contributions:
2

Re: Admin Not WOrking ???

alhakeem2001:

I forgot to say that I get that blank page only after I login into my admin account ! Still need help :shocking:

Look into your log files and see what that tell you. Open ftp and wherever your zen cart is installed look for the logs files and post the error message.

2 Dec 2013, 11:02 PM
#9
alhakeem2001 avatar

alhakeem2001

Zen Follower

Join Date:
Nov 2007
Posts:
434
Plugin Contributions:
1

Re: Admin Not WOrking ???

countrycharm:

Look into your log files and see what that tell you. Open ftp and wherever your zen cart is installed look for the logs files and post the error message.

I already did that , check my first post please !

3 Dec 2013, 2:17 AM
#10
countrycharm avatar

countrycharm

Totally Zenned

Join Date:
Jul 2007
Posts:
2,179
Plugin Contributions:
2

Re: Admin Not WOrking ???

alhakeem2001:

Guys, I have also a problem with my admin page, After installing a fresh new Zencart V. 1.5.1, I had to change my admin folder to something different, when tried to log-in to my admin I got a blank page ! I checked my cache folder for any errors, there was only one file with this error logs:
installerConfigKeys|a:1:{s:8:"language";s:7:"english";}logfilename|s:27:"Dec-01-2013_07-38-47-GUOyBZ";installerConfigInfo|a:0:{}
which it didn't help that much ! Please help...:(

What zen cart template are you using? The error means that you have made a mistake in editing the header.php file. Re-uploading the header.php file from the template package and trying your edits again, one at a time being careful to check the site for problems.

3 Dec 2013, 2:20 AM
#11
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Location:
Australia
Posts:
6,263
Plugin Contributions:
4

Re: Admin Not WOrking ???

alhakeem2001:

I already did that , check my first post please !
That post states that you checked the logs in the cache folder. What about the logs in the logs folder?

3 Dec 2013, 10:45 AM
#12
alhakeem2001 avatar

alhakeem2001

Zen Follower

Join Date:
Nov 2007
Posts:
434
Plugin Contributions:
1

Re: Admin Not WOrking ???

RodG:

That post states that you checked the logs in the cache folder. What about the logs in the logs folder?

why we have two locations to check errors ? any way that's my logs from yesterday :

[02-Dec-2013 09:44:49] PHP Fatal error: Call to undefined function zen_validate_password() in /home1/arabbro1/public_html/newadmin/includes/functions/admin_access.php on line 297

3 Dec 2013, 10:55 AM
#13
frank18 avatar

frank18

Deceased

Join Date:
Nov 2007
Location:
Sunny Coast, Australia
Posts:
3,427
Plugin Contributions:
2

Re: Admin Not WOrking ???

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.

3 Dec 2013, 11:40 AM
#14
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Location:
Australia
Posts:
6,263
Plugin Contributions:
4

Re: Admin Not WOrking ???

alhakeem2001:

why we have two locations to check errors ?

The error logs were relocated with ZenCart V1.5.x into the new /logs/ folder.

alhakeem2001:

[02-Dec-2013 09:44:49] PHP Fatal error: Call to undefined function zen_validate_password() in /home1/arabbro1/public_html/newadmin/includes/functions/admin_access.php on line 297

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

3 Dec 2013, 11:46 AM
#15
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Location:
Australia
Posts:
6,263
Plugin Contributions:
4

Re: Admin Not WOrking ???

alhakeem2001:

Guys, I have also a problem with my admin page, After installing a fresh new Zencart V. 1.5.1, I had to change my admin folder to something different, when tried to log-in to my admin I got a blank page ! I checked my cache folder for any errors, there was only one file with this error logs:
installerConfigKeys|a:1:{s:8:"language";s:7:"english";}logfilename|s:27:"Dec-01-2013_07-38-47-GUOyBZ";installerConfigInfo|a:0:{}
which it didn't help that much ! Please help...:(

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

3 Dec 2013, 12:12 PM
#16
alhakeem2001 avatar

alhakeem2001

Zen Follower

Join Date:
Nov 2007
Posts:
434
Plugin Contributions:
1

Re: Admin Not WOrking ???

RodG:

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

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 !!!!:(

3 Dec 2013, 12:39 PM
#17
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Location:
Australia
Posts:
6,263
Plugin Contributions:
4

Re: Admin Not WOrking ???

alhakeem2001:

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

3 Dec 2013, 1:02 PM
#18
alhakeem2001 avatar

alhakeem2001

Zen Follower

Join Date:
Nov 2007
Posts:
434
Plugin Contributions:
1

Re: Admin Not WOrking ???

Nop, That didn't help too ! still the same problem !:blink:

3 Dec 2013, 1:14 PM
#19
alhakeem2001 avatar

alhakeem2001

Zen Follower

Join Date:
Nov 2007
Posts:
434
Plugin Contributions:
1

Re: Admin Not WOrking ???

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

3 Dec 2013, 1:27 PM
#20
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,097
Plugin Contributions:
56

Re: Admin Not WOrking ???

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