Fatal error: Call to undefined method setUpSafeMode on oneclick update to 2.0.3


#1

I’ve just tried to update to the latest version and I now get this error,

“Fatal error: Call to undefined method Piwik\FrontController::setUpSafeMode() in /home/tilescou/public_html/piwik/index.php on line 57”

Can anyone help?


(Matthieu Aubry) #2

make sure you uploaded all files, some files have not been updated from 2.0.3 it seems


#3

I followed these instructions and overwrote the previous install.

go into the the directory that contains your existing “piwik/” installation

$ wget http://builds.piwik.org/latest.zip # download latest version
$ unzip -o latest.zip # extract it to “piwik/” directory
$ rm latest.zip # delete the archive and read below the next step


(Matthieu Aubry) #4

This is how the file should look like matomo/FrontController.php at master · matomo-org/matomo · GitHub


#5

I think it must have been some kind of file copying problem. I’ve reinstalled from latest.zip to a new folder and it’s working fine.

Thanks for your help.