Here's something I posted a few weeks ago:
In "lib/search_engines.php"
$this->target->whereAdd('notice.is_local != ' . NOTICE_GATEWAY)
NOTICE_GATEWAY is not defined anywhere else in the entire app ..
Is suspect the query should be notice.is_local != 0
Paul Willard
-------------------------------------------------
Web Site: www.mcrides.co.nz
Where New Zealand motorcyclists go
-------------------------------------------------
-----Original Message-----
From: [email protected] [mailto:[email protected]]
On Behalf Of [email protected]
Sent: Thursday, 27 August 2009 8:20 a.m.
To: Evan Prodromou
Cc: Patrick Phelan; [email protected]
Subject: Re: [Laconica-dev] StatusNet / Database Error with Search
Quoting Evan Prodromou <[email protected]>:
> Patrick Phelan wrote:
>> *Warning*: Cannot modify header information - headers already sent
>> by (output started at /var/www/lib/xmloutputter.php:162) in
>> */var/www/plugins/recaptcha/recaptcha.php* on line *64*
> Have you tested without recaptcha installed? I don't have any
> experience with this software.
>
> -Evan
>
> --
> Evan Prodromou
> CEO, Control Yourself, Inc.
> [email protected] - http://identi.ca/evan - +1-514-554-3826
>
>
I have been able to debug this error. Here is the log:
2009-08-26 20:12:54 LOG_ERR: PEAR error: DB Error: no such field : SELECT *
FROM notice
WHERE ( notice.is_local != NOTICE_GATEWAY ) AND ( MATCH(content)
AGAINST ('somesearch' IN BOOLEAN MODE) )
ORDER BY created desc
LIMIT 0, 21 [nativecode=1054 ** Unknown column 'NOTICE_GATEWAY' in
'where clause']
2009-08-26 20:12:54 LOG_ERR: Array
----------------------------------------------------------------
Zdravei.bg - myasto kydeto vseki moje da nameri po neshto za sebe si.
Spodelete svoite snimki, video klipove, blogove, sreshtnete novi
priateli. Kajete: Zdravei, tova sum az!
_______________________________________________
Laconica-dev mailing list
[email protected]
http://mail.laconi.ca/mailman/listinfo/laconica-dev
_______________________________________________
Laconica-dev mailing list
[email protected]
http://mail.laconi.ca/mailman/listinfo/laconica-dev