[Xapian-discuss] Writing with xapian-tcpsrv and php

Tomasz Jackowiak tomasz.jackowiak at allegro.pl
Thu Oct 19 15:24:53 BST 2006


Hi,
I think, there is missing constructor function supporting remote 
writing for XapianWritableDatabase class in the php bindings (0.9.7).
This code:
$db = new XapianWritableDatabase(remote_open($db_host, $db_port), 
$action);
returns:
Fatal error: No matching function for overloaded 
'new_XapianWritableDatabase' (...)

$db = new XapianWritableDatabase($path, $action); works fine. 
xapian-tcpsrv is running with --writable parameter.

Tom



More information about the Xapian-discuss mailing list