Page 1 of 2
Backend RSS plugin error
Posted: Sat Dec 30, 2006 6:00 pm
by hgoor
Hi,
I use the back-end RSS plugin to show some feeds, but now I see this error:
Error on line 149 of /var/www/bundled-libs/Onyx/RSS.php: File has an XML error (Reserved XML Name at line 1).
I use the plugin 3 times and only the first 2 show up with this error...
In 1.1 beta 5 all was working well...
Anyone have any ideas?
Re: Backend RSS plugin error
Posted: Sat Dec 30, 2006 9:29 pm
by garvinhicking
Hi!
It's a problem of the RSS feed you are subscribed to. It now has invalid characters, so you need to contact the writer of the feed so that he can fix his errors.
Best regards,
Garvin
Re: Backend RSS plugin error
Posted: Sat Dec 30, 2006 9:35 pm
by hgoor
garvinhicking wrote:Hi!
It's a problem of the RSS feed you are subscribed to. It now has invalid characters, so you need to contact the writer of the feed so that he can fix his errors.
Best regards,
Garvin
Haha, that is funny: It's the feed of my own blog and the comments feed!
http://zion.demon.nl/feeds/index.rss2
http://zion.demon.nl/feeds/comments.rss2
How do I fix that? It's generated by S9y ????
Re: Backend RSS plugin error
Posted: Sat Dec 30, 2006 9:41 pm
by garvinhicking
Hi!
Ah, you should have mentioned that.
In fact your RSS feed is broken. You have an extra space before the first "<?xml". This can happen if you edit PHP files and save trailing whitespaces before the first <?php or after the last ?>.
Check all files you manually modified for such extra invalid characters. They usually hapen if you edit UNIX files with a WINDOWS editor and save files with \r\n instead of \n line endings.
Regards,
Garvin
Re: Backend RSS plugin error
Posted: Sat Dec 30, 2006 9:45 pm
by hgoor
garvinhicking wrote:Hi!
Ah, you should have mentioned that.
In fact your RSS feed is broken. You have an extra space before the first "<?xml". This can happen if you edit PHP files and save trailing whitespaces before the first <?php or after the last ?>.
Check all files you manually modified for such extra invalid characters. They usually hapen if you edit UNIX files with a WINDOWS editor and save files with \r\n instead of \n line endings.
Regards,
Garvin
Uh, I never edit anything since I have no clue about php etc...
Only thing I did was upgrade from 1.1. beta 5 to 1.1 final .....
Hmmm?
Re: Backend RSS plugin error
Posted: Tue Jan 02, 2007 10:53 am
by garvinhicking
Hi!
Hm, all of the out-of-the-box s9y files should not contain superfluos linebreaks. It could maybe also come from a templates config.inc.php file - does it happen with a different template as well?
You also didn'T edit any language files?
Regards,
Garvin
Re: Backend RSS plugin error
Posted: Tue Jan 02, 2007 3:44 pm
by hgoor
garvinhicking wrote:Hi!
Hm, all of the out-of-the-box s9y files should not contain superfluos linebreaks. It could maybe also come from a templates config.inc.php file - does it happen with a different template as well?
You also didn'T edit any language files?
Regards,
Garvin
I have my site configured so people can choose their own templates, but I have the latest "One True Layout" set as default.
I have never edited anything myself...
The only thing I can think off is that I upgraded using the .zip file and not the tar.gzip file while my server is Linux.
Tonight I will just upload all files again and use the tar.gzip. Maybe something went wrong there? I used SFTP over SSH...
Re: Backend RSS plugin error
Posted: Wed Jan 03, 2007 12:49 am
by garvinhicking
Hi!
Yes, please try to re-upload those files.
It's really hard to debug. Usually I edit all related files and plugins to check which file could be responsible. Did you maybe install a plugin at the time time? In the past there were a few plugins whose language files contained additional linebreaks....
HTH,
Garvin
Re: Backend RSS plugin error
Posted: Wed Jan 03, 2007 10:26 pm
by hgoor
garvinhicking wrote:Hi!
Yes, please try to re-upload those files.
It's really hard to debug. Usually I edit all related files and plugins to check which file could be responsible. Did you maybe install a plugin at the time time? In the past there were a few plugins whose language files contained additional linebreaks....
HTH,
Garvin
Ok, I just did a fresh upload of all S9y 1.1 files, this time I used the tar.gz
Afterwards, it seemed like I still had the same problems.
However, when I did change my default theme from "One True Layout" back to "Serendipity 3.0" it seemed like the feeds are working again?
Is this possible or is it just because the RSS feeds where cached somehow and it was fixed by uploading the new files?
I mean: it seems that the RSS feed are not theme-related, right?
Anyhow: I am happy that it's working again...
Re: Backend RSS plugin error
Posted: Thu Jan 04, 2007 3:25 pm
by garvinhicking
Hi!
Where is that "One True Layout" downloaded from? It might be related to the theme's config.inc.php file.
RSS-Feeds ARE theme related! A theme can style the RSS-Feeds.
Best regards,
Garvin
Re: Backend RSS plugin error
Posted: Thu Jan 04, 2007 4:08 pm
by hgoor
garvinhicking wrote:Hi!
Where is that "One True Layout" downloaded from? It might be related to the theme's config.inc.php file.
RSS-Feeds ARE theme related! A theme can style the RSS-Feeds.
Best regards,
Garvin
Uh, I think it comes standard with the latest 1.1? I installed trough the manage Style backend (Spartacus?)
The following information is provided:
Author: Carl Galloway & Matthias Mees
Last Updated: 23-07-2006
Custom admin interface available: Yes
Re: Backend RSS plugin error
Posted: Thu Jan 04, 2007 4:21 pm
by garvinhicking
Hi!
No, One-true-layout comes from spartacus, not 1.1. I just found it there.
Can you try to rename config.inc.php to config.inc.old temporarily and see if that fixes the RSS-feed issue, too?
Regards,
Garvin
Re: Backend RSS plugin error
Posted: Thu Jan 04, 2007 4:24 pm
by hgoor
garvinhicking wrote:Hi!
No, One-true-layout comes from spartacus, not 1.1. I just found it there.
Can you try to rename config.inc.php to config.inc.old temporarily and see if that fixes the RSS-feed issue, too?
Regards,
Garvin
Uh sure, but my feed is currently working again so I kinda miss the point of doing that? Could you elaborate a bit on that?
Re: Backend RSS plugin error
Posted: Thu Jan 04, 2007 4:30 pm
by nissarin
garvinhicking wrote:
Can you try to rename config.inc.php to config.inc.old temporarily and see if that fixes the RSS-feed issue, too?
It works for me.
Re: Backend RSS plugin error
Posted: Thu Jan 04, 2007 4:37 pm
by garvinhicking
Hi hgoor!
Uh sure, but my feed is currently working again so I kinda miss the point of doing that? Could you elaborate a bit on that?
Well, if you intend to not use that theme, of course we can discard finding the root of this problem. Your call, I thought you wanted to know what the issue is.
Best regards,
Garvin