Author |
Message |
dkotchen
Joined: 24 Feb 2005
Posts: 2
|
Posted: Thu Feb 24, 2005 5:26 pm |

|
|

|
 |
Tech Support
Joined: 27 Aug 2004
Posts: 695
|
Posted: Thu Feb 24, 2005 8:28 pm |

|
|

|
 |
dkotchen
Joined: 24 Feb 2005
Posts: 2
|
Posted: Thu Feb 24, 2005 9:01 pm |

|
|

|
 |
Guest
|
Posted: Thu Feb 24, 2005 9:41 pm |

|
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
|
Posted: Sat Feb 26, 2005 5:56 am |

|
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: 695
|
Posted: Sat Feb 26, 2005 11:00 pm |

|
Can you post the full URL you are using to call rss2html.php?
Thanks.
|
_________________
FeedForAll Support
|
|

|
 |
norton
Guest
|
Posted: Wed Mar 02, 2005 1:33 pm |

|
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: 695
|
Posted: Wed Mar 02, 2005 6:13 pm |

|
|

|
 |
norton
Guest
|
Posted: Fri Mar 04, 2005 9:11 am |

|
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: 695
|
Posted: Wed Mar 09, 2005 3:19 pm |

|
|

|
 |
norton
Guest
|
Posted: Thu Mar 17, 2005 2:34 pm |

|
|
|
 |
ERM
Guest
|
Posted: Thu Apr 07, 2005 12:09 am |

|
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: 695
|
Posted: Thu Apr 07, 2005 3:31 pm |

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

|
 |
|