Page 1 of 2 12 LastLast
Results 1 to 10 of 12
  1. #1
    Join Date
    Nov 2010
    Posts
    36
    Plugin Contributions
    0

    Default "Whoops! Your session has expired."

    [Note: remember to include site URL, ZC version, list of plugins, PHP version, etc ... read the Posting Tips shown above for information to include in your post here.
    And, remove this comment before actually posting!]

    https://www.apiarybeekeepingsupplies.com/buzzen
    ZC Version: 1.5.7 a
    Plugins: When I try to see plugins, I get blank page.
    Payment Module: goemerchant
    Shipping Module: FedExwebservices
    PHP Version: 7.2.33

    Problem: after logging in as a customer, I select an item to place in the cart. At this point I get redirected to login again. When I log in again, I get the following error: "Whoops! Sorry, but you are not allowed to perform the action requested. You are still logged in to your account and may continue shopping. Please choose a destination from a menu."

    There is no link to view my shopping cart, so customers cannot check out.

    Question: If I am still logged in, why in the world is it forcing me to log in again . . . then telling me I am still logged in when I attempt to comply?

    I'm trying to help a friend who had a previous version of Zencart that I installed a few years back but she got tired of trying to keep up.

    Any help will be appreciated, and if I can do anything to help you assist me I would be happy to do so.

  2. #2
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,149
    Plugin Contributions
    11

    Default Re: "Whoops! Your session has expired."

    First of all, can you tell us the process in getting to 1.5.7a? Did you download the official zip or use some host's "auto installer"?

    Was this an upgrade or an initial install?

    Apparently, you have problems in both the store and the admin. This makes me think there may be some problems in the configure.php files. It's not uncommon to occasionally forget a subfolder in the configs. Make sure you have buzzen in all the right places.

    The Plugins in the admin is for installing certain plugins. It does not maintain a list of installed plugins. The Mod List plugin will come closest to doing that for you but, you should keep a list of mods you install for yourself.

  3. #3
    Join Date
    Nov 2010
    Posts
    36
    Plugin Contributions
    0

    Default Re: "Whoops! Your session has expired."

    Now the store will not allow me to log in at all. Screwy behavior . . . I must have done something to cause this problem, but at this point the entire project is a failure.

  4. #4
    Join Date
    Nov 2010
    Posts
    36
    Plugin Contributions
    0

    Default Re: "Whoops! Your session has expired."

    Quote Originally Posted by dbltoe View Post
    First of all, can you tell us the process in getting to 1.5.7a? Did you download the official zip or use some host's "auto installer"?
    Installed with Softaculous, as I had done for previous version which worked perfectly.

    Quote Originally Posted by dbltoe View Post
    Was this an upgrade or an initial install?
    Initial Install

    Quote Originally Posted by dbltoe View Post
    Apparently, you have problems in both the store and the admin. This makes me think there may be some problems in the configure.php files. It's not uncommon to occasionally forget a subfolder in the configs. Make sure you have buzzen in all the right places.
    Will take a look to see what I missed.

    Quote Originally Posted by dbltoe View Post
    The Plugins in the admin is for installing certain plugins. It does not maintain a list of installed plugins. The Mod List mod will come closest to doing that for you but, you should keep a list of mods you install for yourself.
    Thanks for clearing that up.

  5. #5
    Join Date
    Nov 2010
    Posts
    36
    Plugin Contributions
    0

    Default Re: "Whoops! Your session has expired."

    Apparently, you have problems in both the store and the admin. This makes me think there may be some problems in the configure.php files. It's not uncommon to occasionally forget a subfolder in the configs. Make sure you have buzzen in all the right places.
    No paths shown in the zcadmin version, all paths correct in other configure.php version

  6. #6
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,488
    Plugin Contributions
    88

    Default Re: "Whoops! Your session has expired."

    What are your storefront and admin definitions in the respective /includes/configure.php for the various HTTP[S]_SERVER settings?

  7. #7
    Join Date
    Nov 2010
    Posts
    36
    Plugin Contributions
    0

    Default Re: "Whoops! Your session has expired."

    Quote Originally Posted by lat9 View Post
    What are your storefront and admin definitions in the respective /includes/configure.php for the various HTTP[S]_SERVER settings?
    Storefront:

    Code:
    /**
     * Enter the domain for your store
     * HTTP_SERVER is your Main webserver: eg-http://www.yourdomain.com
     * HTTPS_SERVER is your Secure/SSL webserver: eg-https://www.yourdomain.com
     */
    define('HTTP_SERVER', 'http://www.apiarybeekeepingsupplies.com');
    define('HTTPS_SERVER', 'https://www.apiarybeekeepingsupplies.com');
    
    /**
     *  If you want to tell Zen Cart to use your HTTPS URL on sensitive pages like login and checkout, set this to 'true'. Otherwise 'false'. (Keep the quotes)
     */
    define('ENABLE_SSL', 'true');
    
    /**
     * These DIR_WS_xxxx values refer to the name of any subdirectory in which your store is located.
     * These values get added to the HTTP_CATALOG_SERVER and HTTPS_CATALOG_SERVER values to form the complete URLs to your storefront.
     * They should always start and end with a slash ... ie: '/' or '/foldername/'
     */
    define('DIR_WS_CATALOG', '/buzzen/');
    define('DIR_WS_HTTPS_CATALOG', '/buzzen/');
    Admin: There is no reference to HTTPS in the admin version.

  8. #8
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,488
    Plugin Contributions
    88

    Default Re: "Whoops! Your session has expired."

    OK, that/those are the issues.

    First, update your storefront /includes/configure.php, changing the HTTP_SERVER definition to use https. Remember that Zen Cart marks this file as read-only, so you'll need to change permissions before a change can be made.

    Second, update your admin /includes/configure.php, changing all http references to https.

  9. #9
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,149
    Plugin Contributions
    11

    Default Re: "Whoops! Your session has expired."

    Quote Originally Posted by Dijenga View Post
    Admin: There is no reference to HTTPS in the admin version.
    Not so. Admin should look something like *** SYSTEM MESSED UP __ CORRECT IN NEXT POST ***
    And you need to set the http Server to https in the store's config. That makes everything secure.

    NOTE: You won't find folks here that are complimentary of any source for installation other than the official zip.
    Last edited by dbltoe; 23 Jan 2021 at 09:29 PM.

  10. #10
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,149
    Plugin Contributions
    11

    Default Re: "Whoops! Your session has expired."

    Many places in the admin need to be fixed.
    Last edited by dbltoe; 23 Jan 2021 at 09:38 PM. Reason: pasting not working

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Message "Whoops! Your session has expired" after upgrading site
    By slowturltle in forum Upgrading to 1.5.x
    Replies: 13
    Last Post: 24 Dec 2021, 12:23 AM
  2. Replies: 6
    Last Post: 12 Apr 2018, 01:13 AM
  3. Getting the "Whoops! Your session has expired."
    By raphael in forum Installing on a Windows Server
    Replies: 12
    Last Post: 26 Jan 2015, 07:25 PM
  4. Replies: 14
    Last Post: 24 Dec 2012, 02:28 PM
  5. Google Sandbox ok, Live "Whoops! Your session has expired"
    By sduffey in forum Addon Payment Modules
    Replies: 1
    Last Post: 29 Oct 2010, 04:40 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