Discussion Forums stopped working. Feed pages all blank
Posted: 21 November 2008 12:31 PM   [ Ignore ]  
Grad Student
Rank
Total Posts:  72
Joined  05-04-2007

Hello,

On our site oceanrodeo.com we had the discussion forums feeds working at one point and I notice now that it doesn’t work. When you try to view any of the feeds from apparently any point in the forums, they all appear as blank pages. I looked at the templates, and did not see where the forum feed templates were. Can someone point me in the right direction so we can get our feeds working.

Sorry to be vague on this one.

 Signature 

Out of Control™ - Keeping you in control
Find Mac Stuff - Your Mac product homepage finder

Profile
 
 
Posted: 21 November 2008 12:55 PM   [ Ignore ]   [ # 1 ]  
Moderator
Avatar
RankRankRankRankRank
Total Posts:  2550
Joined  05-07-2007

Greetings plattapuss!

What version/build of ExpressionEngine and the discussion forums are you running?  Do you have content in your forum rss template?

 Signature 
Profile
MSG
 
 
Posted: 21 November 2008 01:44 PM   [ Ignore ]   [ # 2 ]  
Grad Student
Rank
Total Posts:  72
Joined  05-04-2007

Oh rats, sorry, I always forget to mention versions:

EE 1.6.3 (haven’t upgraded yet as I stupidly hacked part of the core and need to do a work around.)
DF 2.1.0.

I am using the default forum rss and atom template:

{?xml version="1.0" encoding="{encoding}" ?}
<feed >

    <
title type="text">{exp:xml_encode}{forum_name}{/exp:xml_encode}</title>
    <
link rel="alternate" type="text/html" href="{forum_url}" />
    <
link rel="self" type="application/atom+xml" href="{forum_rss_url}" />
    <
updated>{gmt_edit_date format='%Y-%m-%dT%H:%i:%sZ'}</updated>
    <
rights>Copyright (c) {gmt_date format="%Y"}</rights>
    <
generator uri="http://expressionengine.com/" version="{version}">ExpressionEngine</generator>
    <
id>tag:{trimmed_url},{gmt_date format="%Y:%m:%d"}</id>

{rows}
    
<entry>
      <
title>{exp:xml_encode}{title}{/exp:xml_encode}</title>
      <
link rel="alternate" type="text/html" href="{path:view_thread}" />      
      <
id>tag:{trimmed_url},{gmt_post_date format="%Y"}:{relative_url}/viewthread/.{topic_id}</id>
      <
published>{gmt_post_date format="%Y-%m-%dT%H:%i:%sZ"}</published>
      <
updated>{gmt_edit_date format='%Y-%m-%dT%H:%i:%sZ'}</updated>
      <
author><name>{author}</name></author>
      <
content type="html">
      <!
[CDATA[
        {body}
      ]]
>
      </
content>
    </
entry>
{/rows}

</feed>

and

{?xml version="1.0" encoding="{encoding}" ?}
<rss version="2.0"
    
xmlns:dc="http://purl.org/dc/elements/1.1/"
    
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
    
xmlns:admin="http://webns.net/mvcb/"
    
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    
xmlns:content="http://purl.org/rss/1.0/modules/content/">
    
    <
channel>
    
    <
title>{exp:xml_encode}{forum_name}{/exp:xml_encode}</title>
    <
link>{forum_url}</link>
    <
description>{exp:xml_encode}{forum_name}{/exp:xml_encode}</description>
    <
dc:language>{forum_language}</dc:language>
    <
dc:rights>Copyright {gmt_date format="%Y"}</dc:rights>
    <
dc:date>{gmt_date format="%Y-%m-%dT%H:%i:%s%Q"}</dc:date>
    <
admin:generatorAgent rdf:resource="http://expressionengine.com/" />
    
{rows}
    
<item>
      <
title>{exp:xml_encode}{title}{/exp:xml_encode}</title>
      <
link>{exp:xml_encode}{path:view_thread}{/exp:xml_encode}</link>
      <
guid>{path:view_thread}#When:{gmt_post_date format="%H:%i:%sZ"}</guid>
      
<description>{exp:xml_encode}{body}{/exp:xml_encode}</description>
      <
dc:date>{gmt_post_date format="%Y-%m-%dT%H:%i:%s%Q"}</dc:date>
    </
item>
{/rows}
    
    
</channel>
</
rss>

 Signature 

Out of Control™ - Keeping you in control
Find Mac Stuff - Your Mac product homepage finder

Profile
 
 
Posted: 21 November 2008 01:57 PM   [ Ignore ]   [ # 3 ]  
Moderator
Avatar
RankRankRankRankRankRankRank
Total Posts:  12755
Joined  04-29-2002

plattapuss, what changed between when they used to work and now?

 Signature 

Quick Reference - EE Trial Options - EE Wiki - Docs for updating a build

Profile
MSG
 
 
Posted: 21 November 2008 02:03 PM   [ Ignore ]   [ # 4 ]  
Grad Student
Rank
Total Posts:  72
Joined  05-04-2007

That is a very good question. To which I have no clue yet :(

I was hoping someone would be able to offer something I could look for, a test to try out to help hone down the issue. Not trying to be lazy, just not sure where to begin. Working with the EE forums are still a bit new to me.

 Signature 

Out of Control™ - Keeping you in control
Find Mac Stuff - Your Mac product homepage finder

Profile
 
 
Posted: 21 November 2008 02:34 PM   [ Ignore ]   [ # 5 ]  
Moderator
Avatar
RankRankRankRankRankRankRank
Total Posts:  12755
Joined  04-29-2002

Let’s have you turn on error reporting.

You do that by making a change to the index.php file found in your system directory.

Change system/index.php file to turn on error reporting - to debug problems if any.
change line from
“error_reporting(0);”
-to-
“error_reporting(E_ALL);”

How are you calling your forums? Are you calling them from within a template?

What happens if you use one of the default forum themes?

 Signature 

Quick Reference - EE Trial Options - EE Wiki - Docs for updating a build

Profile
MSG
 
 
Posted: 24 November 2008 01:40 PM   [ Ignore ]   [ # 6 ]  
Grad Student
Rank
Total Posts:  72
Joined  05-04-2007

Hi,

Sorry for the delay. I tried changing the error reporting to E_ALL: No errors, warnings or notices.

The forum is a standard install using a slightly modified forum_theme. I installed a copy of the original theme and changed the general preferences to use that theme. No changes.

All of this triggered a memory. I had written an extension to work with the forums. When I disable it, the feeds came back. Now to figure out why my extension is not working. Is this a question I can ask in this forum or is there a more appropriate place to ask for help on debugging an extension?

Many thanks for your help.

 Signature 

Out of Control™ - Keeping you in control
Find Mac Stuff - Your Mac product homepage finder

Profile
 
 
Posted: 24 November 2008 01:47 PM   [ Ignore ]   [ # 7 ]  
Moderator
Avatar
RankRankRankRank
Total Posts:  2048
Joined  01-07-2008

Hey Plattapuss,

Glad it’s working.  I’m closing this thread, for your extension problem, please start a new thread in the Extension Technical Support Forum.  Remember to post your code and possibly a link to this thread as well.

 Signature 
Profile
MSG
 
 
   
 
 
Post Marker Legend
New Topic New posts Hot Topic Hot Topic with new posts New Poll New Poll Moved Topic Moved Topic Sticky Topic Sticky topic
Old Topic No new posts Hot Old Topic Hot Topic with no new posts Old Poll Old Poll Closed Topic Closed Topic Announcement Announcements
Theme
Change Theme
Visitor Statistics
The most visitors ever was 1149, on July 16, 2007 09:33 AM
Total Registered Members: 66389 Total Logged-in Users: 50
Total Topics: 84714 Total Anonymous Users: 20
Total Replies: 454689 Total Guests: 191
Total Posts: 539403    
Members ( View Memberlist )