Zen Cart Logo
Forums / General Questions / strange, very strange: cookie don't work

strange, very strange: cookie don't work

Locked

Views: 1,817

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
10 Jul 2008, 8:32 AM
#1
100asa avatar

100asa

Totally Zenned

Join Date:
Oct 2006
Location:
Italy
Posts:
636
Plugin Contributions:
0

strange, very strange: cookie don't work

If I setup configure.php with
define('STORE_SESSIONS', ' ');
so session is stored in file; in this way with ubuntu machine and latest release of firefox, after many pages read, the round circle of firefox go round, and round... and I can't see any other pages, until I clear the cookie of browser.
Instead if I setup configure.php with store session based on db, all work fine!
The problem is when store session is based on db, sometime site go crash because many query are create on db, and then I must use session based on file.
This problem don't apper on windows machine.
My website based on zencart 1.3.7

11 Jul 2008, 10:24 AM
#2
100asa avatar

100asa

Totally Zenned

Join Date:
Oct 2006
Location:
Italy
Posts:
636
Plugin Contributions:
0

Re: strange, very strange: cookie don't work

perhaps I found where is the problem: when I add additives to a product, not charging the full page, remains in loading, and from that moment, if I open the page on the main site, does not load the page.
Help, please!

11 Jul 2008, 11:42 AM
#3
100asa avatar

100asa

Totally Zenned

Join Date:
Oct 2006
Location:
Italy
Posts:
636
Plugin Contributions:
0

Re: strange, very strange: cookie don't work

Last my test: firefox on ubuntu, don't charge whole page attributes_controller.php
instead firefox on windows, charge whole page attributes_controller.php and don't create any type of problem!

13 Jul 2008, 11:13 AM
#4
wilt avatar

wilt

Oji-san

Join Date:
Jun 2003
Location:
Newcastle UK
Posts:
1,865
Plugin Contributions:
3

Re: strange, very strange: cookie don't work

Hi,

can u provide some details on your server

ie
Ubuntu version
php version
firefox version
apache version

also when you experience the crash how many files are there in your session directory (by default this should be the cache directory)

you can get a quick and dirty count by using the following command inside the cache directory.

ls -l | grep -v ^l | wc -l

13 Jul 2008, 12:55 PM
#5
100asa avatar

100asa

Totally Zenned

Join Date:
Oct 2006
Location:
Italy
Posts:
636
Plugin Contributions:
0

Re: strange, very strange: cookie don't work

wilt:

Hi,

can u provide some details on your server

ie
Ubuntu version --> latest 8.04
php version--> PHP Version 5.2.0-8+etch11
firefox version-->3.0
apache version-->10334100

also when you experience the crash how many files are there in your session directory (by default this should be the cache directory)-->about 15

you can get a quick and dirty count by using the following command inside the cache directory.

ls -l | grep -v ^l | wc -l-->sorry, I don't understand this