Page 1 of 3 123 LastLast
Results 1 to 10 of 25
  1. #1
    Join Date
    Sep 2005
    Posts
    63
    Plugin Contributions
    0

    Default Please help!!! Logged out during search...

    Here's the scenario: customer logs in. When customer tries to perform a search, using the standard search field, they are instantly logged out (w/ no redirect to logout page). No problems searching by Music Genre or Record Label. I'm ready to go live w/ this site, so any help will be GREATLY appreciated!

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

    Default Re: Please help!!! Logged out during search...

    How about an URL and a click for click example of how you are making this happen ...
    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!

  3. #3
    Join Date
    Sep 2005
    Posts
    63
    Plugin Contributions
    0

    Default Re: Please help!!! Logged out during search...

    Hi Linda,

    URL: ** REMOVED PER REQUEST **

    Again, doing a standard search instantly logs the user out. There's no redirect to the log-out page, and all account links in the header disappear (My Account, Log Out, etc). Searching by other methods, browsing catalog pages, creating & editing account info, ordering, checking out, etc...all fine.

    My Cache is also acting kinda squirrelly. It's especially bad in IE (more than usual), and even Firefox is dragging a bit... Maybe it's an SSL issue or Config. setting? Dunno...

    Thanks for your time!
    Last edited by Ajeh; 12 Jan 2007 at 06:25 AM. Reason: Removed per request

  4. #4
    Join Date
    Sep 2005
    Posts
    63
    Plugin Contributions
    0

    Default Re: Please help!!! Logged out during search...

    Btw, I believe this also happened before I added the login sidebox mod, but I won't swear to it. ;-)

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

    Default Re: Please help!!! Logged out during search...

    Might want to check your /includes/configure.php

    Few too many slashes in there ...

    Might also check the expiration date of your secure certificate ...
    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!

  6. #6
    Join Date
    Sep 2005
    Posts
    63
    Plugin Contributions
    0

    Default Re: Please help!!! Logged out during search...

    Okay, I've got the config covered. Thank you.

    Any insights into the search/logout issue? As things stand, I can't go live w/ this site until that's resolved - and I've run out of ideas... Simply put, I'm in a MAJOR bind....... Eternal gratitude for any help w/ this.

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

    Default Re: Please help!!! Logged out during search...

    I created an account ...

    Did a search ...

    I am still logged in with stuff in the cart ...

    And you still have an expired secure certificate btw ...
    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!

  8. #8
    Join Date
    Sep 2005
    Posts
    63
    Plugin Contributions
    0

    Default Re: Please help!!! Logged out during search...

    Quote Originally Posted by Ajeh
    I created an account ...

    Did a search ...

    I am still logged in with stuff in the cart ...

    And you still have an expired secure certificate btw ...

    Cookies...... Damn you cookies!!! Heh. Since I had read [somewhere] that they weren't necessary, and I was able to use other search methods & place mock orders w/o them, I ASSumed they weren't the culprit. Any way around that???

    Regardless, it's a bigtime relief to know that it isn't bad code or anything like that. You are officially my favorite person of the week!

    As for my expired cert, that *should've* been updated by now. Sheesh.....

    Thanks again for your time - much appreciated!!!

  9. #9
    Join Date
    Sep 2005
    Posts
    63
    Plugin Contributions
    0

    Re: Please help!!! Logged out during search...

    Still having problems w/ this...

    The only way for me to stayed logged-in, when doing a standard search, is to accept cookies; for both IE & Firefox. Is this normal? Linda, do you recall if you had them enabled when you were testing my site? It doesn't appear that anyone else is having this particular problem....

    Since the consensus opinion about cookies is "don't force them" (which I wholeheartedly agree w/), and most people choose to block them anyway, what's the solution? Btw, I tried forcing them in admin, but that presented a brand-new set of problems.... Now it's back to false.

    Anyway, if it were merely a question of requiring cookies for checkout, that would be fine; many online stores do this, so it's par for the course. But to require them for just searching around? What's that sound? Potential customers stampeding toward the exit...

    Also, it seems that having cookies enabled BEFORE entering the site produces the most stable logins; as opposed to logging in DURING.

    Medium & Medium High Privacy Settings can also yield mixed results, but ALL seems to work consistently. Although very-recent tests seem to dismiss that statement... Now, once I've logged in & completed a successful search, I can switch between the 3 previously mentioned settings w/o incident. BUT...if I turn off/block cookies, I'm instantly logged out again! I've also noticed that cookies (ssl or site) are no longer being stored in my temporary internet files dir in IE. They do show in Firefox, but the same problems persist, so I'm not giving that much credence (just another observation).

    I REALLY need to get this store up & running. But, as things stand, there's no way I can do that...

    I'm using v1.2.7 (w/ all of my customizing, v1.3x is quite a ways off...)

    Admin->Configuration->Sessions:

    Session Directory/home/rocker/public_html/shop/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

    Includes/configure.php:

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

    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/rocker/public_html/shop/');

    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', 'xxxxxxx');
    define('DB_SERVER_PASSWORD', 'xxxxxxx');
    define('DB_DATABASE', 'xxxxxxx');
    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', '/home/rocker/public_html/shop/cache');

    ?>

    Cache permission: 777

    Server:
    Apache: 1.3.34 (Unix)
    PHP version 4.4.2
    MySQL version 4.1.19

    Someone, PLEASE help me out! Once this is (hopefully) resolved, I'm going live.


    Last question: when I move this site up to my root directory, and ditch the "/shop", would I make these configure.php changes:

    define('DIR_WS_CATALOG', '/shop/');
    to
    define('DIR_WS_CATALOG', '//');
    -
    define('DIR_WS_HTTPS_CATALOG', '/shop/');
    to
    define('DIR_WS_HTTPS_CATALOG', '//');
    -
    define('DIR_FS_SQL_CACHE', '/home/rocker/public_html/shop/cache');
    to
    define('DIR_FS_SQL_CACHE', '/home/rocker/public_html//cache');???

    Just want to avoid another post... ;-)

    Many thanks!!!

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

    Default Re: Please help!!! Logged out during search...

    I login to your site ...

    I have things in my cart ...

    I search ...

    I get warning about your secure certificate ...

    Other than that, I have yet to be logged out ...

    Close all browser windows ... clear cache and delete cookies ...

    Create a new account ...

    Now does it work for you?

    Logout and login to your other account ...

    Does it break for you?
    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!

 

 
Page 1 of 3 123 LastLast

Similar Threads

  1. v139h Help! Getting logged out of admin if I visit whos_online
    By sjbglx1 in forum General Questions
    Replies: 1
    Last Post: 16 Sep 2015, 03:06 PM
  2. Can't find a way to search by Model in Advanced Search - could somebody help please?
    By Athens Collectibles in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 11 Sep 2011, 12:14 PM
  3. Search Box out of place. Please Help my sanity!
    By Mevaser in forum Templates, Stylesheets, Page Layout
    Replies: 14
    Last Post: 28 Aug 2007, 10:50 AM
  4. bombing during checking - Help Please
    By t2427537 in forum PayPal Express Checkout support
    Replies: 1
    Last Post: 18 Jun 2007, 11:08 PM
  5. Paypal - session logged out - please sign in again
    By TTLNTL in forum Built-in Shipping and Payment Modules
    Replies: 49
    Last Post: 19 May 2007, 08:36 AM

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