EdyZunaidi Posted September 19, 2011 Posted September 19, 2011 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
MagicalT Posted September 19, 2011 Posted September 19, 2011 Try change to this define('HTTP_COOKIE_DOMAIN', ''); define('HTTPS_COOKIE_DOMAIN', '');
EdyZunaidi Posted September 19, 2011 Author Posted September 19, 2011 Thanks..cal,for your help..but still not working.. i was ready change that way...any idea??
MagicalT Posted September 20, 2011 Posted September 20, 2011 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
EdyZunaidi Posted September 20, 2011 Author Posted September 20, 2011 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...
EdyZunaidi Posted September 20, 2011 Author Posted September 20, 2011 all done...i'm try create new database..and import old sql file(sql file was i backup before) ...it's work.. what really happened actually,someone can explain?
goldoi Posted September 20, 2011 Posted September 20, 2011 Look into catalog/includes/work/ Sometime cache is corrupted. Is cache enabled ? Look into admin/config/cache (not folder, in panel )
Recommended Posts
Archived
This topic is now archived and is closed to further replies.