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

Closed
robocoder opened this Issue Nov 12, 2010 · 7 comments

2 participants

@robocoder

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

@robocoder

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

@mattab
Piwik Open Source Analytics member

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

is there a fatal error in this case?

@robocoder

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

@robocoder

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

@mattab
Piwik Open Source Analytics member

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

@robocoder

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

@robocoder

(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