New Zenner
- Join Date:
- Aug 2007
- Posts:
- 62
- Plugin Contributions:
- 0
RSS2 Feed Contribution
<?php /** * rss_feed tpl_main_page.php * * @package rss feed * @copyright Copyright 2004-2007 Andrew Berezin eCommerce-Service.com * @copyright Portions Copyright 2003-2006 Zen Cart Development Team * @copyright Portions Copyright 2003 osCommerce * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0 * @version $Id: tpl_main_page.php, v 2.1.4 14.02.2008 15:26 Andrew Berezin $ */ if(headers_sent($filename, $linenum)) { echo "Headers already sent in $filename on line $linenum"; exit; } $rss->rss_feed_out(); require(DIR_WS_INCLUDES . 'application_bottom.php'); zen_exit(); ?>a_berezin:
Ok. Use this /rss_feed/tpl_main_page.php (for debug only!!!):
I loaded that into the file instead (saving the original in a separate file) and got the error message:
XML Parsing Error: xml declaration not at start of external entity
Location: <http://www.phoenixflightpublications.com/index.php?main_page=rss_feed&feed=products>
Line Number 2, Column 1:<?xml version="1.0" encoding="iso-8859-1"?>
For debug purposes, does this help?