RSS feed does not work anymore

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
Hanjo Iwanowitsch
Regular
Posts: 44
Joined: Sun Feb 26, 2006 3:37 pm
Location: Eutin, Germany
Contact:

RSS feed does not work anymore

Post by Hanjo Iwanowitsch »

Ladies and gentlemen,

the feed on http://www.bs-eutin.de does not work anymore (it did before; unfortunately I did not notice when and why it stops working).

In my browser (Safari) the message
This page contains the following errors:

error on line 1 at column 1: Document is empty
Below is a rendering of the page up to the first error.
shows up.

In my feedreader the message shows

Code: Select all

Query failed: <pre>SELECT 
                    e.isdraft AS orderkey,
ep_cache_extended.value AS ep_cache_extended,
ep_cache_body.value     AS ep_cache_body,

                    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
                     
                     
                FROM
                    s9y_entries AS e
                    LEFT JOIN s9y_authors a
                        ON e.authorid = a.authorid
                    LEFT JOIN s9y_entrycat ec
                        ON e.id = ec.entryid
                    LEFT JOIN s9y_category c
                        ON ec.categoryid = c.categoryid
                    LEFT OUTER JOIN s9y_categorytemplates ctpass
                            ON (ec.categoryid = ctpass.categoryid) LEFT OUTER JOIN s9y_entryproperties ep_no_frontpage
                                                  ON (e.id = ep_no_frontpage.entryid AND ep_no_frontpage.property = 'ep_no_frontpage')
 LEFT OUTER JOIN s9y_entryproperties ep_cache_extended
                                                  ON (e.id = ep_cache_extended.entryid AND ep_cache_extended.property = 'ep_cache_extended')
 LEFT OUTER JOIN s9y_entryproperties ep_cache_body
                                                  ON (e.id = ep_cache_body.entryid AND ep_cache_body.property = 'ep_cache_body')
 LEFT OUTER JOIN s9y_entryproperties ep_access
                                              ON (e.id = ep_access.entryid AND ep_access.property = 'ep_access') LEFT JOIN s9y_authorgroups AS acl_a
                                   ON acl_a.authorid = 0
                            LEFT JOIN s9y_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 <= 1242773700 AND (ctpass.pass IS NULL OR ctpass.pass = '' OR ctpass.pass = '') AND (e.id NOT IN (SELECT e.id FROM s9y_entries AS e
                            LEFT JOIN s9y_entrycat AS ec ON ec.entryid = e.id
                            JOIN s9y_categorytemplates AS t ON ec.categoryid = t.categoryid AND hide_rss = '1'))  AND  (ep_access.property IS NULL OR ep_access.value = 'public') AND  (ep_no_frontpage.property IS NULL OR ep_no_frontpage.value != 'true')   AND     (
                                 c.categoryid IS NULL
                                 OR ( acl_acc.groupid = 0)
                                 OR ( acl_acc.artifact_id IS NULL
                                      
                                    )
                               )
                     GROUP BY e.id
                     
                     ORDER BY orderkey DESC, last_modified DESC
                      LIMIT 1</pre> / 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 e.id FROM s9y_entries AS e
                            L
What to do to get things working again?

Regards,
Hanjo.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: RSS feed does not work anymore

Post by garvinhicking »

Hi!

I believe you are using an outdated version of the serendipity_event_categorytemplates plugin. It uses SQL subqueries which your server does not support.

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Hanjo Iwanowitsch
Regular
Posts: 44
Joined: Sun Feb 26, 2006 3:37 pm
Location: Eutin, Germany
Contact:

Re: RSS feed does not work anymore

Post by Hanjo Iwanowitsch »

Hi Garvin,

yes, it was the plugin which causes the fault: I deactivated it and now the feed works. But it is not an outdated version: the installed 0.32 should be the most recent version.

Thanks for your help!

Regards,
Hanjo.

--
http://www.ats20.de/blog
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: RSS feed does not work anymore

Post by garvinhicking »

Hi!

Ah, okay. True, the SQL still uses a subselect. I'm afraid that it'S then not compatible with your old mysql version. You might want to ask your provider if MySQL can be upgraded, you'll also gain a lot of performance improvement.

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Post Reply