Cookie pop up is not closing

Permalink Browser Info Environment
This is on an old site and it's writing a cookie which expires immediately and not 12 months.

var date = new Date(new Date().getTime() + 1000 * 60 * 60 * 24 * 31 * 12); //1 year
document.cookie = cookieName+'=read; path=/; expires=' + date.toUTCString();

Type: Pre-Sale
Status: In Progress
zapbrannigan1972
View Replies:
guyasyou replied on at Permalink Reply
guyasyou
It working correct on Live Demohttps://www.pure-dev.ru/our-packages/pure_cookies_notice....
Can you check current cookies in browser after "acccept" notifications?
https://i.imgur.com/40bgx2D.png...

concrete5 Environment Information

# concrete5 Version
Core Version - 8.3.2
Version Installed - 8.3.2
Database Version - 20180122213656

# concrete5 Packages
Block Designer (3.1.2), Cloneamental (0.9.3), Cookies Notice (1.3.2), ExchangeCore reCAPTCHA (1.1.1), Login/Logout Link (1.0), Login Page Background (0.9.1), Open Graph Tags Lite (2.1.3), SCALA Clear Cache (1.1), Styled Maps (1.2.3)

# concrete5 Overrides
blocks/autonav/templates/responsive_header_navigation/view.js, blocks/autonav/templates/responsive_header_navigation/view.css, blocks/autonav/templates/responsive_header_navigation/view.php, blocks/autonav/templates/responsive_header_navigation, blocks/autonav/templates/breadcrumb.php, blocks/autonav/templates, blocks/autonav, blocks/services_pod/controller.php, blocks/services_pod/composer.php, blocks/services_pod/config.json, blocks/services_pod/add.php, blocks/services_pod/icon.png, blocks/services_pod/db.xml, blocks/services_pod/edit.php, blocks/services_pod/form.php, blocks/services_pod/view.php, blocks/services_pod, blocks/emergency_number/controller.php, blocks/emergency_number/composer.php, blocks/emergency_number/config.json, blocks/emergency_number/add.php, blocks/emergency_number/icon.png, blocks/emergency_number/db.xml, blocks/emergency_number/edit.php, blocks/emergency_number/form.php, blocks/emergency_number/view.php, blocks/emergency_number, blocks/next_previous/view.php, blocks/next_previous, blocks/page_title/templates/byline.php, blocks/page_title/templates, blocks/page_title, blocks/page_list/view.php, blocks/page_list, blocks/featured_news_pod/controller.php, blocks/featured_news_pod/composer.php, blocks/featured_news_pod/config.json, blocks/featured_news_pod/add.php, blocks/featured_news_pod/icon.png, blocks/featured_news_pod/db.xml, blocks/featured_news_pod/edit.php, blocks/featured_news_pod/form.php, blocks/featured_news_pod/view.php, blocks/featured_news_pod, blocks/clinics_pod/controller.php, blocks/clinics_pod/composer.php, blocks/clinics_pod/config.json, blocks/clinics_pod/add.php, blocks/clinics_pod/icon.png, blocks/clinics_pod/db.xml, blocks/clinics_pod/edit.php, blocks/clinics_pod/form.php, blocks/clinics_pod/view.php, blocks/clinics_pod, blocks/infosheets_pods/controller.php, blocks/infosheets_pods/composer.php, blocks/infosheets_pods/config.json, blocks/infosheets_pods/add.php, blocks/infosheets_pods/icon.png, blocks/infosheets_pods/db.xml, blocks/infosheets_pods/edit.php, blocks/infosheets_pods/form.php, blocks/infosheets_pods/view.php, blocks/infosheets_pods, blocks/were_hiring_pod/controller.php, blocks/were_hiring_pod/composer.php, blocks/were_hiring_pod/config.json, blocks/were_hiring_pod/add.php, blocks/were_hiring_pod/icon.png, blocks/were_hiring_pod/db.xml, blocks/were_hiring_pod/edit.php, blocks/were_hiring_pod/form.php, blocks/were_hiring_pod/view.php, blocks/were_hiring_pod, blocks/image_slider/view.css, blocks/image_slider/view.php, blocks/image_slider, blocks/team_biogs/controller.php, blocks/team_biogs/composer.php, blocks/team_biogs/config.json, blocks/team_biogs/add.php, blocks/team_biogs/icon.png, blocks/team_biogs/db.xml, blocks/team_biogs/edit.php, blocks/team_biogs/form.php, blocks/team_biogs/view.php, blocks/team_biogs, blocks/cta_box_lightgrey/controller.php, blocks/cta_box_lightgrey/composer.php, blocks/cta_box_lightgrey/config.json, blocks/cta_box_lightgrey/add.php, blocks/cta_box_lightgrey/icon.png, blocks/cta_box_lightgrey/db.xml, blocks/cta_box_lightgrey/edit.php, blocks/cta_box_lightgrey/form.php, blocks/cta_box_lightgrey/view.php, blocks/cta_box_lightgrey

# concrete5 Cache Settings
Block Cache - On
Overrides Cache - On
Full Page Caching - On - In all cases.
Full Page Cache Lifetime - Every 6 hours (default setting).

# Server Software
Apache

# Server API
fpm-fcgi

# PHP Version
7.0.33

# PHP Extensions
bcmath, bz2, calendar, cgi-fcgi, Core, ctype, curl, date, dba, dom, enchant, exif, fileinfo, filter, ftp, gd, gettext, gmp, hash, iconv, imap, interbase, intl, ionCube Loader, json, ldap, libxml, mbstring, mcrypt, mysqli, mysqlnd, odbc, openssl, pcre, PDO, pdo_dblib, PDO_Firebird, pdo_mysql, PDO_ODBC, pdo_pgsql, pdo_sqlite, pgsql, Phar, posix, pspell, readline, Reflection, session, shmop, SimpleXML, snmp, soap, sockets, SPL, sqlite3, standard, sysvmsg, sysvsem, sysvshm, tidy, tokenizer, xml, xmlreader, xmlrpc, xmlwriter, xsl, Zend OPcache, zip, zlib

# PHP Settings
max_execution_time - 300
log_errors_max_len - 1024
max_file_uploads - 10
max_input_nesting_level - 64
max_input_time - 60
max_input_vars - 2500
memory_limit - 128M
post_max_size - 128M
sql.safe_mode - Off
upload_max_filesize - 128M
ibase.max_links - Unlimited
ibase.max_persistent - Unlimited
ic24.api.max_timeout - 7
ldap.max_links - Unlimited
mysqli.max_links - Unlimited
mysqli.max_persistent - Unlimited
odbc.max_links - Unlimited
odbc.max_persistent - Unlimited
pcre.backtrack_limit - 1000000
pcre.recursion_limit - 100000
pgsql.max_links - Unlimited
pgsql.max_persistent - Unlimited
session.cache_limiter - <i>no value</i>
session.gc_maxlifetime - 7200
soap.wsdl_cache_limit - 5
opcache.max_accelerated_files - 32531
opcache.max_file_size - 0
opcache.max_wasted_percentage - 5

Browser User-Agent String

Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.113 Safari/537.36

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

Click below to request a refund for License #8224129. Assigned to Broome and Ditchingham Preschool.
Created on Mar 15 2020 at 11:12 pm
.