PDA

View Full Version : RC5.2 RSS bug?


solutionsphp
08-29-2005, 02:30 AM
Clicking the XML button in my directory generates the following error:

Content visible to registered users only.

Line 80 is:

Content visible to registered users only.

Anyone else seeing this?
SAM :)

vkaryl
08-29-2005, 05:47 PM
Mine's working fine....

digitome
11-10-2005, 03:14 PM
I get this error

Fatal error: Call to a member function on a non-object in /home/super/public_html/directory/rss.php on line 86

It works fine on the main pages but if i have more than 1 page of links i get this error

any ideas?

David
11-10-2005, 03:22 PM
I believe it is something with a special character in the links.

digitome
11-10-2005, 03:28 PM
hmm it doesn't appear so, here are 2 different examples


{url no longer in service}

Notice how the XML works fine on both main pages, but if you goto page 2, 3, 4 or 5 etc... then it errors out?

David
11-10-2005, 03:55 PM
I see what you mean now. This is a new one. I'm working on some issues with mod rewrite and page numbers now. I'll try to cover this too.

digitome
11-10-2005, 03:57 PM
Thanks David

yktan
11-10-2005, 04:36 PM
Hi digitome,

I just had a look. There is indeed a problem because the variable names used for pagination and "Top Hits" and "Latest Links" features are the same and therefore, causing a conflict in top_bar.tpl.

As a temporary measure, maybe you can do this:
Open templates\top_bar.tpl
Find:
Content visible to registered users only.
Replace with:
Content visible to registered users only.

This is not tested, so tell me if it doesn't work.

Regards,
York Kie

digitome
11-11-2005, 01:28 AM
Hey York Kie,

The RSS seems to be working on my Top Hits and Latest Links, its only on category pages if i have more than 1 page of links.

Do you still think this could be the problem?

Thanks,
jeff

yktan
11-11-2005, 04:12 AM
Content visible to registered users only.

Hi Jeff,

Yes, as I mentioned the variables for sorting and perform pagination is of the same name, hence the error. The above fix is to rectify that so that even though you are on page 2, 3, etc, you can generate the xml for the category.

Regards,
York Kie

digitome
11-11-2005, 02:38 PM
That did the trick

Thanks

yktan
11-11-2005, 05:11 PM
That's great digitome :)

promotemydomain.com
09-14-2006, 06:08 AM
Did the trick for me too...thank a bunch :)

proprod
09-14-2006, 07:45 AM
Wow, thanks everyone. I had this issue and didn't even know it. And thanks yktan for the fix.