CP Analytics used to work great, but then all of a sudden when I tried to log in to my site, I see this error preventing me from getting to the control panel:
A Database Error Occurred
Error Number: 2006
MySQL server has gone away
SELECT settings FROM exp_extensions WHERE class = 'Cp_analytics_ext' LIMIT 1
Disabling the add-on (by setting the limit parameter to zero in the file acc.cp_analytics.php) restored my control panel.
I cleared my cache, as recommended in this thread and then enabled the add-on again and now it works, but I’m concerned that this may happen again.
I also found this thread, which suggests that it’s a server wait_timeout issue.
I contacted my host (BlueFur.ca) to ask them to boost the wait_timeout on the server as that thread recommended, but they refused. They asked me to “let us know the exact port and IP address used by this plugin so that we can whitelist those with our firewall.” I wasn’t able to determine this. Is this something you can tell me?
Thanks for any help.