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

Sites management, error in the template #877

Closed
anonymous-matomo-user opened this issue Jul 24, 2009 · 5 comments
Closed

Sites management, error in the template #877

anonymous-matomo-user opened this issue Jul 24, 2009 · 5 comments
Labels
Bug For errors / faults / flaws / inconsistencies etc.
Milestone

Comments

@anonymous-matomo-user
Copy link

A problem has been found on this page : http://forum.piwik.org/index.php?showtopic=1261

A non initialized var causes a minor error, it's located in the template file : plugins/CoreHome/templates/piwik_tag.tpl

You can patch the template this way :

Delete the first line :

{if $piwikUrl == 'http://piwik.org/demo/' || $debugTrackVisitsInsidePiwikUI}

Replace by :

{if $piwikUrl == 'http://piwik.org/demo/' || (isset($debugTrackVisitsInsidePiwikUI) && $debugTrackVisitsInsidePiwikUI)}
@anonymous-matomo-user
Copy link
Author

Attachment: plugins/CoreHome/templates/piwik_tag.tpl
piwik_tag.tpl

@robocoder
Copy link
Contributor

That just masks the error. Here's the right fix:

@robocoder
Copy link
Contributor

(In [1331]) fixes #877 - error in template

@robocoder
Copy link
Contributor

(In [1334]) refs #877 - apply changes across all admin plugins

@robocoder
Copy link
Contributor

(In [1337]) refs #877 - refactored

@anonymous-matomo-user anonymous-matomo-user added this to the Piwik 0.4.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.
Projects
None yet
Development

No branches or pull requests

2 participants