TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,973
  • Latest: NonStop
Stats
  • Total Posts: 196,234
  • Total Topics: 21,353
  • Online today: 739
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 1
  • Guests: 262
  • Total: 263
  • lurkalot

RSS Feed and Panel Blocks

Started by Rabain, October 04, 2007, 02:35:57 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Rabain

I have an RSS feed from another site in a Center Block on my Home page of the TP (0.9.8).

It works fine most of the time but sometimes I get this in the center block:

"XML error: mismatched tag at line 204".

Along with this error in the center block the entire Righthand panel of the Homepage disappears.

If I deactivate the Center block, then the Righthand panel blocks reappear.

The RSS feed has not been updated or changed and is working on other sites that use it (when I checked the last time this happened).

My site is:  http://forums.borderkingdoms.net/  (though currently the error has corrected itself and there is nothing wrong to see!).

Anyone any ideas? 

Nokonium

I'd say that there was an error in the RSS feed, which has now been corrected.

Rabain

#2
Yeah, mostly likely.

More of a concern to me is that the right side panel disappeared while this was happening.

I don't mind if the feed goes down but if it affects something unrelated to it and affects the display as a whole then I need to look into it.

Thanks for the reply anyway, I'll post back if it happens again or take a screenshot! :)

Also...which is funny is that when I put 0.9.8 in brackets in my first post it changed the 8 ) into a smiley.  Nice.  :)

Nokonium

If any code with an unclosed tag is put into a block it can easily affect other blocks, even cause a fatal error which can fubar your whole site. It is because of this that we strongly recommend that admins always set blocks to not show in Admin, so that you can get in and turn off blocks and Bloc has built in a noblocks command.

To go straight to the admin panel - http://mydomain/index.php?action=admin

To go straight to the forum without blocks - http://mydomain/index.php?action=forum;noblocks

Rabain

Thanks good to know.

Is there anything I should do about this?

Essentially all I did was create an RSS block and insert the link to the feed.

I'm learning as I go.

IchBin

If the feed errors, theres not much TP can do about someone elses code.

Rabain

Understood but is the right-hand panel disappearing when this happens something you/I can stop?

The RSS feed is in a Center Block but when it errors the Right-Hand panel (all blocks) disappear.

IchBin

Nothing you can do on your end when the RSS feed is giving you bad code. Not that I know of anyway.

Rabain

I know I sound like I'm repeating myself but it just seems strange to me that it is not a bug of somekind when one completely separate part of the portal (center block) affects the workings of a another part of the portal (right hand panel blocks).

And these two parts really have nothing to do with one another.

I know the feed is the thing at fault but what I would expect to see if the feed was faulty would be just an empty center block or a center block with an error in it.  Not a center block with an error and a completely unrelated absent right hand panel while the left hand panel blocks are unaffected.

Tell me I'm not being crazy here!

evilicy

Actually I had this same problem if I'm reading your post right. When I added my rss block on the left panel all of the other left panel blocks bellow it went poof! But when I deactivate the rss block they reappeared. So than I just deleted the rss block and remade it and they appeared again. Maybe you can try doing the same.

This website is proudly hosted on Crocweb Cloud Website Hosting.