Problem after moving to a new server


(Chalipa) #1

hi
i get the following error after login. I have moved my piwik from one provider to another,

Parse error: syntax error, unexpected '.', expecting '&' or variable (T_VARIABLE) in /home/domain2/public_html/data/tmp/templates_c/0/9/09a6f9241f7cc9dd661d1743f690e016558e0fb8856f0eb754aaf8989348fba9.php on line 27

how can i solve this?

thanks


#2

Hi,

you could try following:

  • Delete the entire content of Piwik’s /tmp directory (but not the directory itself)
  • Then, delete browser cache and restart the browser

If there are further issues (due to changed domain or installation directory), you could re-run the Piwik installation, which would be triggered by removing the /config/config.ini.php file. (But back it up before removal, to use it as reference, e.g., with respect to the used DB table prefix.)