Totally Zenned
- Join Date:
- Oct 2006
- Location:
- Italy
- Posts:
- 636
- Plugin Contributions:
- 0
green dot on admin who's online
Why I can't see the green dot when customer add a products to cart?
I see always red dot or gray dot.
Views: 3,315
Totally Zenned
Why I can't see the green dot when customer add a products to cart?
I see always red dot or gray dot.
Oba-san
You might check that you have this file:
/admin/images/icon_status_green.gif
and that you can view it directly in your browser ...
Totally Zenned
...at this moment I've a customer with a product in cart: the status icon is gray!
/admin/images/icon_status_green.gif: I see it on browser!
Totally Zenned
it's strange, very strange...
Totally Zenned
I think because safe mode is on: it's right?
Totally Zenned
I'm setup php safe mode to off.
The same.
when customer add product to cart, the dot in who's online remain red (sometimes gray).
Totally Zenned
is there anyone who help me?
Oba-san
Without really seeing your site this is difficult to diagnose, especially knowing you already had at least one setting wrong ...
Totally Zenned
it's very strange, because I've only changed isp (now I've a VirtualPrivateServer).
All setting are the same last, when this function work well.
Totally Zenned
icon_status_red_light
This is the icon when customer have item in cart.
Totally Zenned
no more suggestions? I've still the same problem! I can't see the customers who have items into cart!
Oba-san
Do a view source and find a customer who has products in the cart and check if you can see any reference to the image or not ...
Totally Zenned
excuse me, I don't understand very well. where I do view source: admin or catalog?
this is a screenshot; as you can see the last customer have 2 item in cart, but the dot is always red.

Totally Zenned
100asa:
no more suggestions? I've still the same problem! I can't see the customers who have items into cart!
Have any changes been made to admin/whos_online.php ? Try re-uploading it from the original Zen Cart installation package.
Regards,
Christian.
Totally Zenned
no changes I've made on who's on line.
I've already upload the latest version of who's on line, but the problem remain.
Maybe premission on files/folders?
Maybe session?
I've:
Titolo Valore Azione
Cartella Sessioni /home/web/www.100asa.it/www/cache
Dominio Cookie True Info
Forza utilizzo dei Cookie True Info
Verifica ID Sessione SSL False Info
Verifica User Agent False Info
Verifica Indirizzo IP False Info
Previene Sessioni Spider True Info
Ricrea Sessione True Info
Conversione da IP a Host - Status true
Totally Zenned
Can you actually see what the customer has in his/her cart even though the icon is red/grey instead of green?
Have a look in includes/configure.php and admin/includes/configure.php for a line that looks like...
define('STORE_SESSIONS', 'db'); // use 'db' for best support, or '' for file-based storage
```The line should be the same in both includes/configure.php and admin/includes/configure.php . It may be that the store is using db sessions and the admin is using file sessions (or vice versa).
Regards,
Christian.
Totally Zenned
You're great :-)
I've changed store session from file to db, and now green dot work when customer have item in cart.
question: it's better store session in file or db, to have site very fast?
Totally Zenned
100asa:
it's better store session in file or db, to have site very fast?
I guess that would depend a lot on the server configuration but I doubt you would notice any significant difference either way. Personally I always go with storing the sessions in the database.
Regards,
Christian.
Sensei
The green/red icons are only correct if db-based sessions are in use.
File-based will always show you red icons (these will be removed for file-based session handling in 1.4, leaving no icons when in that mode.)
Tell staff why this post should be reviewed.