Warning: Please do not give out any FTP or ssh credentials to anyone, unless you trust them completely. Giving out login details is dangerous.
If the asker does not get an answer then they have 10 days to request a refund.
$20
RSS Feed Problem
error on line 10 at column 6: XML declaration allowed only at the start of the document
http://markforsman.com/wordpress/feed/
I have even tried to go back to the default theme and it does not fix anything. I've disabled all plugins and it does not effect it. I have uploaded the entire contents of my wordpress directory as a zip.
the zip file (updated with just theme and wp-config file)
I am using the theme, "portfolio" as a child theme of thematic.
Hopefully someone can help.
Thanks for your time,
MDF
This question has been answered.
Mark F. | 07/26/10 at 7:51pm
Edit
(3) Possible Answers Submitted...
See a chronological view of answers?
Warning: Please do not give out any FTP or ssh credentials to anyone, unless you trust them completely. Giving out login details is dangerous.
-

Last edited:
07/26/10
9:09pmPippin Williamson says:Try the solution in this link:
http://www.quickonlinetips.com/archives/2009/05/wordpress-feed-xml-parsing-errors/- 07/26/10 8:29pm
Mark F. says:Thanks for the attempt, I tried the plugin linked at the end of that post and although it seemed to find a whole bunch of problems, it did not fix the error I was receiving.
- 07/26/10 8:32pm
Pippin Williamson says:If you could provide me log in information via email (pippin@pippinspages.com), I'd be more than happy to log in and fix your theme files.
- 07/26/10 8:42pm
Mark F. says:I am not comfortable with giving out my login right now, i've uploaded a lighter zip file to help provide you guys with what you need. I hope you can understand my desire to keep my info private.
- 07/26/10 8:45pm
Pippin Williamson says:I have fixed your problem.
Try out the attached zip. - 07/26/10 9:07pm
Mark F. says:I implemented your fix and it didn't change anything. However I found the problem in the gigthumbs and thumbs.php files. Both you and wjm contributed to the code that I'm now using so I will be splitting the award between the two of you. Thanks for all of the insight and help.
- 07/26/10 8:29pm
-

Last edited:
07/26/10
8:07pmTiago Duarte says:Hello there Sir,
I believe it is caused by the white space before the XML declaration <?xml ... ?>.
You can read more about it here: http://validator.w3.org/feed/docs/error/WPBlankLine.html
If you require further assistance, please contact me.
Thank you -

Last edited:
07/26/10
9:09pmwjm says:5 blank lines are being added to the beginning of your output.
Not only does it happen in your rss feed, but in every document of your site,
check,
http://markforsman.com/wordpress/
or http://markforsman.com/wordpress/other/new-website/
if you give me access to your site (ftp) i can fix it.
you may have something blank lines in your functions.php or your header.php file.- 07/26/10 8:09pm
wjm says:btw, where is the zip file so i can read the source files.
- 07/26/10 8:20pm
wjm says:from what i can peek,
http://markforsman.com/wordpress/wp-config.php
has is printing 3 blank lines.
as well as
http://markforsman.com/wordpress/wp-content/themes/portfolio/functions.php
so you need to make sure you dont have blank lines
before and after <?php and ?>
pay special attention at the end of the files. - 07/26/10 8:31pm
Mark F. says:After editing the files you mentioned and running a plugin to clean up the others that were found I am still having an error appear, it has changed to
error on line 2 at column 6: XML declaration allowed only at the start of the document
I'm currently downloading the files again and I will update the zip. Thank you so far for your suggestions.
- 07/26/10 8:34pm
wjm says:yes, i see your blank lines decreased, you should avoid including images in your zip file as it weights 36 MB (still downloading)
maybe create a zip for the theme folder. and your wp-config.php - 07/26/10 8:37pm
Mark F. says:Shoot! Sorry about that, here's a zip with just the theme files and the wp-config:
http://www.markforsman.com/wordpress2.zip - 07/26/10 8:51pm
wjm says:I think the problem is in your childtheme_menu() function in your porfolio/functions.php file
attached is the file
or you can download it from here
http://wordpress.pastebin.com/dU7CtSAQ - 07/26/10 9:06pm
Mark F. says:I implemented your fix and it didn't change anything. However I found the problem in the gigthumbs and thumbs.php files. Both you and Pippin contributed to the code that I'm now using so I will be splitting the award between the two of you. Thanks for all of the insight and help.
- 07/26/10 9:08pm
wjm says:no problem, i am glad you could sort things out.
-wjm
- 07/26/10 8:09pm
This question has expired.
Current status of this question: Completed
Warning: Please do not give out any FTP or ssh credentials to anyone, unless you trust them completely. Giving out login details is dangerous.
If the asker does not get an answer then they have 10 days to request a refund.
