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
Class 'Piwik\Ini\IniReader' not found #7248
Comments
+1 and it would be nice to include a link to previous versions under the download button for situations like this |
Do you install / update via Git? If so, try to run |
No, downloaded the zip and extracted it over the old zip/install |
Some files were not uploaded correctly, check eg. that files in |
I used the UI-based upgrade and had the same issue. |
That's really weird - anyone else experienced this issue? please leave a comment! |
I made a straight extract from the zip, if there is something missing from the vendor folder the files are missing in the released zip |
can you try again to re-upload all files in |
OK so I was able to reproduce by unzipping 2.10.0 over the failed 2.11. When I rerun the upgrade through the UI, I get:
Upon refresh, I get the
Not sure if this could have anything to do with the |
ping @mnapoli - maybe you have an idea? maybe at some point it would be nice to do a official PHP-di release, now that we've (hopefully) ironed out the DI implementation in Piwik? |
Regarding the IniReader error, could it be that by uploading 2.11 over 2.10 some old files are not deleted and are still loaded by Piwik somehow? @mattab Is that recommended to upload a new Piwik version over an existing one even if we know that Piwik auto-loads some files? Maybe there should be something that clears the old files? @claytondaley & @blodan could you try clearing all the 2.10 files (except the config file) and then upload 2.11? The second error mentioned here (during |
Unzipping 2.11.1 on top of the 2.10 install worked for me -- no need to delete files. I rolled back to 2.10 because I didn't have time to deal with it at that moment. Later, I decided to try and reproduce the error (successfully as it were) so I could provide more info than "it broke". |
actually, removing the entire folder with the 2.10 install and then extracting the 2.11 install and then copying in the config file worked, thanks! On another note, you said you are excluding the .git directories from the zip, you might want to exclude the .gitignore files too in that case as they have no use if one isnt using git |
@blodan yes we could indeed. |
I just did an update about an hour ago through the UI, and the issue is still happening. For informative purposes: this Piwik install started fresh back on 2.1-ish (maybe a bit before), and has always been upgraded through the UI without any issues. I have never had to do a manual update until just now, however, it seems to be back up and working fine. |
Hi,
I just tried upgrading to 2.11.0 but received this error:
PHP Fatal error: Class 'Piwik\Ini\IniReader' not found in /usr/home/www/analytics.203.se/core/Config.php on line 82
So I had to downgrade to 2.10.0 again.
The text was updated successfully, but these errors were encountered: