FeedForAll Forum Index ?
?Home?????FAQ????? Search ?????Memberlist ?????Register ?????Profile? ????Log in
?error messages View next topic
View previous topic
Post new topicReply to topic
Author Message
dkotchen



Joined: 24 Feb 2005
Posts: 2

PostPosted: Thu Feb 24, 2005 5:26 pm Reply with quoteBack to top

I have uploaded rss2html.php to my web site, www.drugcrimelawyer.com. When I run it through Grit Technologies' "Poodle Predictor" (which simulates what Google sees and can be reached at http://www.gritechnologies.com/tools/spider.go ), I get the following error messages:

Warning: fopen(111): failed to open stream: No such file or directory in /home/drugcri/public_html/rss2html.php on line 352
Warning: fread(): supplied argument is not a valid stream resource in /home/drugcri/public_html/rss2html.php on line 354
Warning: fclose(): supplied argument is not a valid stream resource in /home/drugcri/public_html/rss2html.php on line 357

By the way, the URL that I am running through the "Poodle Predictor" is: www.drugcrimelawyer.com/rss2html.php?XMLFILE=http://www.mapinc.org/xml/111&TEMPLATE=rss2html-sample-template-mapinc.html&MAXITEMS=50

Can anybody tell me why I'm getting these errors?!

Thanks!

_________________
Web Guy
http://www.drugcrimelawyer.com
View user's profileSend private message
Tech Support



Joined: 27 Aug 2004
Posts: 693

PostPosted: Thu Feb 24, 2005 8:28 pm Reply with quoteBack to top

I think the problem is because you are using a relative path for the template. Try using a full URL for the location of the template file.

www.drugcrimelawyer.com/rss2html.php?XMLFILE=http://www.mapinc.org/xml/111&TEMPLATE=http://www.mapinc.org/xml/rss2html-sample-template-mapinc.html&MAXITEMS=50

I just took a guess at the template's full URL. Please correct it if it is wrong.

_________________
FeedForAll Support
View user's profileSend private message
dkotchen



Joined: 24 Feb 2005
Posts: 2

PostPosted: Thu Feb 24, 2005 9:01 pm Reply with quoteBack to top

Thanks for the suggestion, but I'm still getting the errors. I just tried it using an absolute path for the template, which is shown here:

http://www.drugcrimelawyer.com/rss2html.php?XMLFILE=http://www.mapinc.org/xml/111&TEMPLATE=http://www.drugcrimelawyer.com/rss2html-sample-template-mapinc.html&MAXITEMS=50

Any other suggestions?

_________________
Web Guy
http://www.drugcrimelawyer.com
View user's profileSend private message
Guest






PostPosted: Thu Feb 24, 2005 9:41 pm Reply with quoteBack to top

The '111' at the end of the XMLFILE variable. Is that the name of your feed's file, or is that the name of a folder?

If it is a file, try naming it 111.xml. If it is a folder, then include the name of the file in that folder.

I tried the poodle thing on one of our feed pages, and it seemed to work find.
dfindr
Guest





PostPosted: Sat Feb 26, 2005 5:56 am Reply with quoteBack to top

I am getting the error messages below. I double checked the paths and extensions for all the files and they are ok. The files are installed properly and located on my server in the right places. Anyone got any ideas

Warning: fopen(): failed to open stream: No such file or directory in /home/dfindr/public_html/rss2html.php on line 339

Warning: fread(): supplied argument is not a valid stream resource in /home/dfindr/public_html/rss2html.php on line 341

Warning: fclose(): supplied argument is not a valid stream resource in /home/dfindr/public_html/rss2html.php on line 344

Warning: fopen(/home/dfindr/public_html/rss2html.php on line 352

Warning: fread(): supplied argument is not a valid stream resource in /home/dfindr/public_html/rss2html.php on line 354

Warning: fclose(): supplied argument is not a valid stream resource in /home/dfindr/public_html/rss2html.php on line 357
Tech Support



Joined: 27 Aug 2004
Posts: 693

PostPosted: Sat Feb 26, 2005 11:00 pm Reply with quoteBack to top

Can you post the full URL you are using to call rss2html.php?

Thanks.

_________________
FeedForAll Support
View user's profileSend private message
norton
Guest





PostPosted: Wed Mar 02, 2005 1:33 pm Reply with quoteBack to top

Why do I get these errors:

Warning: fopen(http://www.sotec.ch/test/test.htm): failed to open stream: Bad file descriptor in D:\Site\sotec\test\rss2html.php on line 339

Warning: fread(): supplied argument is not a valid stream resource in D:\Site\sotec\test\rss2html.php on line 341

Warning: fclose(): supplied argument is not a valid stream resource in D:\Site\sotec\test\rss2html.php on line 344

my link:
http://www.sotec.ch/test/rss2html.php?XMLFILE=http://www.drweb.de/rss.xml&TEMPLATE=http://www.sotec.ch/test/test.htm&MAXITEMS=10

first lines of my rss2html-script which I modified, cuz I didn't work:
//
// rss2html.php RSS feed to HTML webpage script
// version 1.1
// Copyright 2004, 2005 NotePage, Inc.
// http://www.feedforall.com
// This script may be used freely for business or personal use
// This script may not be resold in any form
//

ini_set("allow_url_fopen", "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://examlple.com/sample.xml";
$XMLfilename = "http://www.drweb.de/rss.xml";
if (isset($_REQUEST["XMLFILE"])) {
if (stristr($_REQUEST["XMLFILE"], "file://")) {
// Not allowed
;
}
elseif (stristr($_REQUEST["XMLFILE"], "://")) {
// URL files are allowed
$XMLfilename = $_REQUEST["XMLFILE"];
} else {
// It is local and must be in the same directory
$XMLfilename = basename($_REQUEST["XMLFILE"]);
}
}

//
// If TEMPLATE is passed as part of the REQUEST_URI, then it will be used
// otherwise the the file below is used.
$TEMPLATEfilename = "http://www.sotec.ch/test/test.htm";
if (isset($_REQUEST["TEMPLATE"])) {


The modifications did eliminate some of the error messages, but there are still a couple left :)

Any suggestions?

Norton
Tech Support



Joined: 27 Aug 2004
Posts: 693

PostPosted: Wed Mar 02, 2005 6:13 pm Reply with quoteBack to top

It must be something with your server's configuration for PHP. Your example URL works fine when I use the script on one of our servers. The only difference in the URL below is that the rss2html.php script is being run from our server:

http://www.rss2html.com/public/rss2html.php?XMLFILE=http://www.drweb.de/rss.xml&TEMPLATE=http://www.sotec.ch/test/test.htm&MAXITEMS=10

Small note: you need to add some '~'s after your FeedDescription variable in your template.

_________________
FeedForAll Support
View user's profileSend private message
norton
Guest





PostPosted: Fri Mar 04, 2005 9:11 am Reply with quoteBack to top

First of all, I want to thank you for testing it on your servers, cuz I had no other webspace to try it.
So, I contacted my hoster, which only told me that he saw no configuration problems, great! :(
I've uploaded the info.php here: http://www.sotec.ch/info.php

It would be really cool, if we could get this to work, because rss2html is really a great script.

Note that the page lies on Windows 2003 sever. Could this maybe be the problem?[/url]
Tech Support



Joined: 27 Aug 2004
Posts: 693

PostPosted: Wed Mar 09, 2005 3:19 pm Reply with quoteBack to top

I haven't been able to get any further with your problem. I would recommend you just run it from our server until you get it figured out:

http://www.rss2html.com/public/rss2html.php?XMLFILE=http://www.drweb.de/rss.xml&TEMPLATE=http://www.sotec.ch/test/test.htm&MAXITEMS=10

The server is there to be used for free, for exactly this type of situation.

_________________
FeedForAll Support
View user's profileSend private message
norton
Guest





PostPosted: Thu Mar 17, 2005 2:34 pm Reply with quoteBack to top

Ok, thanks
ERM
Guest





PostPosted: Thu Apr 07, 2005 12:09 am Reply with quoteBack to top

I'm having similar problems om my server. I have full access to the server, so I can assist if anyone has the time to investigate further, and if it can solve my problem.

I'm now using the script on your server, but would really much like to have it up running locally. I don't see anything of interest in the apache error log, and have no idea what so ever on where and what to check any further myself - sorry, but if someone could guide me then maybe we could sort it out?

TIA
Tina - The Evil RootMum -
Tech Support



Joined: 27 Aug 2004
Posts: 693

PostPosted: Thu Apr 07, 2005 3:31 pm Reply with quoteBack to top

Can you post exactly what messages you are getting when you try to use the script locally?

_________________
FeedForAll Support
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