Page 1 of 1

Bug With Newsbox

Posted: Sat Aug 04, 2007 8:51 pm
by Lothar
I just downloaded and installed the event plugin Newsbox 0.6. Then I entered the blog URL in my browser and got the error message

Query failed:

SELECT


e.id,
e.title,
e.timestamp,
e.comments,
e.exflag,
e.authorid,
e.trackbacks,
e.isdraft,
e.allow_comments,
e.last_modified,

a.realname AS author,
a.username AS loginname,
a.email
, e.body, e.extended

FROM
serendipity_entries AS e
LEFT JOIN serendipity_authors a
ON e.authorid = a.authorid
LEFT JOIN serendipity_entrycat ec
ON e.id = ec.entryid
LEFT JOIN serendipity_category c
ON ec.categoryid = c.categoryid
LEFT JOIN serendipity_authorgroups AS acl_a
ON acl_a.authorid = 1
LEFT JOIN serendipity_access AS acl_acc
ON ( acl_acc.artifact_mode = 'read'
AND acl_acc.artifact_type = 'category'
AND acl_acc.artifact_id = c.categoryid
)
WHERE isdraft = 'false' AND e.timestamp <= 1186253400 AND
e.id IN
(SELECT entryid FROM serendipity_entrycat
WHERE categoryid IN (1)
) AND (
c.categoryid IS NULL
OR ( acl_acc.groupid = acl_a.groupid OR acl_acc.groupid = 0)
OR ( acl_acc.artifact_id IS NULL

)
)
GROUP BY e.id
ORDER BY timestamp DESC
LIMIT 2

/ You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'SELECT entryid FROM serendipity_entrycat WHERE categoryid IN (

Re: Bug With Newsbox

Posted: Sat Aug 04, 2007 8:53 pm
by garvinhicking
Hi!

The newsbox plugin only works with MYSQL >= 4.1 I think, it needs subselects. Your provider doesn't seem to support that, so you'll need to uninstall the plugin.

Best regards
,Garvin