Page 1 of 2 12 LastLast
Results 1 to 10 of 12
  1. #1
    Join Date
    Oct 2010
    Location
    Meath, Ireland
    Posts
    25
    Plugin Contributions
    0

    Default "Add to cart" problem: "Your Shopping Cart Is Empty"

    Hi,

    I have a problem with "add to cart" button. I've check all the settings in admin (everything fine) and this button works only for "new product for..." page. On product page and others is saying after clicking "Your Shopping Cart is empty."

    Do you think that's because COWOA is installed?


    ZC v 1.3.9g

    Many thanks.

  2. #2
    Join Date
    Oct 2010
    Location
    Meath, Ireland
    Posts
    25
    Plugin Contributions
    0

    Default Re: "Add to cart" problem

    I upgrade to 1.3.9h and still nothing. Where did I make mistake? Could anyone point me in right direction please - what to check, where to look ...

    Thanks

  3. #3
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,761
    Plugin Contributions
    9

    Default Re: "Add to cart" problem

    As a default install does not exhibit this I suspect that it is from something you have added and maybe incorrectly
    Zen-Venom Get Bitten

  4. #4
    Join Date
    Oct 2010
    Location
    Meath, Ireland
    Posts
    25
    Plugin Contributions
    0

    Default Re: "Add to cart" problem

    Hi Kobra,

    Thanks for reply.

    I check all added mod's and whole structure once again and let know everyone.

    Hope that this time I'll find something.

    Many thanks.

  5. #5
    Join Date
    Oct 2010
    Location
    Meath, Ireland
    Posts
    25
    Plugin Contributions
    0

    Default Re: "Add to cart" problem

    Hi all ,

    COWOA uninstalled, whole structure of additional mod's check, upgraded to v 139h and still nothing. Can not add product to shopping cart. The only thing is that product displayed in "NEW PRODUCT FOR..." can be added to cart anything else nope.

    Can anyone tell me what is going on in my zc?

    Many thanks

  6. #6
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,761
    Plugin Contributions
    9

    Default Re: "Add to cart" problem

    Can anyone tell me what is going on in my zc?
    Back out your add on modules

    OR if you have done this correctly for most that can use overrides and you have done this you can switch to the classic template and see if the issue persists - - this will only narrow the issue to some overridden file in your template structure

    COWOA alters core files BTW - so replace those with standard default files
    Zen-Venom Get Bitten

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

    Default Re: "Add to cart" problem: "Your Shopping Cart Is Empty"

    What's the URL?
    Which browsers are you using? Is it the same with all?
    .

    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. #8
    Join Date
    Oct 2010
    Location
    Meath, Ireland
    Posts
    25
    Plugin Contributions
    0

    Default Re: "Add to cart" problem: "Your Shopping Cart Is Empty"

    Thanks all for advices ...

    I replace all COWOA with standard default files, run SQL from backup in Cpanel and it works !!!

    Problem gone !!!

    Thanks a million, I did not expect that SQL might be an issue... (Sorry - I'm beginner in this).

    BACKUP, BACKUP and once again BACKUP !!!

    P.S. DrByte the problem was with all browser - I test that on Safari, Firefox, Chrome.

  9. #9
    Join Date
    Dec 2011
    Posts
    1
    Plugin Contributions
    0

    Default Re: "Add to cart" problem: "Your Shopping Cart Is Empty"

    One Solution of this problem is to go to configure.php in your folder and set define('STORE_SESSIONS', 'db') to define('STORE_SESSIONS', '')

  10. #10

    Default Re: "Add to cart" problem: "Your Shopping Cart Is Empty"

    Hi Zen Cart community,

    I have encountered the same problem, which came out after the installation of a dedicated SSL certificate with webhostingpad.com. The shopping cart doesn't work properly, in fact when a user click on add item, is redirected to okidoqui.com/shopping_cart that displays "Your Shopping Cart is Empty".

    Some details about my system:
    • Web Site: www.okidoqui.com
    • Server OS: Linux 2.6.18-338.19.1.el5.lve0.8.36
    • PHP Version: 5.2.17
    • Zen Cart 1.3.8a
    • Database Patch Level: 1.3.8


    I already studied previous threads such as:


    and the tutorial:


    I guess that the problem occurs because of the .htaccess file, but I am not sure. Here attached the .htaccess file:

    Code:
    RewriteEngine On
    RewriteCond %{SERVER_PORT} 80
    RewriteRule ^(.*)$ https://www.okidoqui.com/$1 [R,L]
    
    RewriteEngine On
    # -FrontPage-
    
    IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti*
    
    <Limit GET POST>
    order deny,allow
    deny from all
    allow from all
    </Limit>
    <Limit PUT DELETE>
    order deny,allow
    deny from all
    </Limit>
    
    #### BOF SSU
    Options +FollowSymLinks -MultiViews
    RewriteEngine On
    
    RewriteBase /
    
    # Deny access from .htaccess
    RewriteRule ^\.htaccess$ - [F]
    
    RewriteCond %{SCRIPT_FILENAME} -f [OR]
    RewriteCond %{SCRIPT_FILENAME} -d
    RewriteRule .* - [L]
    
    RewriteRule ^(.+) index.php?/$1 [E=VAR1:$1,QSA,L]
    #### EOF SSU
    
    AuthName okidoqui.com
    AuthUserFile /home2/okidoqui/public_html/_vti_pvt/service.pwd
    AuthGroupFile /home2/okidoqui/public_html/_vti_pvt/service.grp
    RewriteCond %{HTTP_HOST} ^.*$
    RewriteRule ^megatradecenter\.com$ "http\:\/\/www\.okidoqui\.com" [R=301,L]
    
    RewriteCond %{HTTP_HOST} ^megatradecenter.com$ [OR]
    RewriteCond %{HTTP_HOST} ^www.megatradecenter.com$
    RewriteRule ^/?$ "http\:\/\/www\.okidoqui\.com" [R=301,L]
    
    RewriteCond %{HTTP_HOST} ^okidoqui\.com$ [OR]
    RewriteCond %{HTTP_HOST} ^www\.okidoqui\.com$
    RewriteRule ^/?$ "https\:\/\/www\.okidoqui\.com\/" [R=301,L]
    
    # From Ultimate SEO URLs
    
    RewriteRule ^(.*)-p-(.*).html$ index\.php?main_page=product_info&products_id=$2&%{QUERY_STRING} [L]
    
    RewriteRule ^(.*)-c-(.*).html$ index\.php?main_page=index&cPath=$2&%{QUERY_STRING} [L]
    
    RewriteRule ^(.*)-m-([0-9]+).html$ index\.php?main_page=index&manufacturers_id=$2&%{QUERY_STRING} [L]
    
    RewriteRule ^(.*)-pi-([0-9]+).html$ index\.php?main_page=popup_image&pID=$2&%{QUERY_STRING} [L]
    
    RewriteRule ^(.*)-pr-([0-9]+).html$ index\.php?main_page=product_reviews&products_id=$2&%{QUERY_STRING} [L]
    
    RewriteRule ^(.*)-pri-([0-9]+).html$ index\.php?main_page=product_reviews_info&products_id=$2&%{QUERY_STRING} [L]
    
    RewriteRule ^(.*)-ezp-([0-9]+).html$ index\.php?main_page=page&id=$2&%{QUERY_STRING} [L]
    
    # For Open Operations Info Manager
    
    RewriteRule ^(.*)-i-([0-9]+).html$ index\.php?main_page=info_manager&pages_id=$2&%{QUERY_STRING} [L]
    
    # For dreamscape's News & Articles Manager
    
    RewriteRule ^news/?$ index\.php?main_page=news&%{QUERY_STRING} [L]
    
    RewriteRule ^news/rss.xml$ index\.php?main_page=news_rss&%{QUERY_STRING} [L]
    
    RewriteRule ^news/archive/?$ index\.php?main_page=news_archive&%{QUERY_STRING} [L]
    
    RewriteRule ^news/([0-9]{4})-([0-9]{2})-([0-9]{2}).html$ index\.php?main_page=news&date=$1-$2-$3&%{QUERY_STRING} [L]
    
    RewriteRule ^news/archive/([0-9]{4})-([0-9]{2}).html$ index\.php?main_page=news_archive&date=$1-$2&%{QUERY_STRING} [L]
    
    RewriteRule ^news/(.*)-a-([0-9]+)-comments.html$ index\.php?main_page=news_comments&article_id=$2&%{QUERY_STRING} [L]
    
    RewriteRule ^news/(.*)-a-([0-9]+).html$ index\.php?main_page=news_article&article_id=$2&%{QUERY_STRING} [L]
    
    # All other pages
    
    # Don't rewrite real files or directories
    
    RewriteCond %{REQUEST_FILENAME} !-f [NC] 
    
    RewriteCond %{REQUEST_FILENAME} !-d
    
    RewriteRule ^(.*).html$ index\.php?main_page=$1&%{QUERY_STRING} [L]
    If I take out the first three lines, which activate the redirection to https, the shopping cart works wonderfully. I need the SSL connection and I need your help.

    You will also find the public_html/includes/configure.php file as follow:


    Code:
    <?php
    /**
     * @package Configuration Settings circa 1.3.8
     * @copyright Copyright 2003-2007 Zen Cart Development Team
     * @copyright Portions Copyright 2003 osCommerce
     * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
     */
     
    //additional keywords for products//
    $oquikeywords = ',deals, cheap price';
    //end additional keywords
    
    /*************** 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.      ***********/
    include_once('includes/config_sites/sites_switch.php');
    
    // Define the webserver and path parameters
      // HTTP_SERVER is your Main webserver: eg-http://www.your_domain.com
      // HTTPS_SERVER is your Secure webserver: eg-https://www.your_domain.com
      define('HTTP_SERVER', 'https://www.okidoqui.com');
      define('HTTPS_SERVER', 'https://www.okidoqui.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', '/');
      define('DIR_WS_HTTPS_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/okidoqui/public_html/');
    
      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');
      define('DB_SERVER_USERNAME', '***************');
      define('DB_SERVER_PASSWORD', '***************');
      define('DB_DATABASE', '**************');
      define('USE_PCONNECT', 'false');
      define('STORE_SESSIONS', 'db');
      // for STORE_SESSIONS, 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/okidoqui/public_html/cache/');
    
    // EOF
    I checked out with the hosting provider, which says that the SSL installation works fine and after looking at the SSL tutorial for Zen Cart, they say that are complying with it.

    Hoping that someone can help me out. Thanks.

    All best :-)

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Replies: 5
    Last Post: 21 Apr 2013, 11:37 PM
  2. v139h SOLVED: When clicking "Add to Cart", message shows "Your Shopping Cart is Empty"
    By bryanearl in forum All Other Contributions/Addons
    Replies: 9
    Last Post: 14 Nov 2012, 05:22 PM
  3. "Add to cart" problem: "Your Shopping Cart Is Empty"
    By weber in forum General Questions
    Replies: 2
    Last Post: 20 Nov 2011, 08:57 PM
  4. Interesting finding on "Your Shopping Cart is Empty" problem
    By swguy in forum Basic Configuration
    Replies: 0
    Last Post: 26 Mar 2011, 10:01 PM
  5. Replies: 16
    Last Post: 21 Apr 2010, 07:38 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