Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

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

Closed
robocoder opened this Issue · 7 comments

2 participants

Anthon Pang Matthieu Aubry
Anthon Pang
Collaborator

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

Anthon Pang
Collaborator

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

Matthieu Aubry
Owner

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

is there a fatal error in this case?

Anthon Pang
Collaborator

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

Anthon Pang
Collaborator

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

Matthieu Aubry
Owner

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

Anthon Pang
Collaborator

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

Anthon Pang
Collaborator

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

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