Hi,
I have selected Store Cookie In Internal Cache but for one of my sites but I can see this kind of cookie in request header in chrome:
Cookie __atuvc=8%7C51; __atuvs=5c155c130b6db498007
On other sites it doesn't happen. I even upgraded to latest build.Any Idea why this could be happening? Also how does Store Cookie In Internal Cache exactly work?
Regards,
Store Cookie In Internal Cache
Re: Store Cookie In Internal Cache
Hi,
those cookies are not se by SmartCJ
probably ats? atx?
It saves cookies into filecache
those cookies are not se by SmartCJ
probably ats? atx?
It saves cookies into filecache
Don't forget to run script update
Re: Store Cookie In Internal Cache
I don't use atx or ats on site thats why wondering how the cookie is showing up.
Re: Store Cookie In Internal Cache
Hi,
Thanks, sorry it was cookie from addthis, The cookie is saved in visitors filecache or servers filecache?
Thanks, sorry it was cookie from addthis, The cookie is saved in visitors filecache or servers filecache?
Re: Store Cookie In Internal Cache
Thanks, how do I check if script is storing the cookie properly in the servers Filecache?
Re: Store Cookie In Internal Cache
well, you can set debug out.php in settings to yes
ans then check http headers when you click at thumbs at your site
it should add comments about getting info from cache
ans then check http headers when you click at thumbs at your site
it should add comments about getting info from cache
Don't forget to run script update
Re: Store Cookie In Internal Cache
Hi,
I've been getting these kind errors recently in php logs for sites:
[15-Dec-2018 14:41:37 America/New_York] PHP Fatal error: Uncaught exception 'RedisException' with message 'LOADING Redis is loading the dataset in memory' in /home/httpd/html/domain.com/public_html/scj/includes/libs/cache/redis.cache.php:0
Stack trace:
#0 /home/httpd/html/domain.com/public_html/scj/includes/libs/cache/redis.cache.php(0): Redis->setex()
#1 /home/httpd/html/domain.com/public_html/scj/includes/libs/cache.php(0): RedisCache->set()
#2 /home/httpd/html/domain.com/public_html/scj/includes/libs/Cookie.class.php(0): Cache::set()
#3 /home/httpd/html/domain.com/public_html/out.php(0): Cookie::set()
#4 {main}
thrown in /home/httpd/html/domain.com/public_html/scj/includes/libs/cache/redis.cache.php on line 0
I'm using a mysql server(dbserver) and have redis there, in my config file I have this:
$config['redis_host'] = 'dbserver';
$config['redis_port'] = '6379';
$config['redis_database'] = 2;
Any idea what would be wrong here?
Regards,
I've been getting these kind errors recently in php logs for sites:
[15-Dec-2018 14:41:37 America/New_York] PHP Fatal error: Uncaught exception 'RedisException' with message 'LOADING Redis is loading the dataset in memory' in /home/httpd/html/domain.com/public_html/scj/includes/libs/cache/redis.cache.php:0
Stack trace:
#0 /home/httpd/html/domain.com/public_html/scj/includes/libs/cache/redis.cache.php(0): Redis->setex()
#1 /home/httpd/html/domain.com/public_html/scj/includes/libs/cache.php(0): RedisCache->set()
#2 /home/httpd/html/domain.com/public_html/scj/includes/libs/Cookie.class.php(0): Cache::set()
#3 /home/httpd/html/domain.com/public_html/out.php(0): Cookie::set()
#4 {main}
thrown in /home/httpd/html/domain.com/public_html/scj/includes/libs/cache/redis.cache.php on line 0
I'm using a mysql server(dbserver) and have redis there, in my config file I have this:
$config['redis_host'] = 'dbserver';
$config['redis_port'] = '6379';
$config['redis_database'] = 2;
Any idea what would be wrong here?
Regards,
Re: Store Cookie In Internal Cache
You can safely ignore those messages
as it says "LOADING Redis is loading the dataset in memory" at that moment
as it says "LOADING Redis is loading the dataset in memory" at that moment
Don't forget to run script update
Re: Store Cookie In Internal Cache
Hi,
Thanks for your reply, am also seeing this for sites in php logs:
[17-Dec-2018 02:38:58 America/New_York] PHP Notice: Undefined index: HTTP_HOST in /home/httpd/html/domain.com/public_html/scj/includes/libs/Cookie.class.php on line 10
Any idea what could be causing this?
Thanks for your reply, am also seeing this for sites in php logs:
[17-Dec-2018 02:38:58 America/New_York] PHP Notice: Undefined index: HTTP_HOST in /home/httpd/html/domain.com/public_html/scj/includes/libs/Cookie.class.php on line 10
Any idea what could be causing this?