Fatal error: Cannot redeclare class Piwik_Loader


(danodemano) #1

A couple of days ago I updated our Piwik install from version 0.5.5 to 0.6.1. The upgrade went off without a hitch and everything seemed to be working. Today however I went to log in and as soon as I click “Sign in” get this:

Notice: Constant PIWIK_DOCUMENT_ROOT already defined in C:\Inetpub\wwwroot\piwik\index.php  on line 24

Fatal error: Cannot redeclare class Piwik_Loader in C:\Inetpub\wwwroot\piwik\core\Loader.php on line 19

We are running PHP 5.2.11 under IIS 6. Any thoughts?