Zen Cart Logo
Forums / All Other Contributions/Addons / Cookie Control [Support Thread]

Cookie Control [Support Thread]

Views: 54,574

Results 141 to 160 of 174
28 May 2018, 2:11 PM
#141
design75 avatar

design75

Totally Zenned

Join Date:
Dec 2009
Location:
Amersfoort, The Netherlands
Posts:
2,862
Plugin Contributions:
5

Cookie Control [Support Thread]

did you rename the folder ```
includes\languages\english\extra_definitions\YOUR_TEMPLATE\

> **johnmalone64:**
>
> Have installed this on bobandjamie.co.uk using ZenCart 1.5.5f but a problem as below.
> 
> Attachment 17870
> 
> What have I done wrong ?
28 May 2018, 3:10 PM
#142
marton_1 avatar

marton_1

Totally Zenned

Join Date:
Apr 2013
Location:
eglisau switzerland
Posts:
568
Plugin Contributions:
0

Re: Cookie Control [Support Thread]

johnmalone64:

Have installed this on bobandjamie.co.uk using ZenCart 1.5.5f but a problem as below.

Attachment 17870

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?

28 May 2018, 3:34 PM
#143
marton_1 avatar

marton_1

Totally Zenned

Join Date:
Apr 2013
Location:
eglisau switzerland
Posts:
568
Plugin Contributions:
0

Re: Cookie Control [Support Thread]

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?

22 Nov 2019, 2:45 PM
#144
mikeondraco avatar

mikeondraco

Zen Follower

Join Date:
Feb 2015
Location:
UK
Posts:
165
Plugin Contributions:
0

Re: Cookie Control [Support Thread]

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.
22 Nov 2019, 3:07 PM
#145
design75 avatar

design75

Totally Zenned

Join Date:
Dec 2009
Location:
Amersfoort, The Netherlands
Posts:
2,862
Plugin Contributions:
5

Re: Cookie Control [Support Thread]

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
22 Nov 2019, 4:58 PM
#146
mikeondraco avatar

mikeondraco

Zen Follower

Join Date:
Feb 2015
Location:
UK
Posts:
165
Plugin Contributions:
0

Re: Cookie Control [Support Thread]

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

22 Nov 2019, 5:44 PM
#147
design75 avatar

design75

Totally Zenned

Join Date:
Dec 2009
Location:
Amersfoort, The Netherlands
Posts:
2,862
Plugin Contributions:
5

Re: Cookie Control [Support Thread]

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.

22 Nov 2019, 8:14 PM
#148
design75 avatar

design75

Totally Zenned

Join Date:
Dec 2009
Location:
Amersfoort, The Netherlands
Posts:
2,862
Plugin Contributions:
5

Re: Cookie Control [Support Thread]

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

22 Nov 2019, 9:25 PM
#149
mikeondraco avatar

mikeondraco

Zen Follower

Join Date:
Feb 2015
Location:
UK
Posts:
165
Plugin Contributions:
0

Re: Cookie Control [Support Thread]

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

26 Nov 2019, 11:10 PM
#150
mikeondraco avatar

mikeondraco

Zen Follower

Join Date:
Feb 2015
Location:
UK
Posts:
165
Plugin Contributions:
0

Re: Cookie Control [Support Thread]

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

27 Nov 2019, 6:42 AM
#151
design75 avatar

design75

Totally Zenned

Join Date:
Dec 2009
Location:
Amersfoort, The Netherlands
Posts:
2,862
Plugin Contributions:
5

Re: Cookie Control [Support Thread]

Mikeondraco:

Just reporting back, clean install all working Ok now - thanks again

Michael

Thank you

28 Feb 2020, 9:42 PM
#152
j9mm0 avatar

j9mm0

Zen Follower

Join Date:
Feb 2011
Posts:
106
Plugin Contributions:
0

Re: Cookie Control [Support Thread]

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.

1 Mar 2020, 12:42 AM
#153
j9mm0 avatar

j9mm0

Zen Follower

Join Date:
Feb 2011
Posts:
106
Plugin Contributions:
0

Re: Cookie Control [Support Thread]

Following on from my message above, i am now using mylivechat instead which works really well.
Thanks.

1 Mar 2020, 9:18 AM
#154
torvista avatar

torvista

Totally Zenned

Join Date:
Aug 2007
Location:
Gijón, Asturias, Spain
Posts:
2,869
Plugin Contributions:
7

Re: Cookie Control [Support Thread]

i am now using mylivechat
Does that have cookie control functionality?

25 Jun 2020, 6:46 PM
#155
ianhg avatar

ianhg

Zen Follower

Join Date:
Jul 2007
Posts:
345
Plugin Contributions:
3

Re: Cookie Control [Support Thread]

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

5 Aug 2020, 6:27 PM
#156
heathenmagic avatar

heathenmagic

Totally Zenned

Join Date:
May 2005
Location:
England
Posts:
730
Plugin Contributions:
0

Re: Cookie Control [Support Thread]

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.

14 Apr 2021, 10:52 PM
#157
marton_1 avatar

marton_1

Totally Zenned

Join Date:
Apr 2013
Location:
eglisau switzerland
Posts:
568
Plugin Contributions:
0

Re: Cookie Control [Support Thread]

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

15 Apr 2021, 8:30 AM
#158
marton_1 avatar

marton_1

Totally Zenned

Join Date:
Apr 2013
Location:
eglisau switzerland
Posts:
568
Plugin Contributions:
0

Re: Cookie Control [Support Thread]

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.

28 Apr 2021, 8:39 AM
#159
dlegend10 avatar

dlegend10

New Zenner

Join Date:
Apr 2021
Location:
England
Posts:
3
Plugin Contributions:
0

Re: Cookie Control [Support Thread]

Is it possible to remove the timer from the cookie control and have the consent popup always available until the customer clicks the popup?

29 Apr 2021, 8:16 AM
#160
marton_1 avatar

marton_1

Totally Zenned

Join Date:
Apr 2013
Location:
eglisau switzerland
Posts:
568
Plugin Contributions:
0

Re: Cookie Control [Support Thread]

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();