[Xapian-discuss] problem with add_document() in php-binding for xapian 1.0.4

Daniel Ménard Daniel.Menard at bdsp.tm.fr
Tue Nov 13 14:15:43 GMT 2007


Vasiliy Sergeev a écrit :
> $xapianDoc = new Xapian_Document();
Xapian_Document (with an underscore) is not a valid xapian class (but 
XapianDocument is) and your code should generate a fatal error 'class 
not found'.
Do you have anything in your code/configuration which would hide such 
errors?
It would perhaps explain why you get a segfault (new Xapian_Document() 
return null and null->add_value() hangs).

Just a guess...

-- 

Daniel Ménard





More information about the Xapian-discuss mailing list