View previous topic :: View next topic |
Author |
Message |
Qlof webmaster
Joined: Sep 30, 2007 Posts: 80
|
Posted: Thu Jun 26, 2008 7:49 pm Post subject: Error with utf-8 |
|
|
I get an error on line 3 sign 3 in my feed:
<?xml version="1.0" encoding="utf-8"?>
I tried adding that line that was in the readme.txt into the config.php file but nothing changed. Is there anyone I can fix this?
I'm not using utf-8 since I was unable to install RN with it, so I switched to latin_1.
I've also checked for spaces in the files listed in the other thread. Not sure if this is the same problem...
http://feedvalidator.org/check.cgi?url=http://feeds.feedburner.com/WorldWideConnectedHipHopRnb
I'm using ravennuke and I didn't edit any of the files except for theme files and article.php. |
|
Back to top |
|
|
Guardian webmaster
Joined: Dec 25, 2005 Posts: 364 Location: Vsetin, Czech Republic
|
Posted: Fri Jun 27, 2008 2:49 am Post subject: Re: Error with utf-8 |
|
|
The problem doesn't seem to be with the character encoding (utf- the error seems to be because there are two blank lines at the beginning of the feed.
You would need to check the source data to determine whether those empty lines appear in the source or whether they are getting added by feedburner for some reason. |
|
Back to top |
|
|
Qlof
|
Posted: Fri Jun 27, 2008 12:44 pm Post subject: Re: Error with utf-8 |
|
|
The source is the news module. So this means I should check the files in modules/News? I checked mainfile.php and them. |
|
Back to top |
|
|
Guardian
|
Posted: Fri Jun 27, 2008 2:41 pm Post subject: Re: Error with utf-8 |
|
|
I don't think that would help actually as the feed data is retrieved from the database if I remember correctly. You may want to check the feeds module files were uploaded in binary mode and those files that required edits.
I have not come across this before so hopefully kguske may be able to shed some light on it. |
|
Back to top |
|
|
Qlof
|
Posted: Fri Jun 27, 2008 2:44 pm Post subject: Re: Error with utf-8 |
|
|
I tried downloading the package from this site and re-uploaded everything. Nothing changed. It's weird because I haven't done any edits in these files after downloading RN. |
|
Back to top |
|
|
Qlof
|
Posted: Sat Jun 28, 2008 8:51 am Post subject: Re: Error with utf-8 |
|
|
I get the same error with both my feeds so it's probably not any of the module files.
P.S. Where did you get the mailing list module that you have on this site? |
|
Back to top |
|
|
Qlof
|
Posted: Sat Jun 28, 2008 8:53 am Post subject: Re: Error with utf-8 |
|
|
My sitemap (by nukeSEO) is also starting with blank steps. Google is showing a warning for it, but is accepting it anyway. |
|
Back to top |
|
|
Guardian
|
Posted: Sat Jun 28, 2008 9:41 am Post subject: Re: Error with utf-8 |
|
|
Qlof wrote: | Where did you get the mailing list module that you have on this site? |
I think kguske is using the NSN Mailinglist from www.nukescripts.net |
|
Back to top |
|
|
Qlof
|
Posted: Thu Jul 03, 2008 8:15 am Post subject: Re: Error with utf-8 |
|
|
I'm unable to find any spaces or whatever in any files. Not sure exactly which files to check except the ones in the feed module and the ones listed above.
Is it possible for me to use a phpnuke default backened.php for RN? I need to get my RSS feeds up. |
|
Back to top |
|
|
kguske Site Admin
Joined: May 12, 2005 Posts: 876
|
Posted: Thu Jul 03, 2008 10:36 pm Post subject: Re: Error with utf-8 |
|
|
Have you tried a different theme? Even if you look at the index.php page, you can see two blank lines at the top.
I would check these files for blank lines outside the PHP tags:
mainfile.php
config.php
header.php
/themes/yourtheme/theme.php
and any other files you've modified.
If you'd like to PM me with FTP user and password, I can take a look and probably find it very quickly. _________________ |
|
Back to top |
|
|
Qlof
|
Posted: Fri Jul 04, 2008 4:21 pm Post subject: Re: Error with utf-8 |
|
|
Ahh! Thanks!
The blank lines were actually after the last lines of /themes/mytheme/tables.php
I didn't check the theme before since I used the exact same theme and theme files before upgrading to RN and the feed worked fine before.
Thanks kguske and Guardian for your help. |
|
Back to top |
|
|
Guardian
|
Posted: Fri Jul 04, 2008 5:09 pm Post subject: Re: Error with utf-8 |
|
|
I'm just really pleased you managed to find it.
Good work |
|
Back to top |
|
|
fadhil Newbie
Joined: Dec 03, 2008 Posts: 1
|
Posted: Sat Jan 24, 2009 5:47 am Post subject: Re: Error with utf-8 |
|
|
Please help me ,
im using windows-1256
but not doing fine |
|
Back to top |
|
|
Guardian
|
Posted: Thu Jan 29, 2009 4:53 am Post subject: Re: Error with utf-8 |
|
|
This thread is about utf-8 but you don't say what your problems is, which script/software is causing a problem which makes it really hard to help you. |
|
Back to top |
|
|
|