Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

click the add to cart button and it saids cart empty


Recommended Posts

Posted

I click on an item in my store and when I hit the button,  it says cart is empty

deleted the cart and reload it something.

I don't know what i did wrong..

thank you

verison info below

Version Checker pixel_trans.gif
Installed Version: OSCOM CE Phoenix v1.0.1.1
pixel_trans.gif

You are running the latest version of OSCOM CE Phoenix.

 

Screenshot from 2019-07-26 14-14-50.png

Posted

Check that each of th shopping carts are actualy turned on ie set to true, Then check your error log for clues as to what is failing.

 

Posted
3 hours ago, kalibug said:

I click on an item in my store and when I hit the button,  it says cart is empty

A common cause of that is an incorrectly setup configure file. If it was working before, did you make any recent changes? If it never worked, then post your includes/configure.php file here, without the database credentials near the bottom, and someone will take a look at it.

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

All of My Addons

Get the latest versions of my addons

Recommended SEO Addons

Posted

here both config files.. i did change the admin directory name

but blanked it out.

thank you 

Naomi

shop/includes/

 

<?php
  define('HTTP_SERVER', 'http://herasonlinemarket.com');
  define('HTTPS_SERVER', 'https://herasonlinemarket.com');
  define('ENABLE_SSL', true);
  define('HTTP_COOKIE_DOMAIN', '');
  define('HTTPS_COOKIE_DOMAIN', '');
  define('HTTP_COOKIE_PATH', '/shop/');
  define('HTTPS_COOKIE_PATH', '/shop/');
  define('DIR_WS_HTTP_CATALOG', '/shop/');
  define('DIR_WS_HTTPS_CATALOG', '/shop/');

  define('DIR_FS_CATALOG', '/home/herasonl/public_html/shop/');
  define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
  define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

  define('DB_SERVER', 'localhost');
  define('DB_SERVER_USERNAME', 'xxxxxxxxxxxxx');
  define('DB_SERVER_PASSWORD' ,'xxxxxxxxxxxx');
  define('DB_DATABASE', 'xxxxxxxxxxx');
  define('USE_PCONNECT', 'false');
  define('STORE_SESSIONS', 'mysql');
  define('CFG_TIME_ZONE', 'America/Los_Angeles');

 

 

shop/admin(name has been changed)/includes

define('HTTP_SERVER', 'http://herasonlinemarket.com');
  define('HTTPS_SERVER', 'https://herasonlinemarket.com');
  define('ENABLE_SSL', true);
  define('HTTP_COOKIE_DOMAIN', '');
  define('HTTPS_COOKIE_DOMAIN', '');
  define('HTTP_COOKIE_PATH', '/shop/xxxxxxxxxx');
  define('HTTPS_COOKIE_PATH', '/shop/xxxxxxxxx');
  define('HTTP_CATALOG_SERVER', 'http://herasonlinemarket.com');
  define('HTTPS_CATALOG_SERVER', 'http://herasonlinemarket.com');
  define('ENABLE_SSL_CATALOG', 'true');
  define('DIR_FS_DOCUMENT_ROOT', '/home/herasonl/public_html/shop/');
  define('DIR_WS_ADMIN', '/shop/xxxxxxxxx/');
  define('DIR_WS_HTTPS_ADMIN', '/shop/peacenow/');
  define('DIR_FS_ADMIN', '/home/herasonl/public_html/shop/xxxxxxxxxxx/');
  define('DIR_WS_CATALOG', '/shop/');
  define('DIR_WS_HTTPS_CATALOG', '/shop/');
  define('DIR_FS_CATALOG', '/home/herasonl/public_html/shop/');
  define('DIR_WS_CATALOG_IMAGES', DIR_WS_CATALOG . 'images/');
  define('DIR_WS_CATALOG_LANGUAGES', DIR_WS_CATALOG . 'includes/languages/');
  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_BACKUP', DIR_FS_ADMIN . 'backups/');
  define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
  define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

  define('DB_SERVER', 'localhost');
  define('DB_SERVER_USERNAME', 'xxxxxxxxxxxxxx');
  define('DB_SERVER_PASSWORD', 'xxxxxxxxxxxxxx'');
  define('DB_DATABASE'.'xxxxxxxxxxx');
  define('USE_PCONNECT', 'false');
  define('STORE_SESSIONS', 'mysql');
  define('CFG_TIME_ZONE', 'America/Los_Angeles');

Posted

@kalibug

Also, is your SSL certificate set up correctly  (www.shopname.com -vs- shopname.com) to match your actual URL (you are listing your shop URL *without* the www.). It makes a difference.

Posted
13 minutes ago, kgtee said:

If SSL is enabled, then set the first two lines, both HTTP_SERVER and HTTPS_SERVER to https://herasonlinemarket.com.

This is a classic issue which is not documented anywhere. 😄

yep that was it.. I put in the s and marked it as true.. shopping cart now works.. thank you

i figured it was something stupid i  miss

 

Posted

thank you i got it..seems to work well.. I transferred over from zencart.  I couldn't get the pixel to fire correctly.. I have lots of work.  it's working now,

 

thank you so much

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...