I have a problem and all search results suggestions do not word.
My site has some 400 pages and all the article pages have this code that causes an error.
The site is running on Godaddy's lenux server.
To see the error go to my web my site and select "Enter" and look at the bottom of the
page and also from there select an article and see the same error at the bottom...
All the other includes in the"Includes" folder work fine including Adsense, Amazon and others, except this one....
This is the code that's near the bottom of all the articles page coding....
This is the error message appears at the bottom of all articles. See below for the include file content of NewsFeed.php..
Warning: include() [function.include]: URL file-access is disabled in the server configuration in /home/content/o/r/e/orendon/html/weddingsandweddingplanning/Articles/Free_Wedding_Vows.php on line 70
Warning: include((URL address blocked: See forum rules)//Includes/NewsFeed.php?CAT=Weddings) [function.include]: failed to open stream: no suitable wrapper could be found in /home/content/o/r/e/orendon/html/weddingsandweddingplanning/Articles/Free_Wedding_Vows.php on line 70
Warning: include() [function.include]: Failed opening '(URL address blocked: See forum rules)//Includes/NewsFeed.php?CAT=Weddings' for inclusion (include_path='.:/usr/local/php5/lib/php') in /home/content/o/r/e/orendon/html/weddingsandweddingplanning/Articles/Free_Wedding_Vows.php on line 70
This is the include in the Includes folder named NewsFeed, file NewsFeed.php ......
$url = "(URL address blocked: See forum rules)=<keywords>";
$url = str_replace("<keywords>", $CAT, $url);
print "<ul class='ulCategory'>";
flush();
class SimpleXmlParser{
var $SimpleParser;
var $feedUrl;
var $title = "";
var $description = "";
var $link = "";
var $author="";
var $pubDate="";
var $insideitem = false;
var $tag = "";
var $count_results = 0;
var $total_results = 0;
function XmlParserendElement($parser, $tagName) {
//The Function Will be called, when ever the XML_PARSER Encounters a end Tag, in the XML File
if ($tagName == "ITEM") {
if ($this->count_results < $this->total_results) {
It's because you are trying to include from a HTTP URL, not from the local file system, and your PHP settings do not currently allow that (often disabled because of the possibility of security issues as a result of including something that you do not have any control over). If you just need to grab the page output from some external site, you're better off using cURL functions to grab it, then output the result (or whatever else you want to do with it).
"Please give us a simple answer, so that we don't have to think, because if we think, we might find answers that don't fit the way we want the world to be."
~ Terry Pratchett in Nation
Bookmarks