Totally Zenned
- Join Date:
- Dec 2009
- Location:
- Amersfoort, The Netherlands
- Posts:
- 2,862
- Plugin Contributions:
- 5
Views: 54,574
Totally Zenned
Totally Zenned
johnmalone64:
Have installed this on bobandjamie.co.uk using ZenCart 1.5.5f but a problem as below.
What have I done wrong ?
If you move this box up a bit then it looks OK, for example add margin-bottom: 30px; to https://bobandjamie.co.uk/includes/templates/westminster_new/css/stylesheet_cookie_control.css; line 216.
So I assume something on your page is overwriting the cookie control box?
Totally Zenned
marton_1:
If you move this box up a bit then it looks OK, for example add margin-bottom: 30px; to https://bobandjamie.co.uk/includes/templates/westminster_new/css/stylesheet_cookie_control.css; line 216.
So I assume something on your page is overwriting the cookie control box?
The other problem is that the page is not picking up the English words. When you loaded the plugin did you replace every instance of "YOUR_TEMPLATE" with "westminster_new", especially in includes\languages\english\extra_definitions"YOUR_TEMPLATE"\cookie_control.php?
Zen Follower
Just a quick question, I presume this plugin will not work correctly with v1.5.6 and PHP7.2.20? My reason for asking is that I am since upgrading to the above getting this error log:
[22-Nov-2019 14:38:07 UTC] Request URI: /index.php?main_page=cookie_usage, IP address: 46.229.168.147
#1 require(/home/*****/public_html/includes/templates/responsive_classic/jscript/jscript_cookieControl-5.1.min.php) called at [/home/*****/public_html/includes/templates/responsive_classic/common/html_header.php:168]
#2 require(/home/*****/public_html/includes/templates/responsive_classic/common/html_header.php) called at [/home/nw6kjdksvvuf/public_html/index.php:43]
--> PHP Warning: Use of undefined constant COOKIE_CONTROL_ONE_COOKIE - assumed 'COOKIE_CONTROL_ONE_COOKIE' (this will throw an Error in a future version of PHP) in /home/*****/public_html/includes/templates/responsive_classic/jscript/jscript_cookieControl-5.1.min.php on line 4.
[22-Nov-2019 14:38:07 UTC] Request URI: /index.php?main_page=cookie_usage, IP address: 46.229.168.147
#1 require(/home/*****/public_html/includes/templates/responsive_classic/jscript/jscript_cookieControl-5.1.min.php) called at [/home/*****/public_html/includes/templates/responsive_classic/common/html_header.php:168]
#2 require(/home/*****/public_html/includes/templates/responsive_classic/common/html_header.php) called at [/home/*****/public_html/index.php:43]
--> PHP Warning: Use of undefined constant COOKIE_CONTROL_CHECK - assumed 'COOKIE_CONTROL_CHECK' (this will throw an Error in a future version of PHP) in /home/*****/public_html/includes/templates/responsive_classic/jscript/jscript_cookieControl-5.1.min.php on line 4.
[22-Nov-2019 14:38:07 UTC] Request URI: /index.php?main_page=cookie_usage, IP address: 46.229.168.147
#1 require(/home/*****/public_html/includes/templates/responsive_classic/jscript/jscript_cookieControl-5.1.min.php) called at [/home/*****/public_html/includes/templates/responsive_classic/common/html_header.php:168]
#2 require(/home/*****/public_html/includes/templates/responsive_classic/common/html_header.php) called at [/home/*****/public_html/index.php:43]
--> PHP Warning: Use of undefined constant COOKIE_CONTROL_CHECK_EXPLAIN - assumed 'COOKIE_CONTROL_CHECK_EXPLAIN' (this will throw an Error in a future version of PHP) in /home/*****/public_html/includes/templates/responsive_classic/jscript/jscript_cookieControl-5.1.min.php on line 4.
[22-Nov-2019 14:38:07 UTC] Request URI: /index.php?main_page=cookie_usage, IP address: 46.229.168.147
#1 require(/home/*****/public_html/includes/templates/responsive_classic/jscript/jscript_cookieControl-5.1.min.php) called at [/home/*****/public_html/includes/templates/responsive_classic/common/html_header.php:168]
#2 require(/home/*****/public_html/includes/templates/responsive_classic/common/html_header.php) called at [/home/*****/public_html/index.php:43]
--> PHP Warning: Use of undefined constant COOKIE_CONTROL_READ_MORE - assumed 'COOKIE_CONTROL_READ_MORE' (this will throw an Error in a future version of PHP) in /home/*****/public_html/includes/templates/responsive_classic/jscript/jscript_cookieControl-5.1.min.php on line 4.
[22-Nov-2019 14:38:07 UTC] Request URI: /index.php?main_page=cookie_usage, IP address: 46.229.168.147
#1 require(/home/*****/public_html/includes/templates/responsive_classic/jscript/jscript_cookieControl-5.1.min.php) called at [/home/*****/public_html/includes/templates/responsive_classic/common/html_header.php:168]
#2 require(/home/*****/public_html/includes/templates/responsive_classic/common/html_header.php) called at [/home/*****/public_html/index.php:43]
--> PHP Warning: Use of undefined constant COOKIE_CONTROL_READ_LESS - assumed 'COOKIE_CONTROL_READ_LESS' (this will throw an Error in a future version of PHP) in /home/*****/public_html/includes/templates/responsive_classic/jscript/jscript_cookieControl-5.1.min.php on line 4.
[22-Nov-2019 14:38:07 UTC] Request URI: /index.php?main_page=cookie_usage, IP address: 46.229.168.147
#1 require(/home/*****/public_html/includes/templates/responsive_classic/jscript/jscript_cookieControl-5.1.min.php) called at [/home/*****/public_html/includes/templates/responsive_classic/common/html_header.php:168]
#2 require(/home/*****/public_html/includes/templates/responsive_classic/common/html_header.php) called at [/home/*****/public_html/index.php:43]
--> PHP Warning: Use of undefined constant COOKIE_CONTROL_READ_MORE - assumed 'COOKIE_CONTROL_READ_MORE' (this will throw an Error in a future version of PHP) in /home/*****/public_html/includes/templates/responsive_classic/jscript/jscript_cookieControl-5.1.min.php on line 4.
Totally Zenned
Mikeondraco:
Just a quick question, I presume this plugin will not work correctly with v1.5.6 and PHP7.2.20? My reason for asking is that I am since upgrading to the above getting this error log:
[22-Nov-2019 14:38:07 UTC] Request URI: /index.php?main_page=cookie_usage, IP address: 46.229.168.147
#1 require(/home//public_html/includes/templates/responsive_classic/jscript/jscript_cookieControl-5.1.min.php) called at [/home//public_html/includes/templates/responsive_classic/common/html_header.php:168]
#2 require(/home//public_html/includes/templates/responsive_classic/common/html_header.php) called at [/home/nw6kjdksvvuf/public_html/index.php:43]
--> PHP Warning: Use of undefined constant COOKIE_CONTROL_ONE_COOKIE - assumed 'COOKIE_CONTROL_ONE_COOKIE' (this will throw an Error in a future version of PHP) in /home//public_html/includes/templates/responsive_classic/jscript/jscript_cookieControl-5.1.min.php on line 4.
[22-Nov-2019 14:38:07 UTC] Request URI: /index.php?main_page=cookie_usage, IP address: 46.229.168.147
#1 require(/home//public_html/includes/templates/responsive_classic/jscript/jscript_cookieControl-5.1.min.php) called at [/home//public_html/includes/templates/responsive_classic/common/html_header.php:168]
#2 require(/home//public_html/includes/templates/responsive_classic/common/html_header.php) called at [/home//public_html/index.php:43]
--> PHP Warning: Use of undefined constant COOKIE_CONTROL_CHECK - assumed 'COOKIE_CONTROL_CHECK' (this will throw an Error in a future version of PHP) in /home/*****/public_html/includes/templates/responsive_classic/jscript/jscript_cookieControl-5.1.min.php on line 4.
[22-Nov-2019 14:38:07 UTC] Request URI: /index.php?main_page=cookie_usage, IP address: 46.229.168.147
#1 require(/home//public_html/includes/templates/responsive_classic/jscript/jscript_cookieControl-5.1.min.php) called at [/home//public_html/includes/templates/responsive_classic/common/html_header.php:168]
#2 require(/home//public_html/includes/templates/responsive_classic/common/html_header.php) called at [/home//public_html/index.php:43]
--> PHP Warning: Use of undefined constant COOKIE_CONTROL_CHECK_EXPLAIN - assumed 'COOKIE_CONTROL_CHECK_EXPLAIN' (this will throw an Error in a future version of PHP) in /home/*****/public_html/includes/templates/responsive_classic/jscript/jscript_cookieControl-5.1.min.php on line 4.
[22-Nov-2019 14:38:07 UTC] Request URI: /index.php?main_page=cookie_usage, IP address: 46.229.168.147
#1 require(/home//public_html/includes/templates/responsive_classic/jscript/jscript_cookieControl-5.1.min.php) called at [/home//public_html/includes/templates/responsive_classic/common/html_header.php:168]
#2 require(/home//public_html/includes/templates/responsive_classic/common/html_header.php) called at [/home//public_html/index.php:43]
--> PHP Warning: Use of undefined constant COOKIE_CONTROL_READ_MORE - assumed 'COOKIE_CONTROL_READ_MORE' (this will throw an Error in a future version of PHP) in /home/*****/public_html/includes/templates/responsive_classic/jscript/jscript_cookieControl-5.1.min.php on line 4.
[22-Nov-2019 14:38:07 UTC] Request URI: /index.php?main_page=cookie_usage, IP address: 46.229.168.147
#1 require(/home//public_html/includes/templates/responsive_classic/jscript/jscript_cookieControl-5.1.min.php) called at [/home//public_html/includes/templates/responsive_classic/common/html_header.php:168]
#2 require(/home//public_html/includes/templates/responsive_classic/common/html_header.php) called at [/home//public_html/index.php:43]
--> PHP Warning: Use of undefined constant COOKIE_CONTROL_READ_LESS - assumed 'COOKIE_CONTROL_READ_LESS' (this will throw an Error in a future version of PHP) in /home/*****/public_html/includes/templates/responsive_classic/jscript/jscript_cookieControl-5.1.min.php on line 4.
[22-Nov-2019 14:38:07 UTC] Request URI: /index.php?main_page=cookie_usage, IP address: 46.229.168.147
#1 require(/home//public_html/includes/templates/responsive_classic/jscript/jscript_cookieControl-5.1.min.php) called at [/home//public_html/includes/templates/responsive_classic/common/html_header.php:168]
#2 require(/home//public_html/includes/templates/responsive_classic/common/html_header.php) called at [/home//public_html/index.php:43]
--> PHP Warning: Use of undefined constant COOKIE_CONTROL_READ_MORE - assumed 'COOKIE_CONTROL_READ_MORE' (this will throw an Error in a future version of PHP) in /home/*****/public_html/includes/templates/responsive_classic/jscript/jscript_cookieControl-5.1.min.php on line 4.
I have not looked at the a long time, bu I suspect you forgot to copy
"includes\languages\YOUR_LANGUAGE\extra_definitions\YOUR_TEMPLATE\cookie_control.php"
to your server. Where YOUR_LANGUAGE stands for the language folder in use, and YOUR_TEMPLATE for the template folder you use
Zen Follower
Design75:
I have not looked at the a long time, bu I suspect you forgot to copy
"includes\languages\YOUR_LANGUAGE\extra_definitions\YOUR_TEMPLATE\cookie_control.php"
to your server. Where YOUR_LANGUAGE stands for the language folder in use, and YOUR_TEMPLATE for the template folder you use
Thanks for your reply. No all files were copied over and today deleted to stop the error logs. I can onfirm that the above file was present.
Michael
Totally Zenned
Mikeondraco:
Thanks for your reply. No all files were copied over and today deleted to stop the error logs. I can onfirm that the above file was present.
Michael
Ok then I need to setup a test environment. I'll get back to you later.
Totally Zenned
I have set up a test site on Zen Cart 1.5.6c, and PHP 7.3 (https://cittins.zen4all-dev.nl/)
And everything is working okay, except for a known (minor) javascript bug
Zen Follower
Design75:
I have set up a test site on Zen Cart 1.5.6c, and PHP 7.3 (https://cittins.zen4all-dev.nl/)
And everything is working okay, except for a known (minor) javascript bug
Ok, many thanks for your time and effort, I will do a clean reinstall of the plug-in. Obviously some odd corruption at my end.
Thanks again ... Michael
Zen Follower
Design75:
I have set up a test site on Zen Cart 1.5.6c, and PHP 7.3 (https://cittins.zen4all-dev.nl/)
And everything is working okay, except for a known (minor) javascript bug
Just reporting back, clean install all working Ok now - thanks again
Michael
Totally Zenned
Mikeondraco:
Just reporting back, clean install all working Ok now - thanks again
Michael
Thank you
Zen Follower
Hi All,
I've searched the forums and finally installed, what seems to be the only cookie control available (https://www.zen-cart.com/downloads.php?do=file&id=1476). and it doesn't mention its compatibility with 1.55 (1.51 only) but i went ahead anyway.
Once installed the cookie control didn't pop-up at all and it messed with my main page by introducing left sideboxes and also increased the main page width. I played around with this to try and put things back and make the cookie control appear but to no avail.
Therefore i reverted back to before this was installed.
My question is, are there any more free cookie controls available for v1.55e or has anyone else had this problem?
https://www.selfbuildplans.co.uk
Thanks.
Zen Follower
Following on from my message above, i am now using mylivechat instead which works really well.
Thanks.
Totally Zenned
i am now using mylivechat
Does that have cookie control functionality?
Zen Follower
Design75:
I have set up a test site on Zen Cart 1.5.6c, and PHP 7.3 (https://cittins.zen4all-dev.nl/)
And everything is working okay, except for a known (minor) javascript bug
All appears to working well with Zencart 1.5.7 PHP7.3
Totally Zenned
Hello there,
I just wondered if Google Analytics is required still for this module to work? On Gmetrix it reports google analytics is being served 3 times and could be reduced to 1. I don't have google analytics and the only reference to it is cookie control. Thanks in advance.
Totally Zenned
I installed another plugin and got a "Warning: Headers already sent..."
I could [eventually] fix this by removing the spaces at the start of line 5 before the // in jscript_cookieControl-5.1.min.
I have been using the cookie control plugin for years with no problem
Totally Zenned
marton_1:
I installed another plugin and got a "Warning: Headers already sent..."
I could [eventually] fix this by removing the spaces at the start of line 5 before the // in jscript_cookieControl-5.1.min.
I have been using the cookie control plugin for years with no problem
Weirdness!! Help
As mentioned yesterday I installed a new test version of the mypos credit card payment plugin then made the change to jscript_cookieControl-5.1.min.php and I could make a test payment OK.
Here is the confirmation to prove I was not dreaming :)
Payment
MYPOS *SIMONE / Payment via myPOS Online, 15.04.2021 01:31 0.05 CHF
Now today I ran another test but that failed and I got the "Warning: Headers already sent..." error message again, there is a copy below I just changed the "mytemplate". And yes I did check I am using my changed jscript_cookieControl-5.1.min.php.
[15-Apr-2021 10:00:26 Europe/Zurich] Request URI: /catalog/index.php?main_page=checkout_confirmation, IP address: 88.151.150.xxx
#1 header() called at [/includes/functions/functions_general.php:42]
#2 zen_redirect() called at [/includes/modules/payment/mypos_virtual.php:226]
#3 mypos_virtual->confirmation() called at [/includes/classes/payment.php:223]
#4 payment->confirmation() called at [/includes/templates/mytemplate/templates/tpl_checkout_confirmation_default.php:67]
#5 require(/includes/templates/mytemplate/templates/tpl_checkout_confirmation_default.php) called at [/includes/templates/mytemplate/common/tpl_main_page.php:275]
#6 require(/includes/templates/mytemplate/common/tpl_main_page.php) called at [/index.php:94]
--> PHP Warning: Cannot modify header information - headers already sent by (output started at /includes/templates/mytemplate/jscript/jscript_cookieControl-5.1.min.php:4) in /includes/functions/functions_general.php on line 42.
I hate it when there is a conflict between two plugins, due to the divided ownership responsibilities.
New Zenner
Is it possible to remove the timer from the cookie control and have the consent popup always available until the customer clicks the popup?
Totally Zenned
marton_1:
Weirdness!! Help
As mentioned yesterday I installed a new test version of the mypos credit card payment plugin then made the change to jscript_cookieControl-5.1.min.php and I could make a test payment OK.
Here is the confirmation to prove I was not dreaming :)
Payment
MYPOS *SIMONE / Payment via myPOS Online, 15.04.2021 01:31 0.05 CHF
>
> Now today I ran another test but that failed and I got the "Warning: Headers already sent..." error message again, there is a copy below I just changed the "mytemplate". And yes I did check I am using my changed jscript_cookieControl-5.1.min.php.
> ```
[15-Apr-2021 10:00:26 Europe/Zurich] Request URI: /catalog/index.php?main_page=checkout_confirmation, IP address: 88.151.150.xxx
#1 header() called at [/includes/functions/functions_general.php:42]
#2 zen_redirect() called at [/includes/modules/payment/mypos_virtual.php:226]
#3 mypos_virtual->confirmation() called at [/includes/classes/payment.php:223]
#4 payment->confirmation() called at [/includes/templates/mytemplate/templates/tpl_checkout_confirmation_default.php:67]
#5 require(/includes/templates/mytemplate/templates/tpl_checkout_confirmation_default.php) called at [/includes/templates/mytemplate/common/tpl_main_page.php:275]
#6 require(/includes/templates/mytemplate/common/tpl_main_page.php) called at [/index.php:94]
--> PHP Warning: Cannot modify header information - headers already sent by (output started at /includes/templates/mytemplate/jscript/jscript_cookieControl-5.1.min.php:4) in /includes/functions/functions_general.php on line 42.
I hate it when there is a conflict between two plugins, due to the divided ownership responsibilities.
Just to close this off I could fix the "Warning: Headers already sent..." error message in the mypos credit card payment plugin by adding ```
ob_start();
Tell staff why this post should be reviewed.