Who is online...side admin vs online group pricing mod
Hello,
I have a problem with this function because I can't see if some customers have products in their cart.
If I go in who is online side admin, I see always the user but the status ONLINE is always RED or PINK.
I've tried to put some products in my card and process the order, but the status is always RED, I can't see how many products have in cart the customer.
Which is thge problem?
tnx
Re: Who is online...side admin
Can someone help me to solve this issue?
Re: Who is online...side admin
Never seen anything like it ...
You can try cleaning out your database tables and see if something is causing this but be careful if people are online:
sessions
whos_online
db_cache
Re: Who is online...side admin
Quote:
Originally Posted by
Ajeh
Never seen anything like it ...
You can try cleaning out your database tables and see if something is causing this but be careful if people are online:
sessions
whos_online
db_cache
Thank you Ajeh for your short answer but I've tried to clean these tables...but nothing!
Re: Who is online...side admin
Quote:
Originally Posted by
csfound
Thank you Ajeh for your short answer but I've tried to clean these tables...but nothing!
Maybe because I have disabled in configure.php these?
define('STORE_SESSIONS', '');
define('SQL_CACHE_METHOD', 'none');
Re: Who is online...side admin
I've tried to pud an old version of file whos_online.php (version 1.2.7) and now I can see the status "green" when I insert some products in the shopping cart but I can't click on the icon green for show the cart!
What's wrong?
Re: Who is online...side admin
What happens if you put back the right version of whos_online.php and change your two files:
/includes/configure.php
/admin/includes/configure.php
To use:
Quote:
define('SQL_CACHE_METHOD', 'database');
What are your current Session Settings in your Admin for the Configuration ... Sessions ...
Re: Who is online...side admin
Quote:
Originally Posted by
Ajeh
What happens if you put back the right version of whos_online.php and change your two files:
/includes/configure.php
/admin/includes/configure.php
To use:
What are your current Session Settings in your Admin for the Configuration ... Sessions ...
Thank you for your reply linda,
I tried to put another time "db" and for sql cache session "database" and now I have green icon in the column online. So, one parte is ok but if I click on icon green, I can't see the cart and I receive this error:
Fatal error: Call to undefined function: zen_display_group_pricing() in /includes/classes/shopping_cart.php on line 1048
This is the part of code:
Code:
if ($products = $db->Execute($products_query)) {
$prid = $products->fields['products_id'];
//$products_price = $products->fields['products_price'];
$products_price = zen_display_group_pricing($products->fields['products_price']);
//fix here
/*
$special_price = zen_get_products_special_price($prid);
if ($special_price) {
$products_price = $special_price;
}
*/
$special_price = zen_get_products_special_price($prid);
if ($special_price and $products->fields['products_priced_by_attribute'] == 0) {
$products_price = $special_price;
} else {
$special_price = 0;
}
This is the line 1048 inside the code:
Code:
$products_price = zen_display_group_pricing($products->fields['products_price']);
I made modified only with contribution Online Group Pricing. It permit to have group discount when make login.
NOTE: If I leave "db" in session, I receive this know error:
[select count(*) as total from zen_sessions where sesskey = 'e3a6db917e727dccb3e8d760b6c845ea'] but I know this bug is for PHP 5, I have installed PHP 4.4.4
Can you help me Linda?
Thank you very much
Re: Who is online...side admin vs online group pricing mod
Might check with the author of the add-on as I do not use it ...