FeedForAll Forum Index ?
?Home?????FAQ????? Search ?????Memberlist ?????Register ?????Profile? ????Log in
?Parse error on line 809 View next topic
View previous topic
Post new topicReply to topic
Author Message
vt3fan4evr



Joined: 24 Feb 2006
Posts: 11

PostPosted: Fri Feb 24, 2006 3:51 am Reply with quoteBack to top

Hi all im new to this so dont flame me lol. I have a validated xml file and have been trying to get it to display on my site. I am trying to make rss2html work but came up with this error
(Parse error: parse error, unexpected T_LNUMBER, expecting ',' or ';' in /mnt/web_h/d26/s39/b023d060/www/rss/rss2html.php on line 809)
I am on a unix server and the page is here> http://fasttracksracing.netfirms.com/rss/rss2html.php
When I went back in to find the error all I see on line 809 is this
echo "\n";
This is all new to me. If it was straight html I would see the problem. If you need any more of the code just ask and I will post it.
Thanks for any help you may be able to give.
View user's profileSend private message
Tech Support



Joined: 27 Aug 2004
Posts: 804

PostPosted: Fri Feb 24, 2006 9:30 am Reply with quoteBack to top

Can you post a link to the RSS feed (XML file) you are trying to use with rss2html? If you can post a link to your template file, that may also be of use.

Thanks.

_________________
FeedForAll Support
View user's profileSend private message
vt3fan4evr



Joined: 24 Feb 2006
Posts: 11

PostPosted: Fri Feb 24, 2006 11:57 am Reply with quoteBack to top

Tech Support wrote:
Can you post a link to the RSS feed (XML file) you are trying to use with rss2html? If you can post a link to your template file, that may also be of use.

Thanks.

News xml:http://fasttracksracing.netfirms.com/rss/news.xml
Template html:http://fasttracksracing.netfirms.com/BasicWebpage.htm
View user's profileSend private message
vt3fan4evr



Joined: 24 Feb 2006
Posts: 11

PostPosted: Fri Feb 24, 2006 12:02 pm Reply with quoteBack to top

News xml:http://fasttracksracing.netfirms.com/rss/news.xml
Template html:http://fasttracksracing.netfirms.com/BasicWebpage.htm[/quote]

Screwed up the template link here is the correct link:html:http://fasttracksracing.netfirms.com/rss/BasicWebpage.htm
View user's profileSend private message
MacSupport



Joined: 24 Feb 2005
Posts: 648

PostPosted: Fri Feb 24, 2006 12:48 pm Reply with quoteBack to top

vt3fan4evr wrote:
Hi all im new to this so dont flame me lol. I have a validated xml file and have been trying to get it to display on my site. I am trying to make rss2html work but came up with this error
(Parse error: parse error, unexpected T_LNUMBER, expecting ',' or ';' in /mnt/web_h/d26/s39/b023d060/www/rss/rss2html.php on line 809)
I am on a unix server and the page is here> http://fasttracksracing.netfirms.com/rss/rss2html.php
When I went back in to find the error all I see on line 809 is this
echo "\n";
This is all new to me. If it was straight html I would see the problem. If you need any more of the code just ask and I will post it.
Thanks for any help you may be able to give.


What version of the rss2html.php script are you using?

Jim
View user's profileSend private messageVisit poster's website
vt3fan4evr



Joined: 24 Feb 2006
Posts: 11

PostPosted: Fri Feb 24, 2006 1:21 pm Reply with quoteBack to top

[/quote]

What version of the rss2html.php script are you using?

Jim[/quote]

I am only assuming here but I just downloaded it from feedforall so I think it is the latest version. I am not at home so I will check when I am later but I kow it just came from the site.
View user's profileSend private message
vt3fan4evr



Joined: 24 Feb 2006
Posts: 11

PostPosted: Fri Feb 24, 2006 5:52 pm Reply with quoteBack to top

[/quote]

What version of the rss2html.php script are you using?

Jim[/quote]
This is the version number from the docs file in the zip.
RSS2HTML PHP Script Documentation v2.1
View user's profileSend private message
MacSupport



Joined: 24 Feb 2005
Posts: 648

PostPosted: Fri Feb 24, 2006 6:40 pm Reply with quoteBack to top

vt3fan4evr wrote:


What version of the rss2html.php script are you using?

Jim[/quote]
This is the version number from the docs file in the zip.
RSS2HTML PHP Script Documentation v2.1[/quote]

I need the version from the script, not the documentation. In the first 10 lines of the rss2html.php is a line that looks like this:

// $Id: rss2html.php,v 2.17 2006/02/13 18:00:27 housley Exp $

That says the version is 2.17

Jim
View user's profileSend private messageVisit poster's website
vt3fan4evr



Joined: 24 Feb 2006
Posts: 11

PostPosted: Fri Feb 24, 2006 10:04 pm Reply with quoteBack to top

Now that I am home and can look into the file with dreamweaver this is what it shows on line 10

// $Id: rss2html.php,v 2.14 2006/01/26 15:52:37 housley Exp $
View user's profileSend private message
MacSupport



Joined: 24 Feb 2005
Posts: 648

PostPosted: Fri Feb 24, 2006 10:14 pm Reply with quoteBack to top

vt3fan4evr wrote:
Hi all im new to this so dont flame me lol. I have a validated xml file and have been trying to get it to display on my site. I am trying to make rss2html work but came up with this error
(Parse error: parse error, unexpected T_LNUMBER, expecting ',' or ';' in /mnt/web_h/d26/s39/b023d060/www/rss/rss2html.php on line 809)
I am on a unix server and the page is here> http://fasttracksracing.netfirms.com/rss/rss2html.php
When I went back in to find the error all I see on line 809 is this
echo "\n";
This is all new to me. If it was straight html I would see the problem. If you need any more of the code just ask and I will post it.
Thanks for any help you may be able to give.


Based on the version you posed that is the correct code and there isn't an error in what you posted. What version of PHP are you running?

Jim
View user's profileSend private messageVisit poster's website
vt3fan4evr



Joined: 24 Feb 2006
Posts: 11

PostPosted: Fri Feb 24, 2006 10:47 pm Reply with quoteBack to top

quote]
What version of PHP are you running?

Jim[/quote]

My site is currently running php4 but I can also use php5 if I wanted to.
Just checking but here is line 25 to line 32 of the basic code to make sure I have it written right.
//$XMLfilename = "http://fasttracksracing.netfirms.com/rss/news.xml";
$XMLfilename = "news.xml";

//
// If TEMPLATE is passed as part of the REQUEST_URI, then it will be used
// otherwise the the file below is used.
//$TEMPLATEfilename = "http://fasttracksracing.netfirms.com/BasicWebpage.html";
$TEMPLATEfilename = "BasicWebpage.html";
View user's profileSend private message
MacSupport



Joined: 24 Feb 2005
Posts: 648

PostPosted: Fri Feb 24, 2006 11:02 pm Reply with quoteBack to top

vt3fan4evr wrote:
quote]
What version of PHP are you running?

Jim


My site is currently running php4 but I can also use php5 if I wanted to.
Just checking but here is line 25 to line 32 of the basic code to make sure I have it written right.
//$XMLfilename = "http://fasttracksracing.netfirms.com/rss/news.xml";
$XMLfilename = "news.xml";

//
// If TEMPLATE is passed as part of the REQUEST_URI, then it will be used
// otherwise the the file below is used.
//$TEMPLATEfilename = "http://fasttracksracing.netfirms.com/BasicWebpage.html";
$TEMPLATEfilename = "BasicWebpage.html";[/quote]

php4 is good. And yes your changes are right. You might want to try downloading again and re-uploading if you are still getting errors.

Jim
View user's profileSend private messageVisit poster's website
vt3fan4evr



Joined: 24 Feb 2006
Posts: 11

PostPosted: Fri Feb 24, 2006 11:15 pm Reply with quoteBack to top

Ok removed and replaced all files now im getting this:Unable to open template , exiting
I just tried changing the code and its still doing it.
// Set the following variable useFopenURL to one if you want/need to use
// fopen() instead of CURL
$useFopenURL = 1;

//
// If XLMFILE is passed as part of the REQUEST_URI, then it will be used
// otherwise the the file below is used.
//$XMLfilename = "http://fasttracksracing.netfirms.com/rss/news.xml";
$XMLfilename = "http://fasttracksracing.netfirms.com/rss/news.xml";

//
// If TEMPLATE is passed as part of the REQUEST_URI, then it will be used
// otherwise the the file below is used.
//$TEMPLATEfilename = "http://fasttracksracing.netfirms.com/rss/BasicWebpage.htm";
$TEMPLATEfilename = "http://fasttracksracing.netfirms.com/rss/BasicWebpage.htm";
View user's profileSend private message
MacSupport



Joined: 24 Feb 2005
Posts: 648

PostPosted: Fri Feb 24, 2006 11:17 pm Reply with quoteBack to top

vt3fan4evr wrote:
Ok removed and replaced all files now im getting this:Unable to open template , exiting
I just tried changing the code and its still doing it.
// Set the following variable useFopenURL to one if you want/need to use
// fopen() instead of CURL
$useFopenURL = 1;

//
// If XLMFILE is passed as part of the REQUEST_URI, then it will be used
// otherwise the the file below is used.
//$XMLfilename = "http://fasttracksracing.netfirms.com/rss/news.xml";
$XMLfilename = "http://fasttracksracing.netfirms.com/rss/news.xml";

//
// If TEMPLATE is passed as part of the REQUEST_URI, then it will be used
// otherwise the the file below is used.
//$TEMPLATEfilename = "http://fasttracksracing.netfirms.com/rss/BasicWebpage.htm";
$TEMPLATEfilename = "http://fasttracksracing.netfirms.com/rss/BasicWebpage.htm";


Start with rss2html.php?buildURL, that will help build good URLs and debug errors
View user's profileSend private messageVisit poster's website
vt3fan4evr



Joined: 24 Feb 2006
Posts: 11

PostPosted: Fri Feb 24, 2006 11:23 pm Reply with quoteBack to top

[/quote]

Start with rss2html.php?buildURL, that will help build good URLs and debug errors[/quote]

Told ya Im new to this but is there somewhere specific in the code i need to add that or is this another file?
View user's profileSend private message
Display posts from previous:?? ? ?
Post new topicReply to topic


?Jump to:? ?



View next topic
View previous topic


Powered by phpBB ? 2001, 2002 phpBB Group :: FI Theme