Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

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

Closed
robocoder opened this Issue · 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
Owner

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
Owner

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
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.