Guest Posted February 16, 2004 Posted February 16, 2004 I'm using MS 2 which has been running fine, but over the last week I noticed when viewing "Who's Online", it is not showing what is in the customer carts. Running a test cart shows me online but not the cart contents... strange. I'm not sure if this would be something through SQL or a file problem? Anyone having the same issue?
Guest Posted February 16, 2004 Posted February 16, 2004 I replaced the whos_online.php and it still does not show.
bloodshoteyes Posted February 16, 2004 Posted February 16, 2004 The issue I'm having with Whos_on_line are session errors. Waiting for the fix now.
CorneliusH Posted February 18, 2004 Posted February 18, 2004 Hello I have experienced the same problem - any suggestions are welcome. Sincerely Cornelius Who let the dog out ?!!! Newer trust a smiling dog!
Destavator Posted February 18, 2004 Posted February 18, 2004 Im running also 2.2 and it works fine for me...
bloodshoteyes Posted February 19, 2004 Posted February 19, 2004 I have found that most of the sesion errors come from the two configure files. One in catalog/includes/configure.php and the other in admin/includes/configure.php. the very last line is probably just two single quotes. The default is file /tmp but you have to set this up in the root directory to work, I find putting mysql between the quotes works great. I don't believe that whos_online is or will show you what is in a customers shopping cart only what page they are on. To see the shopping cart I believe you have the cache turned on and the pathway set in configure.php and then use cache manager.....
CorneliusH Posted February 19, 2004 Posted February 19, 2004 Hello I don't believe that whos_online is or will show you what is in a customers shopping cart only what page they are on. I'm not a shark to php coding - this is the last part of the whos_online.php script - it look like it will show the items an sub total of the cart for the selected costumer in who's online. Can anyboddy figure out what could be wrong in other osc scripts if this isen't working. if (PHP_VERSION < 4) { $broken_cart = $cart; $cart = new shoppingCart; $cart->unserialize($broken_cart); } if (is_object($cart)) { $products = $cart->get_products(); for ($i=0; $i<sizeof($products); $i++) { $contents[] = array('text' => $products[$i]['quantity'] . ' x ' . $products[$i]['name']); } if (sizeof($products) > 0) { $contents[] = array('text' => tep_draw_separator('pixel_black.gif', '100%', '1')); $contents[] = array('align' => 'right', 'text' => TEXT_SHOPPING_CART_SUBTOTAL . ' ' . $currencies->format($cart->show_total(), true, $currency)); } else { $contents[] = array('text' => ' '); Sincerely Cornelius Who let the dog out ?!!! Newer trust a smiling dog!
CorneliusH Posted February 19, 2004 Posted February 19, 2004 Hello Sometimes it help to ask a question to find the solution self. if (PHP_VERSION < 4) is the key. Change it to a higher digit than your running php version - find that in admin/tools/server info - now it's working again. My web provider has changed their php version from 3.something to 4.3 and the shopping cart functionallity stopped working! Sincerely Cornelius Who let the dog out ?!!! Newer trust a smiling dog!
Guest Posted February 23, 2004 Posted February 23, 2004 It worked! I changed the " if (PHP_VERSION < 4) " to if (PHP_VERSION < 5) and everything works fine now. Thanks.....Jeff
Recommended Posts
Archived
This topic is now archived and is closed to further replies.