Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Auto Update to version 0.4.4 throws error #1009

Closed
anonymous-matomo-user opened this issue Oct 21, 2009 · 5 comments
Closed

Auto Update to version 0.4.4 throws error #1009

anonymous-matomo-user opened this issue Oct 21, 2009 · 5 comments
Labels
Bug For errors / faults / flaws / inconsistencies etc.
Milestone

Comments

@anonymous-matomo-user
Copy link

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)

@anonymous-matomo-user
Copy link
Author

Attachment: Notice: Use of undefined constant PIWIK_USER_PATH - assumed 'PIWIK_USER_PATH' in /home/webb_e/webroot/piwik.baungenjar.com/core/View.php on line 44 Backtrace -->#0 Piwik_ErrorHandler(8, Use of undefined constant PIWIK_USER_PATH - assumed 'PIWIK_USER_PATH'
Piwik_0.4.4.err

@robocoder
Copy link
Contributor

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 latest.zip and extract. If you re-run the installer, select "reuse existing tables".

@anonymous-matomo-user
Copy link
Author

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)

@robocoder
Copy link
Contributor

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.

@robocoder
Copy link
Contributor

(re-)fixed in [& 1523

@anonymous-matomo-user anonymous-matomo-user added this to the Piwik 0.5 milestone Jul 8, 2014
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug For errors / faults / flaws / inconsistencies etc.
Projects
None yet
Development

No branches or pull requests

2 participants