Zend Framework

fopen(....): failed to open stream: No such file or directory

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 0.2.0
  • Fix Version/s: 1.6.0
  • Component/s: Zend_Search_Lucene
  • Labels:
    None
  • Fix Version Priority:
    Should Have

Description

Problem is initially reported by Jan Pieper in an FW-General:
-------------------------------------------------------------------------------------------
Subject: [fw-general] problem using Zend_Search_Lucene

I´ve big problems by using Zend_Search_Lucene after the update to version 0.2.

$index = new Zend_Search_Lucene('/var/www/html/private/app/lucene', true);

I get Zend_Search_Lucene_Exception with this message:

Zend_Search_Lucene_Exception caught:
fopen(/var/www/html/private/app/lucene/segments): failed to open stream: No such file or directory

The directory /var/www/html/private/app/lucene/ extists (after running the script).
Changing chmod to 777 and running the script again does not function. I´ll get this exception again.

Whats up? Why this does not function?

– Jan

Activity

Hide
Alexander Veremyev added a comment -

There also was a problem, which looks the same: http://www.nabble.com/Problems-with-....

Show
Alexander Veremyev added a comment - There also was a problem, which looks the same: http://www.nabble.com/Problems-with-....
Hide
Bill Karwin added a comment -

Changing component to Zend_Search_Lucene.

Show
Bill Karwin added a comment - Changing component to Zend_Search_Lucene.
Hide
Alexander Veremyev added a comment -

Thanks Bill!
I've forgotten this. It's already too later here

Show
Alexander Veremyev added a comment - Thanks Bill! I've forgotten this. It's already too later here
Hide
Alexander Veremyev added a comment -

Seems it was fixed with moving to the Lucene 2.1 index format support.

Index lockless processing and index clean-up improvements are finished with the latest Zend_Search_Lucene commits.

Please re-open issue if problem still exists.

Show
Alexander Veremyev added a comment - Seems it was fixed with moving to the Lucene 2.1 index format support. Index lockless processing and index clean-up improvements are finished with the latest Zend_Search_Lucene commits. Please re-open issue if problem still exists.
Hide
Wil Sinclair added a comment -

Updating for the 1.6.0 release.

Show
Wil Sinclair added a comment - Updating for the 1.6.0 release.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: