Results 1 to 8 of 8
  1. #1
    Join Date
    Jul 2005
    Posts
    21
    Plugin Contributions
    0

    Default Admin login problem

    Since a few weeks a cannot enter my admin pages anymore. When i enter my username and password i'll simply get redirected to the same login page. This same problem occurs also for my clients who try to login.

    Some time before the problem occured i had to edit my configure.php file, see also: http://www.zen-cart.com/forum/showthread.php?t=59592

    Searching the forum i found that the problem can be caused by an error in the admin configure.php file. I pasted this file beneath, can you help me?

    -----------------------------------------------------------------
    Define the webserver and path parameters
    // Main webserver: eg, http://localhost - should not be empty for productive servers
    define('HTTP_SERVER', 'http://www.vanhooffmodelbouw.nl');
    // Secure webserver: eg, https://localhost - should not be empty for productive servers
    define('HTTPS_SERVER', 'https://www.vanhooffmodelbouw.nl');
    // 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', '/winkel/');
    define('DIR_WS_HTTPS_CATALOG', '/winkel/');

    define('DIR_WS_IMAGES', 'images/');
    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_DOWNLOAD_PUBLIC', DIR_WS_CATALOG . 'pub/');
    define('DIR_WS_BLOCKS', DIR_WS_INCLUDES . 'blocks/');
    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/vanhooffmodelbouw.nl/www/winkel/');

    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', '10.0.0.3'); // eg, localhost - should not be empty
    define('DB_SERVER_USERNAME', '2393zen');
    define('DB_SERVER_PASSWORD', '****');
    define('DB_DATABASE', '2393zen');
    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/vanhooffmodelbouw.nl/www/winkel/cache');

    ?>

    -----------------------------------------------------------------

  2. #2
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Admin login problem

    The problem appears to be your secure URL ...

    Check with your hosting site ... are you positive your secure URL is:
    https://www.vanhooffmodelbouw.nl

    this would mean that you own your secure certificate and do not use a shared one ...

    If it is, in fact, correct ... then something is not configured or setup right on your site on the server and your hosting site needs to fix the error ...
    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: v1.5.5]
    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!

  3. #3
    Join Date
    Nov 2006
    Posts
    9
    Plugin Contributions
    0

    Default Re: Admin login problem

    Did you get a solution to login problem? I have the same problem. My site was working for 6 months perfectly but yesterday (April 15th) I and customers couldn't login. Help!

  4. #4
    Join Date
    Jul 2005
    Posts
    21
    Plugin Contributions
    0

    Default Re: Admin login problem

    Well, i asked my host and they say i can't use a secured url (https). It's only possible with a dynamic hosting package, which i do not have.

    Because it has always worked fine without the secured link, another error must cause this problem. Any other suggestions?

  5. #5
    Join Date
    Oct 2006
    Location
    Alberta, Canada
    Posts
    4,571
    Plugin Contributions
    1

    Default Re: Admin login problem

    In a similar situation, I had transferred an account to a new Server and could not login to the Admin section. Never tried a Client login as the site was put in Maintainence mode before the transfer.

    Same problem though; enter correct Admin login info and the page would just refresh itself.


    Testing showed the problem was with Sessions within the database. Although I could have tried the 'fix_cache_key' method, don't know the link for it but it is available in the Downloads section, I took what I thought was a faster route at the time.

    I deleted the current database then Imported the default install database. Confirmed Admin login worked as it should then deleted the default database and Imported the actual database. Problem solved.


    Either of the two methods might be a good / fast way, to solve the same type problem.

    Always make sure to backup database(s) before working on them!

  6. #6
    Join Date
    Jul 2005
    Posts
    21
    Plugin Contributions
    0

    Default Re: Admin login problem

    I tried the 'fix_cache_key' method. But after running it it appears that no changes are required, thus the cache settings matched.

    Thx for the suggestion but still no solution.

  7. #7
    Join Date
    Jul 2005
    Posts
    21
    Plugin Contributions
    0

    Default Re: Admin login problem

    Fixed!

    Probably my host updated the PHP to a new version. The PHP 5.2.0 suffers from a bug. In this topic i used the workaround method b:

    http://www.zen-cart.com/forum/showth...587#post287587

    After this i and my clients were able to login again.

    The only problem i've got now is an error in the configuration part of the admin. I get an 404 error, but this is just a minor problem.

  8. #8
    Join Date
    Oct 2006
    Location
    Alberta, Canada
    Posts
    4,571
    Plugin Contributions
    1

    Default Re: Admin login problem

    You should encourage your Host to upgrade to PHP 5.2.1 -- much better and many bug fixes are included.

    You also might find helpful, this thread on the big red error msg. if that is what you are getting now.

 

 

Similar Threads

  1. Admin Login problem
    By buildingblocks in forum General Questions
    Replies: 9
    Last Post: 14 Jul 2011, 04:55 AM
  2. Admin login problem: There was a security error when trying to login.
    By eddeford in forum Installing on a Linux/Unix Server
    Replies: 3
    Last Post: 27 Jan 2010, 03:59 PM
  3. Admin Login Problem
    By wallaby in forum Basic Configuration
    Replies: 9
    Last Post: 16 Apr 2007, 11:14 PM
  4. Admin Login Problem
    By fbzencart in forum General Questions
    Replies: 1
    Last Post: 13 Oct 2006, 12:32 PM

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