Zen Cart Logo
Forums / All Other Contributions/Addons / Blank line at top of source

Blank line at top of source

Locked

Views: 1,508

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
29 Aug 2008, 5:52 PM
#1
surajitray avatar

surajitray

New Zenner

Join Date:
Jun 2008
Location:
Delhi
Posts:
6
Plugin Contributions:
0

Blank line at top of source

Theres a blank line before this line

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

in the source of the page (when i do view source)

I tried to locate the origin of this blank line because its giving me an XML parse error (since the line <?xml version="1.0" encoding="iso-8859-1"?> becomes the second line)

I have managed to zero it to autoload_func.php ... but i am unable to find where exactly the blank line is being produced.

The site is https://www.rareindianart.com

Could some one please address this issue. I am unable to load the RSS feed contrib because of this problem.

Thanx in advance

3 Dec 2010, 3:59 PM
#2
freedomwebdev avatar

freedomwebdev

New Zenner

Join Date:
Jun 2006
Location:
UK
Posts:
4
Plugin Contributions:
0

Re: Blank line at top of source

Hi,

It seems you have fixed this error, I am currently experiencing the same error, can you remember what you did to fix it?

Thanks

3 Dec 2010, 4:41 PM
#3
freedomwebdev avatar

freedomwebdev

New Zenner

Join Date:
Jun 2006
Location:
UK
Posts:
4
Plugin Contributions:
0

Re: Blank line at top of source

The line was appearing after:

/includes/templates/[YOUR-TEMPLATE]/rss_feed/html_header.php

and before:

/includes/templates/[YOUR-TEMPLATE]/rss_feed/tpl_main_page.php

So I moved:

$rss->rss_feed_out();

from /includes/templates/[YOUR-TEMPLATE]/rss_feed/tpl_main_page.php to /includes/templates/[YOUR-TEMPLATE]/rss_feed/html_header.php

This 'fixed' the problem...