[Xapian-discuss] PHP5 example don't understand

iX Gamerz ixgamerz at hotmail.com
Mon Mar 19 12:40:27 GMT 2007


Ok,

I have find something...
I used the simpleIndex.php

I have declared this two value:

$_SERVER['argv'][0] = "/var/lib/omega/data/default";
$_SERVER['argv'][1] = "/var/lib/omega/data/default";

This is the error message

Fatal error: Uncaught exception 'Exception' with message 
'DatabaseOpeningError: Cannot create directory 
`/var/lib/omega/data/default'' in /var/www/xapian/xapian.php:1059 Stack 
trace: #0 /var/www/xapian/xapian.php(1059): 
new_writabledatabase('/var/lib/omega/...', 1) #1 
/var/www/xapian/newfile.php(59): 
XapianWritableDatabase->__construct('/var/lib/omega/...', 1) #2 {main} 
thrown in /var/www/xapian/xapian.php on line 1059

What I need to do?
Thanks for your answer...


>From: "iX Gamerz" <ixgamerz at hotmail.com>
>To: xapian-discuss at lists.xapian.org
>Subject: [Xapian-discuss] PHP5 example don't understand
>Date: Mon, 19 Mar 2007 09:37:38 +0000
>
>Hi,
>
>I have tested the php5 examples find to this adress : 
>http://svn.xapian.org/trunk/xapian-bindings/php/docs/bindings.html?view=co
>
>Phpinfo() give this information:
>
>xapian
>Xapian Support 	enabled
>Xapian Compiled Version 	0.9.9
>Xapian Linked Version 	0.9.9
>
>but the only result, I've got is:
>usage:   [-- ]
>
>I try to display $_SERVER['argv'] variable, but seem to be empty...
>
>I don't understand how to use it.
>
>Can you help me please...
>
>Thanks
>
>Best regards
>
>Ix
>
>_________________________________________________________________
>Fini les pigeons voyageurs: rejoignez enfin l'âge moderne de la 
>communication! http://www.communicationevolved.com/fr-ch/
>
>
>_______________________________________________
>Xapian-discuss mailing list
>Xapian-discuss at lists.xapian.org
>http://lists.xapian.org/mailman/listinfo/xapian-discuss

_________________________________________________________________
Ne prenez pas le risque de mettre le feu à votre bureau pour envoyer un 
message! http://www.communicationevolved.com/fr-ch/




More information about the Xapian-discuss mailing list