Page 2 of 2 FirstFirst 12
Results 11 to 20 of 20
  1. #11
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Will safe mode make customer login impossible?

    Thanks for the update ...
    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!

  2. #12
    Join Date
    Jul 2006
    Posts
    18
    Plugin Contributions
    0

    Default Re: Will safe mode make customer login impossible?

    Leaving a status update was the least I could do for your time and help!!!!

    <3

  3. #13
    Join Date
    Jul 2006
    Posts
    6
    Plugin Contributions
    0

    Idea or Suggestion Re: Will safe mode make customer login impossible?

    I'm having a similar problem , and changing the sessin recreate hasn't really done the magic for me ... When i try to test my cucstomer login i get a 404 page , i can refrehs the page, and it will take me where I need to be ,in explorer that is ... i firefox thats as far as i go . This problem is really wearing me down , since i have been working on it for about a week now. I tried posting a thread , but received no answers . Can anyone help???



    here's my stuff:
    admin/includes/
    <?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.brainwashedtees.com');
    define('HTTPS_SERVER', 'https://ssl4.westserver.net/ticoandtina.com');
    define('HTTP_CATALOG_SERVER', 'http://www.brainwashedtees.com');
    define('HTTPS_CATALOG_SERVER', 'https://ssl4.westserver.net/ticoandtina.com');

    // Use secure webserver for catalog module and/or admin areas?
    define('ENABLE_SSL_CATALOG', 'true');
    define('ENABLE_SSL_ADMIN', 'true');

    // 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', '/store/admin/');
    define('DIR_WS_CATALOG', '/store/');
    define('DIR_WS_HTTPS_ADMIN', '/brainwashedtees/store/admin/');
    define('DIR_WS_HTTPS_CATALOG', '/brainwashedtees/store/');

    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', '/www/htdocs/brainwashedtees/store/admin/');
    define('DIR_FS_CATALOG', '/www/htdocs/brainwashedtees/store/');

    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', 'localhost'); // eg, localhost - should not be empty
    define('DB_SERVER_USERNAME', 'xxxx');
    define('DB_SERVER_PASSWORD', 'xxxx');
    define('DB_DATABASE', 'xxxxxx');
    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', 'database');
    define('DIR_FS_SQL_CACHE', '/www/htdocs/brainwashedtees/store/cache');

    ?>


    the other one /includes/
    <?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.brainwashedtees.com');
    define('HTTPS_SERVER', 'https://ssl4.westserver.net/ticoandtina.com');

    // Use secure webserver for checkout procedure?
    define('ENABLE_SSL', 'true');

    // 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', '/store/');
    define('DIR_WS_HTTPS_CATALOG', '/brainwashedtees/store/');

    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', '/www/htdocs/brainwashedtees/store/');

    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', 'localhost'); // eg, localhost - should not be empty
    define('DB_SERVER_USERNAME', 'xxxxxx');
    define('DB_SERVER_PASSWORD', 'xxxxx');
    define('DB_DATABASE', 'xxxxx');
    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', 'database');
    define('DIR_FS_SQL_CACHE', '/www/htdocs/brainwashedtees/store/cache');

    ?>




    my sessions:
    Title Value Action
    Session Directory /www/htdocs/brainwashedtees/store/cache
    Cookie Domain True
    Force Cookie Use False
    Check SSL Session ID False
    Check User Agent False
    Check IP Address False
    Prevent Spider Sessions True
    Recreate Session False
    IP to Host Conversion Status true
    Recreate Session

    versions:
    zen-cart-v1.3.0.2-full-fileset.zip
    mysql 4.1.9
    php 5.0.5



    thanks for your help.

  4. #14
    Join Date
    Jan 2004
    Posts
    66,391
    Blog Entries
    7
    Plugin Contributions
    81

    Default Re: Will safe mode make customer login impossible?

    If I read your post right, you're getting a 404 error when clicking a login link? And your site is configured to use SSL for logins... thus, the 404 error is a page-not-found while trying to find the login page. Thus, your supplied SSL information is incorrect.

    To turn off the SSL mode:

    admin/includes/configure.php

    Change these to false:
    define('ENABLE_SSL_CATALOG', 'true');
    define('ENABLE_SSL_ADMIN', 'true');



    includes/configure.php

    change this to false:
    define('ENABLE_SSL', 'true');



    And then work with your host to get the right URL for your shared SSL access.
    .

    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. #15
    Join Date
    Jul 2006
    Posts
    6
    Plugin Contributions
    0

    Default Re: Will safe mode make customer login impossible?

    My login for this page is on my ssl server , and it uploads fine the problem comes when i try to login as a customer and input my email, and password , th page will go to a 404 , and in explorer you can click o back or refresh , and it will complete the process. This only happens when you login and logout from the account .

    I don't think its the ssl , because the ssl for my admin works perfectly. I read in another thread that it might me an htacces redirect , but i don't have the faintest clue as to which one to modify . Am i totally off?
    thanks for replying

    very frustrated
    tnt

  6. #16
    Join Date
    Jul 2006
    Posts
    6
    Plugin Contributions
    0

    Default Re: Will safe mode make customer login impossible?

    I made an account so you can recreate the problem . The email address is zencart AT zen DOT com and the password is 12345 thanks for your help
    tnt

  7. #17
    Join Date
    Jan 2004
    Posts
    66,391
    Blog Entries
    7
    Plugin Contributions
    81

    Default Re: Will safe mode make customer login impossible?

    What is your server's errorlog saying every time you get the 404 error?
    .

    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.

  8. #18
    Join Date
    Jul 2006
    Posts
    6
    Plugin Contributions
    0

    Default Re: Will safe mode make customer login impossible?

    [Sun Jul 30 16:26:39 2006] [error] [client 69.36.161.21] File does not exist: /var/www/html/store/index.php

    This is it . Now the deal is that the file path is wrong. it should be html/brainwashedtees/store/index.php. How do i fix it though? I thought i had everything right in my configure files.
    thanks for your help
    tnt

  9. #19
    Join Date
    Jan 2004
    Posts
    66,391
    Blog Entries
    7
    Plugin Contributions
    81

    Default Re: Will safe mode make customer login impossible?

    Try moving the /brainwashedtees/ out of DIR_WS_HTTPS_CATALOG into HTTPS_SERVER:

    PHP Code:
     define('HTTPS_SERVER''https://ssl4.westserver.net/ticoandtina.com/brainwashedtees');
     
    define('DIR_WS_HTTPS_CATALOG''/store/'); 
    If that works, do similarly in the admin configure.php
    .

    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.

  10. #20
    Join Date
    Jul 2006
    Posts
    6
    Plugin Contributions
    0

    Default Re: Will safe mode make customer login impossible?

    I guess thats why you're the sensei!!! Brilliant it worked ! Thanks a million!! I was beginning to depair. Now to make it look pretty!
    tnt

 

 
Page 2 of 2 FirstFirst 12

Similar Threads

  1. Safe Mode
    By dannyd in forum Installing on a Linux/Unix Server
    Replies: 4
    Last Post: 2 Oct 2007, 09:32 PM
  2. PHP safe mode ... what will it break?
    By pasi in forum General Questions
    Replies: 3
    Last Post: 20 Mar 2007, 10:28 PM
  3. Customer Login - Impossible buy
    By klito in forum General Questions
    Replies: 0
    Last Post: 10 Jun 2006, 08:58 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