Forums / General Questions / Who is online...side admin vs online group pricing mod

Who is online...side admin vs online group pricing mod

Locked

Views: 4,850

Results 1 to 9 of 9
This thread is locked. New replies are disabled.
14 Jul 2007, 11:02 AM
#1
csfound avatar

csfound

New Zenner

Join Date:
Oct 2005
Posts:
23
Plugin Contributions:
0

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

14 Jul 2007, 8:55 PM
#2
csfound avatar

csfound

New Zenner

Join Date:
Oct 2005
Posts:
23
Plugin Contributions:
0

Re: Who is online...side admin vs online group pricing mod

Can someone help me to solve this issue?

14 Jul 2007, 9:15 PM
#3
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Who is online...side admin vs online group pricing mod

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

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

14 Jul 2007, 9:50 PM
#4
csfound avatar

csfound

New Zenner

Join Date:
Oct 2005
Posts:
23
Plugin Contributions:
0

Re: Who is online...side admin vs online group pricing mod

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!

14 Jul 2007, 10:05 PM
#5
csfound avatar

csfound

New Zenner

Join Date:
Oct 2005
Posts:
23
Plugin Contributions:
0

Re: Who is online...side admin vs online group pricing mod

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');

15 Jul 2007, 10:20 AM
#6
csfound avatar

csfound

New Zenner

Join Date:
Oct 2005
Posts:
23
Plugin Contributions:
0

Re: Who is online...side admin vs online group pricing mod

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?

15 Jul 2007, 3:01 PM
#7
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Who is online...side admin vs online group pricing mod

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:

define('SQL_CACHE_METHOD', 'database');

What are your current Session Settings in your Admin for the Configuration ... Sessions ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

17 Jul 2007, 10:02 PM
#8
csfound avatar

csfound

New Zenner

Join Date:
Oct 2005
Posts:
23
Plugin Contributions:
0

Re: Who is online...side admin vs online group pricing mod

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:

 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:

$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

18 Jul 2007, 3:27 AM
#9
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

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 ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!