Results 1 to 9 of 9
  1. #1
    Join Date
    Oct 2005
    Posts
    27
    Plugin Contributions
    0

    Default 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

  2. #2
    Join Date
    Oct 2005
    Posts
    27
    Plugin Contributions
    0

    Default Re: Who is online...side admin

    Can someone help me to solve this issue?

  3. #3
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default 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
    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: v1.5.5]
    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!

  4. #4
    Join Date
    Oct 2005
    Posts
    27
    Plugin Contributions
    0

    Default Re: Who is online...side admin

    Quote Originally Posted by Ajeh View Post
    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!

  5. #5
    Join Date
    Oct 2005
    Posts
    27
    Plugin Contributions
    0

    Default Re: Who is online...side admin

    Quote Originally Posted by csfound View Post
    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');

  6. #6
    Join Date
    Oct 2005
    Posts
    27
    Plugin Contributions
    0

    Default 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?

  7. #7
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default 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:
    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: v1.5.5]
    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!

  8. #8
    Join Date
    Oct 2005
    Posts
    27
    Plugin Contributions
    0

    Default Re: Who is online...side admin

    Quote Originally Posted by Ajeh View Post
    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

  9. #9
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default 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: v1.5.5]
    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!

 

 

Similar Threads

  1. Online Group Pricing
    By darrell in forum All Other Contributions/Addons
    Replies: 122
    Last Post: 20 May 2015, 07:24 PM
  2. online group pricing vs group pricing per item working with sale maker
    By giftsandwhatnot in forum Addon Payment Modules
    Replies: 1
    Last Post: 24 Oct 2011, 09:22 AM
  3. Who's Online - User gone, but Admin says online
    By johnd in forum General Questions
    Replies: 2
    Last Post: 23 Sep 2007, 01:57 AM
  4. Online Group Pricing
    By brynn in forum All Other Contributions/Addons
    Replies: 2
    Last Post: 15 Jan 2007, 10:13 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR