Ticket #783 (closed Bug: fixed)
Piwik includes wrong Zend library
| Reported by: | feyp | Owned by: | vipsoft |
|---|---|---|---|
| Priority: | major | Milestone: | Piwik 0.4.1 |
| Component: | Core | Keywords: | |
| Cc: | Sensitive: |
Description
On my server, the default include path of PHP looks like this:
.:/usr/share/php:/opt/zend
I recently upgraded the Zend libarary in /opt/zend to 1.8.2 and got this error in the Piwik.org Blog plugin:
File "Com.php" was loaded but class "Zend_Validate_Hostname_Com" was not found in the file
After I removed /opt/zend from the include path for Piwik's virtual host, the error was gone.
It seems that Piwik somehow handles inclusion of the Zend library in the wrong way. If Piwik handled the include path correctly, there should be no interference of the library in /opt/zend with the one shipped by Piwik, because the working directory (".") is always checked first.
