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

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

Link to comment
Share on other sites

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.

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

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');

Link to comment
Share on other sites

@kalibug Besides the two changes mentioned, you need to change all of the instances of http: to https. The first one in the admin is a security hole.

Support Links:

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

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...