[Xapian-discuss] Xapian DatabaseError

Olly Betts olly at survex.com
Tue Aug 18 02:40:22 BST 2009


On Mon, Aug 17, 2009 at 07:55:07PM +0200, Senior Boss wrote:
> The problem is that if i run the code through the IDE (Zend for
> Eclipse) as PHP script it work correctly, but when i run the
> code as php page I receive the error message: DatabaseOpeningError:
> Couldn't detect type of database. The code is the same but runned in
> two different modality didn't work.

This most likely means that the path passed isn't a database.  I'd check
what the current directory is in the case where it doesn't work.

Cheers,
    Olly



More information about the Xapian-discuss mailing list