Piwik - Expected '{'


#1

Hi

I’m trying to use Piwik with mahara (http://mahara.org/) and it fails to send any stats from mahara to the Piwik server.

When usign the IE 9 script debugging tools to shows: Expected ‘{’

This is despite cut and pasting the tracking code from piwik into the mahara footer file.

My Piwik install works fine with my Moodle and serval other sites so I know that’s working fine.


(Matthieu Aubry) #2

Probably the code wasn’t paste correctly, please put your website URL where piwik does not work?


#3

I’ve pm’d it to you


(Matthieu Aubry) #4

Your code is lacking the {} after catch(err)


#5

That’s just it though. In the actual code on the file it’s not missing that part of the code.

My IDE (PHPstorm) does flag that ‘}’ as ‘reference expected’ though