Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Sites management, error in the template #877

Closed
anonymous-piwik-user opened this Issue · 5 comments

2 participants

Anonymous Piwik user Anthon Pang
Anonymous Piwik user

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 Piwik user

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

Anthon Pang
Collaborator

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

Anthon Pang
Collaborator

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

Anthon Pang
Collaborator

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

Anthon Pang
Collaborator

(In [1337]) refs #877 - refactored

Anonymous Piwik user anonymous-piwik-user added this to the Piwik 0.4.2 milestone
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.