Skip to content


Subversion checkout URL

You can clone with
Download ZIP


Auto Update to version 0.4.4 throws error #1009

anonymous-piwik-user opened this Issue · 5 comments

2 participants


I followed the process to auto update my install today and got a nasty exception thrown.

A refresh seemed to go through OK, but def. something to look into.

(output attached)


Attachment: Notice: Use of undefined constant PIWIK_USER_PATH - assumed 'PIWIK_USER_PATH' in /home/webb_e/webroot/ on line 44 Backtrace -->#0 Piwik_ErrorHandler(8, Use of undefined constant PIWIK_USER_PATH - assumed 'PIWIK_USER_PATH'


This looks like an incomplete update.

If your tmp/latest folder contains a piwik folder, it's an indicator that the auto-update did not complete successfully. (Please check your max_execution_time in php.ini.)

Either copy tmp/latest/piwik to your root piwik folder, or download and extract. If you re-run the installer, select "reuse existing tables".


The error occurred almost immediately (less than 15 seconds), so it is not an issue of exceed max_ex_time in php(set to 60 seconds on my server).

Also the tmp/latest folder does not contain a piwik folder. The update seemed to complete normally after refreshing (eg updating piwik tables, etc)


Ok, I figured it out. The old CoreUpdater (in memory) is loading the new View.php. I think the fix is to instantiate the view earlier.


(re-)fixed in [& 1523

@anonymous-piwik-user anonymous-piwik-user added this to the Piwik 0.5 milestone
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.