Closed (fixed)
Project:
Google Analytics Tokenizer
Version:
7.x-1.3
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
26 Jan 2011 at 10:04 UTC
Updated:
19 Aug 2013 at 13:58 UTC
Notice: Undefined variable: utmctr in GA_Parse->ParseCookies() (line 49 of /home/quickstart/websites/mydomain.com/sites/all/modules/ga_tokenizer/class.gaparse.php).
Comments
Comment #1
heyyo commentedAnd also these two:
Notice: Undefined variable: utmcct in GA_Parse->ParseCookies() (line 50 of /home/quickstart/websites/mydomain.com/sites/all/modules/ga_tokenizer/class.gaparse.php).Notice: Undefined variable: utmgclid in GA_Parse->ParseCookies() (line 56 of /home/quickstart/websites/rimonim-israel.com/sites/all/modules/ga_tokenizer/class.gaparse.php).Comment #2
Brian294 commentedPlease disable your reverse proxy.
Comment #3
heyyo commentedI'm testing this on my local dev, it's without reverse proxy. It's just a notice of php variable not defined, because they are not present in cookies.
Comment #4
guruslot commentedMet the same problem. Solution change db engine from mysqli to mysql. Hope this helps.
Comment #5
Brian294 commentedYou have your PHP set to display way too much information. Modify your php.ini variable 'error_reporting'. From:
error_reporting = E_ALL
To this:
error_reporting = E_ALL & ~E_NOTICE
Comment #6
Brian294 commentedFixed in 1.1.
Comment #8
netikseo commentedI'm getting the same error wit 7.x-1.3 version:
Notice: Undefined variable: utmctr in GA_Parse->ParseCookies() (line 75 of .../sites/all/modules/ga_tokenizer/class.gaparse.php).
It's annoying as people think it's an error and submitting form again and again. And they are still not sure if they submitted the form or not, because it's "an error message". How to fix this?
Comment #9
netikseo commentedIf someone still having this problem, here is the solution that worked for me:
https://drupal.org/node/1198504#comment-4646322
It's a pity maintainer of this module couldn't post this link himself or fix it (since May)...