Page 5 of 17 FirstFirst ... 3456715 ... LastLast
Results 41 to 50 of 165
  1. #41
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,151
    Plugin Contributions
    11

    Default Re: unable to login to admin

    There's a clear cache addon for firefox that I find VERY useful. Looks like a little broom.

    https://addons.mozilla.org/en-US/firefox/addon/1801

  2. #42
    Join Date
    Aug 2007
    Posts
    13
    Plugin Contributions
    0

    Default Re: unable to login to admin

    I am having the same login problem.. So do I add this code to the config file? If so which config file?

    if(!version_compare(phpversion(),"4.3.3",">=")){
    setcookie(
    session_name(),
    session_id(),
    ini_get("session.cookie_lifetime"),
    "/"
    );
    }

    AND/OR

    do I use sub-domain to make it all work????

    ANY help would be great..

    Thanks,

    Denny

  3. #43
    Join Date
    Jun 2003
    Posts
    33,715
    Plugin Contributions
    0

    Default Re: unable to login to admin

    Have any of you thought to ask your hosts to upgrade their version of php? php4.4 fixed some nasty security problems ...
    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.

  4. #44
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: unable to login to admin

    Quote Originally Posted by denny1 View Post
    I am having the same login problem..
    Denny,
    There are 11 different people posting in this thread.
    Can you please explain your specific problem to be sure we know which "same login problem" we're dealing with ?
    A URL would help too, as well as your PHP version, your server operating system (windows/linux/home computer/etc)
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  5. #45
    Join Date
    Aug 2007
    Posts
    120
    Plugin Contributions
    0

    Default Re: unable to login to admin

    Quote Originally Posted by stabmag View Post
    I'm having the same problem after going through the forums and not having any luck with the alternative methods.

    However after I fill in the forms with the correct details and hit the Login button, the page simply refreshes. If I put the wrong details in I'm given "You entered the wrong username or password." message. So obviously it registers that my pass is ok, but doesn't want to do anything about it.

    phpMyAdmin 2.6.4
    PHP 4.3.2

    I am having this prob as well now.... exactly as you've said above. I've installed zen-cart on another server and it worked fine, didn't do anything different this time, so I'm completely flummoxed...

  6. #46
    Join Date
    Aug 2007
    Posts
    120
    Plugin Contributions
    0

    Default Re: unable to login to admin

    Less flummoxed now, as it appeared to be a cache problem in Firefox... flushed the cache and logged in ok...

  7. #47
    Join Date
    Aug 2007
    Posts
    13
    Plugin Contributions
    0

    Default Re: unable to login to admin

    I can get to the store front and I can create an account and login to it. Everything seems to be working fine. When I try to access the admin it says I have entered the wrong username and password. I have checked and rechecked and I am entering the correct username and password.

    Zen Cart will be installed on a Linux Red Hat Enterprise Linux 4 with PHP 5.2.x. Since I have never used Zen Cart I have installed it on another server for testing before installing it on the other server. The server I am using to test it on is a Linux with Redhat 9 and is only running PHP 4.3.11. I was told by the hosting company that PHP can not be upgraded on this old server. Is there anything I can do to get Zen Cart to run on the server with PHP 4.3.11 just for testing purposes?

    Thanks for any help you can give me on this.


    PHP Code:
    <?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
     */


    /*************** NOTE: This file is similar, but DIFFERENT from the "store" version of configure.php. ***********/
    /***************       The 2 files should be kept separate and not used to overwrite each other.      ***********/

    // 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.dennyg.com');
      
    define('HTTPS_SERVER''https://www.dennyg.com');
      
    define('HTTP_CATALOG_SERVER''http://www.dennyg.com');
      
    define('HTTPS_CATALOG_SERVER''https://www.dennyg.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''/animal/catalog/admin/');
      
    define('DIR_WS_CATALOG''/animal/catalog/');
      
    define('DIR_WS_HTTPS_ADMIN''/animal/catalog/admin/');
      
    define('DIR_WS_HTTPS_CATALOG''/animal/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/sites/www.dennyg.com/web/animal/catalog/admin/');
      
    define('DIR_FS_CATALOG''/home/sites/www.dennyg.com/web/animal/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''zen_');
      
    define('DB_SERVER''localhost');
      
    define('DB_SERVER_USERNAME''******');
      
    define('DB_SERVER_PASSWORD''******');
      
    define('DB_DATABASE''cart');
      
    define('USE_PCONNECT''false'); // use persistent connections?
      
    define('STORE_SESSIONS''db'); // use 'db' for best support, or '' for file-based storage

      // 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/sites/www.dennyg.com/web/animal/catalog/cache');

    ?>
    PHP Code:

    <?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
     */


    /*************** NOTE: This file is similar, but DIFFERENT from the "admin" version of configure.php. ***********/
    /***************       The 2 files should be kept separate and not used to overwrite each other.      ***********/

    // 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.dennyg.com');
      
    define('HTTPS_SERVER''https://www.dennyg.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''/animal/catalog/');
      
    define('DIR_WS_HTTPS_CATALOG''/animal/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/sites/www.dennyg.com/web/animal/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''zen_');
      
    define('DB_SERVER''localhost');
      
    define('DB_SERVER_USERNAME''******');
      
    define('DB_SERVER_PASSWORD''******');
      
    define('DB_DATABASE''cart');
      
    define('USE_PCONNECT''false'); // use persistent connections?
      
    define('STORE_SESSIONS''db'); // use 'db' for best support, or '' for file-based storage

      // 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/sites/www.dennyg.com/web/animal/catalog/cache');

    ?>

  8. #48
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: unable to login to admin

    Quote Originally Posted by denny1 View Post
    I can get to the store front and I can create an account and login to it. Everything seems to be working fine. When I try to access the admin it says I have entered the wrong username and password. I have checked and rechecked and I am entering the correct username and password.

    Zen Cart will be installed on a Linux Red Hat Enterprise Linux 4 with PHP 5.2.x. Since I have never used Zen Cart I have installed it on another server for testing before installing it on the other server. The server I am using to test it on is a Linux with Redhat 9 and is only running PHP 4.3.11. I was told by the hosting company that PHP can not be upgraded on this old server. Is there anything I can do to get Zen Cart to run on the server with PHP 4.3.11 just for testing purposes?

    Thanks for any help you can give me on this.
    4.3.11 shouldn't be causing you this problem.

    The problem with admin logins not processing is typically bad cookies.
    Either they're being blocked by firewall software or browser configuration, or they're getting set to a domain name that doesn't match your admin area, or aren't getting set at all because of settings on the server.
    Sometimes the PHP code might block it from happening properly, esp in older PHP versions, but 4.3.11 shouldn't be the problem AFIK.
    If during installation you chose to ignore warning messages about PHP session settings, that could also be a problem.

    Every time I've had the symptoms you describe it's been instantly resolved by flushing browser cache and/or turning off firewall software that was blocking session cookies.


    How long has this been happening?
    Did it ever work properly? How long ago?
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  9. #49
    Join Date
    Aug 2007
    Posts
    13
    Plugin Contributions
    0

    Default Re: unable to login to admin

    I just installed Zen Cart 24 hours ago. I have not been able to login to the Admin at all. I did not get any errors when I installed Zen Cart. The install went smooth.

    I just cleaned out the browser cache. I set my browser to accept ALL cookies. I shut off Windows Firewall. I restarted my PC and I still have the problem. I am using IE7.

    The server I am using is a virtual server. The database is under the domain of the primary domain of the server. I believe it is also under a different IP. Would this make a difference? What if I was to use a domain that I know is using the same IP as the primary domain the server is using?

    Thanks for the help on this...

    Denny

  10. #50
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: unable to login to admin

    Quote Originally Posted by denny1 View Post
    The server I am using is a virtual server. The database is under the domain of the primary domain of the server. I believe it is also under a different IP. Would this make a difference? What if I was to use a domain that I know is using the same IP as the primary domain the server is using?
    I don't think changing the IP of your database would make any difference.

    For kicks, do you happen to have Firefox installed to test in a different browser?

    Can you upload the zc_install/techsupp.php file and post a link ?
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

 

 
Page 5 of 17 FirstFirst ... 3456715 ... LastLast

Similar Threads

  1. v153 Can't login to admin - loops back to login
    By missyenta in forum Basic Configuration
    Replies: 24
    Last Post: 17 Mar 2016, 10:31 PM
  2. Can't login to admin after upgrade; can login with new install
    By dietcokelemon in forum Upgrading to 1.5.x
    Replies: 14
    Last Post: 9 Feb 2014, 05:16 PM
  3. Can't Login as Admin; Can't Access Admin Login Dialog Box
    By powrwrap in forum General Questions
    Replies: 6
    Last Post: 16 Mar 2013, 05:24 PM
  4. Admin Login page redirects to itself - can't login
    By fxchain in forum Installing on a Linux/Unix Server
    Replies: 9
    Last Post: 14 Jul 2009, 07:32 AM
  5. Can't login to admin Suddenly admin become a white page
    By gardengate in forum General Questions
    Replies: 2
    Last Post: 13 Sep 2007, 06:08 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