Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No data on my site - empty catch clause #2109

Closed
anonymous-matomo-user opened this issue Feb 25, 2011 · 2 comments
Closed

No data on my site - empty catch clause #2109

anonymous-matomo-user opened this issue Feb 25, 2011 · 2 comments
Labels
Bug For errors / faults / flaws / inconsistencies etc. worksforme The issue cannot be reproduced and things work as intended.
Milestone

Comments

@anonymous-matomo-user
Copy link

I set up a hosted Piwik server on Arvixe.com (real smooth setup process - nice job). I pasted the tracking code into the template, but didn't get any hits tracked.

The problem appears to be the empty {} in the catch in the tracking code. My copy of Firebug showed a javascript syntax error there. I've detailed much of it here. http://forum.piwik.org/read.php?2,72601

I did not do a lot of troubleshooting - I tweaked the catch to have a comment in it (see forum posting) and it's working now.

I'm using stock Piwik 1.1.1 on a brand new Arvixe server. I haven't done any other customizations.

I am using Firefox 4.0b11 on a Mac - might that have something to do with it? (I did not try other browsers, etc.)

Rich Brown
Hanover, NH USA

@anonymous-matomo-user
Copy link
Author

Update: I realize that it would help to know how I added the tracking code to my site...

I used nano to paste in the tracking code. The {} was definitely in the source on the host. It's a phpBB 2.0.23 (latest in that older version) site - I'm not sure if it might eat the {} or not.

@robocoder
Copy link
Contributor

This isn't a bug per se. phpb has its own templating system, so some form of escaping is needed. For Smarty, it's using {literal}...{/literal}.

@anonymous-matomo-user anonymous-matomo-user added this to the Piwik 1.2 milestone Jul 8, 2014
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug For errors / faults / flaws / inconsistencies etc. worksforme The issue cannot be reproduced and things work as intended.
Projects
None yet
Development

No branches or pull requests

3 participants