Hi, I’ve moved my website provider and successfully transferred Piwik as well. I now have the problem, that when trying to log in from mydomain.com/piwik/ I get the following error message:
[quote=“How do I fix this problem and how do I login again? The Piwik Super User can manually edit the file piwik/config/config.ini.php and add the following lines: [General] trusted_hosts[] = “user.server.uberspace.de” After making the change, you will be able to login again.”]
[/quote]
(user is my usersname and server is the server I am on with uberspace (the hoster)).
Now I’m unsure, where in that file to add that line.
config.ini.php looks like:
; <?php exit; ?> DO NOT REMOVE THIS LINE
; file automatically generated or modified by Piwik; you can manually override the default values in global.ini.php by redefining them in this file.
[General]
trusted_hosts[] = “user.server.uberspace.de”
was reluctant because I was afraid to run into more trouble with a beta version. Well during the automatic update something went very wrong. I got the following critical error message:
/var/www/virtual/username/html/piwik/core/Updates/2.0-a13.php:
Error trying to execute the query 'UPDATE piwik_option SET option_name = ‘version_ScheduledReports’ WHERE option_name = ‘version_PDFReports’ '.
The error was: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry ‘version_ScheduledReports’ for key ‘PRIMARY’