Zen Cart Logo
Forums / General Questions / Can't login to admin

Can't login to admin

Locked

Views: 50,599

Results 1 to 20 of 165
This thread is locked. New replies are disabled.
28 Jun 2006, 7:11 PM
#1
scot_giant avatar

scot_giant

New Zenner

Join Date:
Jun 2006
Location:
USA, Michigan
Posts:
12
Plugin Contributions:
0

Can't login to admin

Hi,

I had previously installed ZC 1.3.0.1 on my web host server and while I was still configuring my admin, payment, shipping, etc. I had an error with my sql database. In frustaration I deleted the database and completely reinstalled ZC to the newest 1.3.0.2 version. Since the reinstall I could not login to admin but the home page would display. After messing with it awhile I thought it might be something to do with the newest version so I deleted it and reinstalled version 1.3.0.1 and I still can't login to admin.

I search the forum and found the previous thread by "stevehare" concerning "login issues". I have checked out all of the suggestions in that thread but to no avail. I need help!

Thanks,
Brad

Here is my includes/configure.php file. I will follow with my admin/includes/configure.php

<?php /** * * @package Configuration Settings * @copyright Copyright 2003-2006 Zen Cart Development Team * @copyright Portions Copyright 2003 osCommerce * @license <http://www.zen-cart.com/license/2_0.txt> GNU Public License V2.0 */ // Define the webserver and path parameters // HTTP_SERVER is your Main webserver: eg, <http://www.yourdomain.com> // HTTPS_SERVER is your Secure webserver: eg, <https://www.yourdomain.com> define('HTTP_SERVER', 'http://www.bigfruitwarehouse.com'); define('HTTPS_SERVER', 'https://www.bigfruitwarehouse.com'); // Use secure webserver for checkout procedure? define('ENABLE_SSL', 'false'); // NOTE: be sure to leave the trailing '/' at the end of these lines if you make changes! // * DIR_WS_* = Webserver directories (virtual/URL) // these paths are relative to top of your webspace ... (ie: under the public_html or httpdocs folder) define('DIR_WS_CATALOG', '/catalog/'); define('DIR_WS_HTTPS_CATALOG', '/catalog/'); define('DIR_WS_IMAGES', 'images/'); define('DIR_WS_INCLUDES', 'includes/'); define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/'); define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/'); define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/'); define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/'); define('DIR_WS_DOWNLOAD_PUBLIC', DIR_WS_CATALOG . 'pub/'); define('DIR_WS_TEMPLATES', DIR_WS_INCLUDES . 'templates/'); define('DIR_WS_PHPBB', '/'); // * DIR_FS_* = Filesystem directories (local/physical) //the following path is a COMPLETE path to your Zen Cart files. eg: /var/www/vhost/accountname/public_html/store/ define('DIR_FS_CATALOG', '/home/www/bigfruitwarehouse.com/catalog/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); define('DIR_WS_UPLOADS', DIR_WS_IMAGES . 'uploads/'); define('DIR_FS_UPLOADS', DIR_FS_CATALOG . DIR_WS_UPLOADS); define('DIR_FS_EMAIL_TEMPLATES', DIR_FS_CATALOG . 'email/'); // define our database connection define('DB_TYPE', 'mysql'); define('DB_PREFIX', ''); define('DB_SERVER', 'mysql2.freehostia.com'); // eg, localhost - should not be empty define('DB_SERVER_USERNAME', 'xxxxxxxxx'); define('DB_SERVER_PASSWORD', 'xxxxxxxxxx'); define('DB_DATABASE', 'braker_zencart'); define('USE_PCONNECT', 'false'); // use persistent connections? define('STORE_SESSIONS', 'db'); // leave empty '' for default handler or set to 'db' // The next 2 "defines" are for SQL cache support. // For SQL_CACHE_METHOD, you can select from: none, database, or file // If you choose "file", then you need to set the DIR_FS_SQL_CACHE to a directory where your apache // or webserver user has write privileges (chmod 666 or 777). We recommend using the "cache" folder inside the Zen Cart folder // ie: /path/to/your/webspace/public_html/zen/cache -- leave no trailing slash define('SQL_CACHE_METHOD', 'none'); define('DIR_FS_SQL_CACHE', '/home/www/bigfruitwarehouse.com/catalog/cache'); ?>
28 Jun 2006, 7:14 PM
#2
scot_giant avatar

scot_giant

New Zenner

Join Date:
Jun 2006
Location:
USA, Michigan
Posts:
12
Plugin Contributions:
0

Re: Can't login to admin

Here is my admin/includes/configure.php file:

<?php // /** * * @package Configuration Settings * @copyright Copyright 2003-2006 Zen Cart Development Team * @copyright Portions Copyright 2003 osCommerce * @license <http://www.zen-cart.com/license/2_0.txt> GNU Public License V2.0 */ // Define the webserver and path parameters // Main webserver: eg, <http://localhost> - should not be empty for productive servers // HTTP_SERVER is your Main webserver: eg, <http://www.yourdomain.com> // HTTPS_SERVER is your Secure webserver: eg, <https://www.yourdomain.com> // HTTP_CATALOG_SERVER is your Main webserver: eg, <http://www.yourdomain.com> // HTTPS_CATALOG_SERVER is your Secure webserver: eg, <https://www.yourdomain.com> /* * URLs for your site will be built via: * HTTP_SERVER plus DIR_WS_ADMIN or * HTTPS_SERVER plus DIR_WS_HTTPS_ADMIN or * HTTP_SERVER plus DIR_WS_CATALOG or * HTTPS_SERVER plus DIR_WS_HTTPS_CATALOG * ...depending on your system configuration settings */ define('HTTP_SERVER', 'http://www.bigfruitwarehouse.com'); define('HTTPS_SERVER', 'https://www.bigfruitwarehouse.com'); define('HTTP_CATALOG_SERVER', 'http://www.bigfruitwarehouse.com'); define('HTTPS_CATALOG_SERVER', 'https://www.bigfruitwarehouse.com'); // Use secure webserver for catalog module and/or admin areas? define('ENABLE_SSL_CATALOG', 'false'); define('ENABLE_SSL_ADMIN', 'false'); // NOTE: be sure to leave the trailing '/' at the end of these lines if you make changes! // * DIR_WS_* = Webserver directories (virtual/URL) // these paths are relative to top of your webspace ... (ie: under the public_html or httpdocs folder) define('DIR_WS_ADMIN', '/catalog/admin/'); define('DIR_WS_CATALOG', '/catalog/'); define('DIR_WS_HTTPS_ADMIN', '/catalog/admin/'); define('DIR_WS_HTTPS_CATALOG', '/catalog/'); define('DIR_WS_IMAGES', 'images/'); define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/'); define('DIR_WS_CATALOG_IMAGES', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'images/'); define('DIR_WS_CATALOG_TEMPLATE', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'includes/templates/'); define('DIR_WS_INCLUDES', 'includes/'); define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/'); define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/'); define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/'); define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/'); define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/'); define('DIR_WS_CATALOG_LANGUAGES', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'includes/languages/'); // * DIR_FS_* = Filesystem directories (local/physical) //the following path is a COMPLETE path to your Zen Cart files. eg: /var/www/vhost/accountname/public_html/store/ define('DIR_FS_ADMIN', '/home/www/bigfruitwarehouse.com/catalog/admin/'); define('DIR_FS_CATALOG', '/home/www/bigfruitwarehouse.com/catalog/'); define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'includes/languages/'); define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/'); define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/'); define('DIR_FS_CATALOG_TEMPLATES', DIR_FS_CATALOG . 'includes/templates/'); define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/'); define('DIR_FS_EMAIL_TEMPLATES', DIR_FS_CATALOG . 'email/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); // define our database connection define('DB_TYPE', 'mysql'); define('DB_PREFIX', ''); define('DB_SERVER', 'mysql2.freehostia.com'); // eg, localhost - should not be empty define('DB_SERVER_USERNAME', 'xxxxxxxx'); define('DB_SERVER_PASSWORD', 'xxxxxxxx'); define('DB_DATABASE', 'braker_zencart'); define('USE_PCONNECT', 'false'); // use persistent connections? define('STORE_SESSIONS', 'db'); // leave empty '' for default handler or set to 'db' // The next 2 "defines" are for SQL cache support. // For SQL_CACHE_METHOD, you can select from: none, database, or file // If you choose "file", then you need to set the DIR_FS_SQL_CACHE to a directory where your apache // or webserver user has write privileges (chmod 666 or 777). We recommend using the "cache" folder inside the Zen Cart folder // ie: /path/to/your/webspace/public_html/zen/cache -- leave no trailing slash define('SQL_CACHE_METHOD', 'none'); define('DIR_FS_SQL_CACHE', '/home/www/bigfruitwarehouse.com/catalog/cache'); ?>
30 Jun 2006, 12:44 PM
#3
scot_giant avatar

scot_giant

New Zenner

Join Date:
Jun 2006
Location:
USA, Michigan
Posts:
12
Plugin Contributions:
0

Re: Can't login to admin

Can anyone give me some direction on this problem? Could this be a server issue?

Thanks,
Brad.

1 Jul 2006, 2:09 AM
#4
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Can't login to admin

On your Catalog ... if I view the CSS files in FireFox I am getting errors that look like permission errors ...

As to your admin ... peek at your database table for admin via phpMyAdmin and see what admin_name and admin_email is used ...

If they are correct, you should be able to send yourself a new password with the forgotten password ...

If the table is empty then we will need to give you a hand in getting a login added ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

1 Jul 2006, 2:54 AM
#5
scot_giant avatar

scot_giant

New Zenner

Join Date:
Jun 2006
Location:
USA, Michigan
Posts:
12
Plugin Contributions:
0

Re: Can't login to admin

I have checked the admin table in the database and it has both the correct email address and admin login name. I tried the Resend Password but never got it. Could this be a server problem, as in the host doesn't have SMTP activated?

What do you mean by permission errors in the CSS files?

Thanks, Linda

1 Jul 2006, 2:59 AM
#6
scot_giant avatar

scot_giant

New Zenner

Join Date:
Jun 2006
Location:
USA, Michigan
Posts:
12
Plugin Contributions:
0

Re: Can't login to admin

I forgot to add:

When I try to login the page starts to load, then stop part way through.

1 Jul 2006, 3:04 AM
#7
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Can't login to admin

FireFox has a handy dandy tool to peek at the CSS for the site ...

On your site, I get errors vs the CSS files ... example of part of what I see:

CSS - http://www.bigfruitwarehouse.com/catalog/
http://www.bigfruitwarehouse.com/catalog/
http://www.bigfruitwarehouse.com/catalog/includes/templates/classic/css/stylesheet_new.css

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <HTML><HEAD> <TITLE>500 Internal Server Error</TITLE> </HEAD><BODY> <H1>Internal Server Error</H1> The server encountered an internal error or misconfiguration and was unable to complete your request.<P> Please contact the server administrator, [[email protected]](mailto:[email protected]) and inform them of the time the error occurred, and anything you might have done that may have caused the error.<P> More information about this error may be available in the server error log.<P> <HR> <ADDRESS>Apache/1.3.33 Server at bigfruitwarehouse.com Port 80</ADDRESS> </BODY></HTML>

As to your emails ... this could be an email issue ... but you are kind of in la la land right now ...

Paste this into the admin_pass for your good admin_name that has your email:

351683ea4e19efe34874b501fdbf9792:9b

That is: admin

Login, and change your password to your own asap ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

1 Jul 2006, 3:52 AM
#8
scot_giant avatar

scot_giant

New Zenner

Join Date:
Jun 2006
Location:
USA, Michigan
Posts:
12
Plugin Contributions:
0

Re: Can't login to admin

I pasted the admin_pass code and tried to login with "admin" as my password, but still no go. Ugh!

The really wierd thing about all of this, is that I had ZC install and working before all of this, but out of ignorance I messed my database up and started over. Hindsight, I could have repaired my database!

15 Jul 2007, 5:43 PM
#9
septimus avatar

septimus

New Zenner

Join Date:
Jul 2007
Posts:
11
Plugin Contributions:
0

Re: Can't login to admin

I have just installed Zen Cart; no problems, no warnings. Default shop shows fine but I cannot login to admin.
I have read all the posts that I could find on this forum but none have helped. I have used the 'resend password' feature and tried the new password but this did not help.
SSL in the configure.php files are set to false. When trying to login the status bar at the bottom of the screen just tells me it is waiting for a response from my domain which it never gets.

Should I delete everything and start again?

16 Jul 2007, 3:10 AM
#10
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,843
Plugin Contributions:
17

Re: Can't login to admin

check the file at admin/includes/configure.php and make sure the settings and paths are correct. If you can get to the cart and see the admin login, it might be a misspelling in the configure.php

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.
Zen Cart Certified hosting at myZenCartHost.com

16 Jul 2007, 9:41 AM
#11
septimus avatar

septimus

New Zenner

Join Date:
Jul 2007
Posts:
11
Plugin Contributions:
0

Re: Can't login to admin

I cannot see anything wrong with configure.php

I'll probably try a re-install.

16 Jul 2007, 3:48 PM
#12
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,843
Plugin Contributions:
17

Re: Can't login to admin

Don't kill an ant with an atom bomb. Look to see if all files were uploaded to your site in the admin directory and make sure there are none that are 0 in size.

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.
Zen Cart Certified hosting at myZenCartHost.com

16 Jul 2007, 10:35 PM
#13
septimus avatar

septimus

New Zenner

Join Date:
Jul 2007
Posts:
11
Plugin Contributions:
0

Re: Can't login to admin

No zero byte files in admin.

I carried out another check and I found that I was not waiting long enough. From the moment I clicked the login button to the admin page being displayed took about 3 minutes. Of course, it should be near enough instantaneous so something is amiss.

I do know that my hosting company is carrying out some maintenance but I am not convinced this is the reason.

Anyhow, now that I was in admin I was able to carry out another test and that was to see if I can add a product and for that product to show an image. This failed and I wasn't surprised. Last week I installed osCommerce and I could not get this program to display an image. I joined the osCommerce forum but no one was able to solve my problem. I installed osCommerce twice but no luck.

I was hoping that I may have more luck with Zen Cart but sadly, no.

Unless I am able to add an image then I 'm afraid I'll have to stay with my current e-commerce software.

17 Jul 2007, 3:08 AM
#14
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,843
Plugin Contributions:
17

Re: Can't login to admin

Unless you've personalized the admin page with a 5mb picture, it should pop up in 3 seconds:shocking:
Go to admin --> configuration --> Logging and turn the display parse time to true. That will tell you how long the system is taking to load or obtain data from the database.
Can you give us a link?

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.
Zen Cart Certified hosting at myZenCartHost.com

17 Jul 2007, 3:57 AM
#15
dogtags avatar

dogtags

Totally Zenned

Join Date:
Nov 2003
Posts:
876
Plugin Contributions:
1

Re: Can't login to admin

In admin, see if turning off auto-update checking (if enabled) makes a difference. I forget where it is set.

That might be it. I turned mine off for this reason, and admin login is zingy now.

HTH

17 Jul 2007, 10:03 AM
#16
septimus avatar

septimus

New Zenner

Join Date:
Jul 2007
Posts:
11
Plugin Contributions:
0

Re: Can't login to admin

Login again took over 3 mins. I turned on logging but not sure what to look for.

I cannot find anywhere that controls the checking for updates. The trouble is if I click anything within admin that causes the same effect as when I try to log in then I cannot do anything within admin for 3 mins. I am currently waiting for it to become responsive again.

I think I'll leave this for today and try again tomorrow.

17 Jul 2007, 11:52 PM
#17
dogtags avatar

dogtags

Totally Zenned

Join Date:
Nov 2003
Posts:
876
Plugin Contributions:
1

Re: Can't login to admin

admin > config > my store > Show if version update available

18 Jul 2007, 3:18 PM
#18
septimus avatar

septimus

New Zenner

Join Date:
Jul 2007
Posts:
11
Plugin Contributions:
0

Re: Can't login to admin

A re-install of Zen Cart has cured the login problem. Enters admin immediately. I still cannot add images, though. I'll create a new post for this.

18 Jul 2007, 5:58 PM
#19
enewbold avatar

enewbold

New Zenner

Join Date:
Jul 2007
Location:
Columbus, OH
Posts:
11
Plugin Contributions:
0

Re: Can't login to admin

septimus:

I have just installed Zen Cart; no problems, no warnings. Default shop shows fine but I cannot login to admin. I have read all the posts that I could find on this forum but none have helped. I have used the 'resend password' feature and tried the new password but this did not help. SSL in the configure.php files are set to false. When trying to login the status bar at the bottom of the screen just tells me it is waiting for a response from my domain which it never gets. Should I delete everything and start again?

I have experienced the same identical problem. I can not login to the ADMIN page regardless of what I try. I have examined everything and can find no installation errors at all. This is EXTREMELY frustrating!

Ed Newbold
Columbus, OH
:censored:

18 Jul 2007, 6:11 PM
#20
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,650
Plugin Contributions:
0

Re: Can't login to admin

Ed -

Start by reuploading the Admin directory.

Can you login or create an account as a customer?

Please do not PM for support issues: a private solution doesn't benefit the community.

Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.