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

Variable "enableMeasurePiwikForSiteId" does not exist in "_piwikTag.twig" at line 3 #9079

Closed
ThomasKujawa opened this issue Oct 22, 2015 · 15 comments
Assignees
Labels
answered For when a question was asked and we referred to forum or answered it.
Milestone

Comments

@ThomasKujawa
Copy link

Autoupdate to 2.15.0

Variable "enableMeasurePiwikForSiteId" does not exist in "_piwikTag.twig" at line 3

@ThomasKujawa
Copy link
Author

new download from https://piwik.org/download/

upload via filezilla

and https://piwik.org/docs/update/

but always the same error

Variable "enableMeasurePiwikForSiteId" does not exist in "_piwikTag.twig" at line 3

@bsiege
Copy link

bsiege commented Oct 22, 2015

My solution was: ./console plugin:deactivate Zeitgeist

@buzanits
Copy link

Thanks, bsiege. This also worked for me. It is more a workaround than a solution, but it works!

@ThomasKujawa
Copy link
Author

???

Can you help me, what to do?

I have access with Filezilla and WinScp (putty).

@buzanits
Copy link

This workaround only works if you have shell access (SSH). Can you use putty to login in your server? If you can, go to your piwik installation and type in the command bsiege wrote here.

@ThomasKujawa
Copy link
Author

./console: No such file or directory

:-(

@sgiehl
Copy link
Member

sgiehl commented Oct 23, 2015

Try removing the directory ./plugins/Zeitgeist if it exists.
That one should have been removed with 2.4.0 update. If it still exists maybe Piwik wasn't able to remove due to access rights...

@ThomasKujawa
Copy link
Author

damn.

there is no zeitgeist - directory

@tsteur
Copy link
Member

tsteur commented Oct 26, 2015

It sounds like a file was not overwritten correctly. I recommend to update Piwik manually see https://piwik.org/docs/update/#the-manual-three-step-update

You could maybe also try to update the file plugins/Morpheus/templates/layout.twig with the content of https://raw.githubusercontent.com/piwik/piwik/2.15.0/plugins/Morpheus/templates/layout.twig . If this doesn't fix it you might have a custom theme installed that is still using this file.

@julia-r
Copy link

julia-r commented Oct 30, 2015

Same problem here, also no Zeitgeist plugin...

Edit: Okay, after I manually copied over the new version from the download here http://builds.piwik.org/ it works now.

@tsteur tsteur added the answered For when a question was asked and we referred to forum or answered it. label Oct 31, 2015
@tsteur tsteur added this to the 2.15.1 milestone Oct 31, 2015
@tsteur tsteur self-assigned this Oct 31, 2015
@tsteur
Copy link
Member

tsteur commented Oct 31, 2015

If you experience this issue please manually copy over all files see #9079 (comment) .

@tsteur tsteur closed this as completed Oct 31, 2015
@ThomasKujawa
Copy link
Author

After deleting all files and copy again.

Warnung
Folgende Plugins sind nicht kompatibel mit Piwik 2.15.0 und konnten nicht geladen werden: Feedannotation, ReferrersManager, SecurityInfo, TreemapVisualization, Zeitgeist
Sie können diese Plugins auf der Plugins verwalten Seite aktualisieren oder deinstallieren.

@tsteur
Copy link
Member

tsteur commented Nov 1, 2015

The new files should overwrite all the old files with the same names.

Deleting the files was not needed, only overwriting existing ones in this case. Maybe it should be mentioned a bit more clear in the FAQ @mattab ?

You can download these plugins again by going to Administration => Marketplace. In order to download them, you might have to remove the plugin names from config/config.ini.php file. The plugins might be mentioned in Plugins[] = .... Removing them from PluginsInstalled[] should not be needed and is probably better to leave them there.

@mattab
Copy link
Member

mattab commented Nov 2, 2015

Changed the update guide to: If you upload these files using FTP to your Piwik server, please make sure all files are transferred in binary mode. It is not needed to delete your old Piwik files before transferring the new ones. The new files should overwrite all the old files with the same names. in https://piwik.org/docs/update/#the-manual-three-step-update

@ThomasKujawa
Copy link
Author

thanks to all. problem solved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
answered For when a question was asked and we referred to forum or answered it.
Projects
None yet
Development

No branches or pull requests

7 participants