I'm installing Lucene Search API on Drupal 5.2, and receiving this strange error:

warning: Zend_Loader::include_once(ZipArchive.php) [function.Zend-Loader-include-once]: failed to open stream: No such file or directory in /Users/tones/htdocs/eff/sites/all/modules/luceneapi/lib/Zend/Loader.php on line 83.

I'm not familiar with the Zend framework, but it seems like this might be indicating that I don't have the Zend framework installed properly? But I don't see a file called ZipArchive.php in Zend, so am not sure why this particular error would be occuring.

Comments

tones’s picture

tones’s picture

this appears to be fixed by implementing this change to Zend.

http://framework.zend.com/issues/browse/ZF-5167

i'm not sure how to submit a patch for this, since the changes need to occur in the Zend library, not the Drupal library.

cpliakas’s picture

Assigned: Unassigned » cpliakas

For now, you can upgrade the version of Zend/Search to the latest 1.7 release (just replace the lib/Zend/Search directory with the latest version), but I am going to come up with a solution to release these bug fixes on SourceForge.net so you don't have to do this process yourself.

cpliakas’s picture

Priority: Normal » Critical

Issue bumped up to critical.

cpliakas’s picture

Status: Active » Fixed

I came up with a better system to address bugs in the ZF components. The installation steps have changed slightly to accommodate the version upgrades. A runtime requirement has been added to alert the admin when an upgraded version of the ZF components is available for the version of the module being used. The release corresponding to the 5.x-1.0-rc5 version fixes the ZipArchive.php issue.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.