I am using Drupal 5.1, with Subscriptions 5.x-1.9

When I click on My subscriptions, and then click the "RSS Feeds" across the top tab list, I get:

Fatal error: Cannot redeclare insert_content() (previously declared in /opt/drupal-5.1/includes/common.inc(1342) : eval()'d code:46) in /opt/drupal-5.1/includes/common.inc(1342) : eval()'d code on line 90

CommentFileSizeAuthor
#5 fix_rss.patch1023 bytesliam mcdermott

Comments

mindless’s picture

Status: Active » Postponed (maintainer needs more info)

Go to your main page and click the rss link at the very bottom.. do you get the same error?
What module are you using that has "insert_content"?
( grep -l insert_content modules/*/* )

greggles’s picture

I marked http://drupal.org/node/154756 as a duplicate.

Obviously they involve different modules, but I don't think Subscriptions or Pathauto is the root cause of these - that's why I'm linking them together.

liam mcdermott’s picture

I am facing a similar problem, only for me PHP times out (at various different points) when trying to generate an RSS feed. I have tried this from both the task tab links and from the little XML symbol on the bottom of the page.

There are currently over 25,000 records in the nodes table, would this have something to do with it?

Should this be submitted as a new bug?

kollega’s picture

Priority: Normal » Critical

I don't get nothing, hosting provider's balancer tell me about time out! Same error, as jeevesbond said!!!!

liam mcdermott’s picture

Status: Postponed (maintainer needs more info) » Needs review
StatusFileSize
new1023 bytes

The problem is in subscriptions_feed() the query does not obey the feed_default_items variable (the number of items to show per RSS feed), in fact someone commented out the db_query_range() and replaced it with a db_query! On a site with a large number of nodes this will never work.

I uncommented the line, here is a patch.

bdragon’s picture

Status: Needs review » Closed (fixed)

5.x-2.0 is a complete rewrite, therefore any bugs in it are new. All prior releases will be obsolete when 5.x-2.0 final is out. Closing references to bugs in prior releases for this reason. Please help test 5.x-2.0 betas. Thank you!