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: review dependencies on PHP extensions #1575

Closed
robocoder opened this issue Aug 11, 2010 · 8 comments
Closed

Installation: review dependencies on PHP extensions #1575

robocoder opened this issue Aug 11, 2010 · 8 comments
Assignees
Labels
Bug For errors / faults / flaws / inconsistencies etc.
Milestone

Comments

@robocoder
Copy link
Contributor

In #956, we added a check for the xml extension, but it's only a warning if missing.

However, support requests on the forum (e.g., data is collected but graphs don't display) show that this is insufficient.

@robocoder
Copy link
Contributor Author

The xml extension is enabled in a default php build (like SPL).

@mattab
Copy link
Member

mattab commented Dec 20, 2010

If only the graphs fail to display, then the XML extension is optional (since the report tables will display fine).
However it would be nice to display it nicely (eg. when a user has a partial working Piwik, let him know that the graph don't work because he is missing xml extension)

@robocoder
Copy link
Contributor Author

Temporarily re-opening for investigation. I'm recompiling php on my test box with --disable-xml (and --without-pear) to document what the full impact is.

@robocoder
Copy link
Contributor Author

FYI the FreeBSD ports collection has a dependency check for:

mysql gd pdo pdo_mysql zlib iconv dom json session xml

@robocoder
Copy link
Contributor Author

Base functionality (including graphs) works with --disable-xml.

Going to rebuild without libxml.

@robocoder
Copy link
Contributor Author

Ok... compiling withput libxml also means no xml, xmlreader, xmlwriter, simplexml, or dom.

Graphs still work but:

  • Feedburner stats show:
Fatal error: Class 'SimpleXMLElement' not found in /home/apang/work/piwik/dev/trunk/plugins/ExampleFeedburner/ExampleFeedburner.php on line 112
  • Piwik.org blog shows:
Fatal error: Call to undefined function libxml_use_internal_errors() in /home/apang/work/piwik/dev/trunk/libs/Zend/Feed.php on line 194
  • SEO widget is empty

@robocoder
Copy link
Contributor Author

(In [3504]) fixes #1575 - removed special logic re: json and xml; add generic check for "other extensions" (json, libxml, dom, and SimpleXML)

@robocoder
Copy link
Contributor Author

(In [3505]) refs #1575 - handle missing "session" extension

@robocoder robocoder added this to the Piwik 1.1 milestone Jul 8, 2014
@robocoder robocoder self-assigned this 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