IBogomol Posted December 4, 2004 Posted December 4, 2004 The reasons are absolutely not known. At addition of a product in shopping cart the corresponding window opens. There the text "Your Shopping Cart is empty!". It can has taken place after updating the versions of the some php-files. In my shop practically there are no sales. I not at once have found out this mistake. I not the programmer, can anybody will help me? I think that a problem in Shopping_cart.php file. I have small knowledge HTML and i am using "HomeSite5". I am sorry, i am very bad speak English. Iliya
Guest Posted December 4, 2004 Posted December 4, 2004 Hi Iliya :) Can you post a link to your site, so I can see if maybe I can help you?
Syllables Posted December 4, 2004 Posted December 4, 2004 Hi Iliya :) Can you post a link to your site, so I can see if maybe I can help you? <{POST_SNAPBACK}> I have exactly the same problem at http://www.downinthecountry.com/shop/ It's a fresh install with only the compnay configs done; all products are from the dist. Haven't spent much time mucking with it when I saw Iliya's message. It's GOT to be something dumb
Guest Posted December 4, 2004 Posted December 4, 2004 most likely a cookie setting, post your configure.php file here WITHOUT the database name, username and password
Syllables Posted December 4, 2004 Posted December 4, 2004 most likely a cookie setting, post your configure.php file here WITHOUT the database name, username and password <{POST_SNAPBACK}> <?php // Please, note that all changes in this file will be lost // after reconfiguring application by Plesk define('HTTP_SERVER', 'http://downinthecountry.com'); define('HTTPS_SERVER', 'http://downinthecountry.com'); define('ENABLE_SSL', 'false'); define('HTTP_COOKIE_DOMAIN', 'downinthecountry.com'); define('HTTPS_COOKIE_DOMAIN', 'downinthecountry.com'); define('HTTP_COOKIE_PATH', '/shop/'); define('DIR_WS_HTTP_CATALOG', '/shop/'); define('DIR_WS_HTTPS_CATALOG', '/shop/'); 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', dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME'])); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); // define our database connection define('DB_SERVER', 'localhost'); define('DB_SERVER_USERNAME', '*************'); define('DB_SERVER_PASSWORD', '************'); define('DB_DATABASE', '***********'); define('USE_PCONNECT', 'false'); define('STORE_SESSIONS', ''); ?>
Syllables Posted December 4, 2004 Posted December 4, 2004 Fixed: addition of: php_flag register_globals on in .htaccess in the shop/ directory did the job. Does anyone know whether this opens huge security concerns?
tammy507 Posted December 9, 2004 Posted December 9, 2004 Hello everyone! I had OSC installed and all was a-okay FOR MONTHS! Then customers started complaining that thier cart was emptying while shopping. My store was heavily modified and I couldn't find a way to fix it, sooooooooooo with it being the X-mas shopping season and needing a quick fix I deleted my store, and reinstalled FRESH. (saved mysql and transferrred customers and products of course!) So here I am with a fresh install, NO MODS added, and the very first customer says this: Hi Tammy The cart doesn't work very well still. Adding things occasionally deletes all the items in there already. Not sure if it's when browsing and using the back key after looking at a photo. Can't be sure when it does it. Regards William I cant figure out how to fix it, its driving me crazy! Here is a copy of my config: <?php/* osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright © 2003 osCommerce Released under the GNU General Public License */ // Define the webserver and path parameters // * DIR_FS_* = Filesystem directories (local/physical) // * DIR_WS_* = Webserver directories (virtual/URL) define('HTTP_SERVER', 'http://www.discountcelebrityphoto.com'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', 'https://srv03.datona-1.com/discountcelebrityphoto.com'); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', true); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', 'www.discountcelebrityphoto.com'); define('HTTPS_COOKIE_DOMAIN', 'srv03.datona-1.com/discountcelebrityphoto.com'); define('HTTP_COOKIE_PATH', '/'); define('HTTPS_COOKIE_PATH', '/'); define('DIR_WS_HTTP_CATALOG', '/'); define('DIR_WS_HTTPS_CATALOG', '/'); 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', '/var/www/html/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); // define our database connection define('DB_SERVER', '127.0.0.1'); // eg, localhost - should not be empty for productive servers define('DB_SERVER_USERNAME', 'XXXXXXX'); define('DB_SERVER_PASSWORD', 'XXXXXX'); define('DB_DATABASE', 'discountcelebrityphoto_com_-_shop'); define('USE_PCONNECT', 'false'); // use persistent connections? define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql' ?> Any help would be greatly appreciated! Thanks Tammy
risonav Posted December 17, 2004 Posted December 17, 2004 Tammy, I am having the same problem! Just started happening and one of my customers pointed it out. Did you find a fix? Jen www.BlueYonderGirl.com Jen
tammy507 Posted December 22, 2004 Posted December 22, 2004 Tammy, I am having the same problem! Just started happening and one of my customers pointed it out. Did you find a fix? Jen www.BlueYonderGirl.com <{POST_SNAPBACK}> No, I havent found a fix. Seriously considering moving over to X-Cart. Yres it will cost me $100 - $200 but thats the price Im willing to pay NOT to have these unfixable headaches. Tammy
Recommended Posts
Archived
This topic is now archived and is closed to further replies.