Re: RSS2 Feed Contribution
Quote:
Originally Posted by
a_berezin
Ok. Use this /rss_feed/tpl_main_page.php (for debug only!!!):
Code:
<?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();
?>
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...&feed=products
Line Number 2, Column 1:<?xml version="1.0" encoding="iso-8859-1"?>
For debug purposes, does this help?
Re: RSS2 Feed Contribution
Quote:
Originally Posted by
elishama3
For debug purposes, does this help?
Unfortunately not. :no: The only way to help - to give me access to FTP.
Re: RSS2 Feed Contribution
Quote:
Originally Posted by
a_berezin
Yes. It compatible with 1.3.7 and 1.3.8.
You have to adjust himself these files:
Thanks for the help... I guess something was not right...
here's the error message I get when I attempt to click the feed link...
Quote:
Warning: require(includes/templates/template_default/templates/tpl_rss_feed_default.php) [
function.require]: failed to open stream: No such file or directory in
/home/*removed*/craiglkendall/econoclips.com/includes/templates/apple_zen/common/tpl_main_page.php on line
119
Fatal error: require() [
function.require]: Failed opening required 'includes/templates/template_default/templates/tpl_rss_feed_default.php' (include_path='.:/usr/local/php5/lib/php:/usr/local/lib/php') in
/home/*removed*/craiglkendall/econoclips.com/includes/templates/apple_zen/common/tpl_main_page.php on line
119
Any suggestions?
Re: RSS2 Feed Contribution
Quote:
Originally Posted by
craigkendall
Thanks for the help... I guess something was not right...
here's the error message I get when I attempt to click the feed link...
Any suggestions?
Oh, here's another error when I try to edit the CATEGORIES FOR PRODUCTS item on the RSS FEED admin page
Quote:
Fatal error: Call to undefined function cfg_select_option() in /home/*removed*/craiglkendall/econoclips.com/admin/configuration.php(192) : eval()'d code on line 1
Re: RSS2 Feed Contribution
Never mind... got it... OH silly me. Forgot to rename YOUR_TEMPLATE before upload.
It works!
One small issue... I'm pricing by attributes. Any suggestions for how to include those attributes in the feed?
Re: RSS2 Feed Contribution
Quote:
Originally Posted by
craigkendall
I'm pricing by attributes. Any suggestions for how to include those attributes in the feed?
You can not add attributes in the price tag - http://base.google.com/support/bin/a...er=73932&hl=en.
In the future, you can include the price and a list of attributes to describe.
Re: RSS2 Feed Contribution
Quote:
Originally Posted by
craigkendall
Oh, here's another error when I try to edit the CATEGORIES FOR PRODUCTS item on the RSS FEED admin page
Well, I was sorta fixed. In the admin I get the following error when I click on the Feed Cache Time option.
Quote:
Call to undefined function cfg_select_option() in /home/<removed>/<removed>/econoclips.com/admin/configuration.php(192) : eval()'d code on line 1
I added a couple of new products this AM and noticed my feed didn't show those. So I was trying to see if there was a cache issue and found no instructions as to those settings...
1. Any ideas on the error (I'm running 1.3.7)
2. Any instructions regarding getting the new products to show up when they are posted?
Re: RSS2 Feed Contribution
Quote:
Originally Posted by
Stoned-6
Ive problems to install the sql update.
You update from what version to what version?
Re: RSS2 Feed Contribution
Quote:
Originally Posted by
craigkendall
1. Any ideas on the error (I'm running 1.3.7)
No any ideas - in install.sql function 'cfg_select_option()' don't used.
Quote:
Originally Posted by
craigkendall
2. Any instructions regarding getting the new products to show up when they are posted?
No any "special" instructions. I'm simply add new products. If the cache is active, you should wait until it refresh or clear it by hands.
It also called attention to the parameter "Time to live (ttl)" - RTFM.