Ravens PHP Scripts

News Feed Error And Fix
Date: Friday, August 22, 2003 @ 10:44:57 CDT
Topic: Bugs and Alerts


ThePacketMaster writes:

I'm using PHP Nuke 6.5 and was editing a block that downloads headlines from a web site. I made a change to the block, using the edit feature and then it came back saying there was a problem with the content. After doing a packet sniff and seeing the HTTP request was being rejected, I poked around the /admin/blocks.php, and found this line (line 618):

fputs($fp, "GET " . $rdf['path'] . "?" . $rdf['query'] . " HTML/1.0\r\n");

It should be:

fputs($fp, "GET " . $rdf['path'] . "?" . $rdf['query'] . " HTTP/1.0\r\n");

Once I made this change, everything was fine. I don't know if this is fixed in later versions of PHP.

Admin Note: This is still in 6.9, however FB has been notified and hopefully it will be corrected in 7.0. I have corrected it in my download packages effective now.







This article comes from Ravens PHP Scripts
https://www.ravenphpscripts.com

The URL for this story is:
https://www.ravenphpscripts.com/modules.php?name=News&file=article&sid=144