Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#726 closed defect (invalid)

xapian.php new_Query() error

Reported by: GiulianoM Owned by: Olly Betts
Priority: normal Milestone:
Component: Other Version:
Severity: normal Keywords:
Cc: Blocked By:
Blocking: Operating System: All

Description

hi guys, i'm here again with our neverending story with xapian (1.2.23)-chamilo (1.10.6)-centos (7.2), php 5.6.21, no plesk (;-))

this is the php error message: Fatal error: No matching function for overloaded 'new_Query' in /usr/local/share/php5/xapian.php on line 2623

i've seen an old ticket like this, resolved with a patch adding a line of code managing the 1-parameter case. but now the xapian.php has that line and the error is just on that line.

maybe, again, it is a chamilo wrong way to use xapian, i suppose xapian doesnt like the parameter received. can you please tell me more about this parameter passed?

thanks in advance as ever Giuliano

Change History (4)

comment:1 by Olly Betts, 8 years ago

Resolution: invalid
Status: newclosed

It's a known issue in chamilo - see:

http://thread.gmane.org/gmane.comp.search.xapian.general/4079/focus=9982

You'll have to ask them what the status of their fix for this is.

Not a xapian bug, so closing.

comment:2 by GiulianoM, 8 years ago

thanks olly, i know those posts. that's why i'm asking you just more info about the parameter passed, as i'm trying to help Yannick and the others chamilo devs to solve this issue.

comment:3 by Olly Betts, 8 years ago

I already explained what was wrong with the parameters being passed in the thread I linked to. The API docs for Xapian::Query also show what the valid variants are (they should all be wrapped for PHP).`

comment:4 by GiulianoM, 8 years ago

ok, thank you so much Olly.

Note: See TracTickets for help on using tickets.