I’m using the proxy script to mask the url on the server that hosts the piwik stats, but am not getting any tracking. I enabled debugging and am getting this error message when visiting the
sitename.com/piwik.php script
Parse error: syntax error, unexpected T_IF in /home/directory/public_html/piwik.php on line 59
I’ve looked and line 59 is the line starting with "if(empty($_GET))
see below …
any ideas ?
// DO NOT MODIFY BELOW
// ---------------------------
// 1) PIWIK.JS PROXY: No _GET parameter, we serve the JS file
if(empty($_GET))
{
$modifiedSince = false;
if(isset($_SERVER[‘HTTP_IF_MODIFIED_SINCE’]))
{