Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

add to cart doesn't work-need help


EdyZunaidi

Recommended Posts

please help me..when add item to cart,it's always shown 'Your Shopping Cart is empty!'

i have no idea..im try to solve many way..reffer so many forum but still not done.

 

here my configure.php:

<?php

define('HTTP_SERVER', 'http://www.ead.com.my');

define('HTTPS_SERVER', 'http://www.ead.com.my');

define('ENABLE_SSL', false);

define('HTTP_COOKIE_DOMAIN', 'ead.com.my'); // i also try edit with this 'www.ead.com.my' and '.ead.com.my'

define('HTTPS_COOKIE_DOMAIN', 'ead.com.my'); // i also try edit with this 'www.ead.com.my' and '.ead.com.my'

define('HTTP_COOKIE_PATH', '/estore/');

define('HTTPS_COOKIE_PATH', '/estore/');

define('DIR_WS_HTTP_CATALOG', '/estore/');

define('DIR_WS_HTTPS_CATALOG', '/estore/');

define('DIR_WS_IMAGES', 'images/');

define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');

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', 'pub/');

define('DIR_FS_CATALOG', '/home/ead/public_html/estore/');

define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');

define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

 

define('DB_SERVER', 'localhost'); // i also try edit with this '127.0.0.1'

define('DB_SERVER_USERNAME', 'XXXXXX');

define('DB_SERVER_PASSWORD', 'XXXXXX');

define('DB_DATABASE', 'XXXXXX');

define('USE_PCONNECT', 'false');

define('STORE_SESSIONS', 'mysql');

?>

 

Configuration-session in admin :

 

Force Cookie Use False

Check SSL Session ID False

Check User Agent False

Check IP Address False

Prevent Spider Sessions True

Recreate Session False

 

 

help..i'm newbie with osc and php...

here my problem web www.ead.com.my/estore

Link to comment
Share on other sites

define('DIR_FS_CATALOG', '/home/ead/public_html/estore/'); make sure this is the full path

 

define('DB_SERVER', 'localhost'); // i also try edit with this '127.0.0.1' Check with provider on this some use your

user id.providermysql.com

Link to comment
Share on other sites

define('DIR_FS_CATALOG', '/home/ead/public_html/estore/') <----- i'm realy sure it's the full path

define('DB_SERVER', 'localhost'); <------ this is ok

 

i try create new database...but still same...not working add to cart

 

or this problem related to register global?..need change in application_top..or something like that..

i'm newbie with php..blank about this problem...

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...