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

Installation: catch-22: Spl is required, but is used before systemCheck #1813

Closed
robocoder opened this issue Nov 12, 2010 · 7 comments
Closed
Labels
Bug For errors / faults / flaws / inconsistencies etc.
Milestone

Comments

@robocoder
Copy link
Contributor

HTML_QuickForm2 makes use of Spl's Countable and Iterator classes.

@robocoder
Copy link
Contributor Author

Hmm. This must be triggered somewhere else because the SystemCheck happens earlier, and doesn't use HTML_QuickForm2.

@mattab
Copy link
Member

mattab commented Nov 24, 2010

I'm not sure how to replicate (ie. how do you install without SPL)?

is there a fatal error in this case?

@robocoder
Copy link
Contributor Author

I'll fix this. I just have to build an earlier version of php where I can disable SPL.

@robocoder
Copy link
Contributor Author

Ever since Piwik 0.1, Zend_Registry subclasses SPL's ArrayObject. If SPL is disabled, Piwik silently fails in FrontController init.

@mattab
Copy link
Member

mattab commented Nov 25, 2010

probably the only place to add the test is in /core/testMinimumPhpVersion.php

@robocoder
Copy link
Contributor Author

(In [3356]) fixes #1813 - added SPL test to testMinimumPhpVersion.php

@robocoder
Copy link
Contributor Author

(In [3357]) refs #1813 - fix r3356

@robocoder robocoder added this to the Piwik 1.1 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