Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> v2.30.01 RN New Installation Issues
Author Message
bobby123
New Member
New Member



Joined: Mar 19, 2010
Posts: 9

PostPosted: Sun Mar 21, 2010 8:23 pm Reply with quote

ok i get this error message and not sure where to change the setting




Warning: file_get_contents() [function.file-get-contents]: URL file-access is disabled in the server configuration in D:\Hosting\5837715\html\themes\MW2\GT\includes\rss_php.php on line 28

Warning: file_get_contents(http://www.gametrailers.com/rssgenerate.php?game1id=11043&vidformat[flv]=on&type[review]=on&type[preview]=on&type[interview]=on&type[gameplay]=on&type[trailer]=on&type[feature]=on&quality[sd]=on&agegate[yes]=on&agegate[no]=on&orderby=newest&limit=20) [function.file-get-contents]: failed to open stream: no suitable wrapper could be found in D:\Hosting\5837715\html\themes\MW2\GT\includes\rss_php.php on line 28

Warning: Invalid argument supplied for foreach() in D:\Hosting\5837715\html\themes\MW2\GT\includes\rss_php.php on line 87


not sure what to do error reporting is on, i looked at the file and didnt notice anything out of the normal, also tried diferent themes to see if that was the issue but that didnt help


but if you change the cookie path like stated in other posts it lets you post but still get some weird errors
 
View user's profile Send private message
jakec
Site Admin



Joined: Feb 06, 2006
Posts: 3048
Location: United Kingdom

PostPosted: Mon Mar 22, 2010 12:54 am Reply with quote

Can you post the lines of code referred to in the error messages, including a few lines before and after.

Looks like it could be your server setup by the first message.
 
View user's profile Send private message
bobby123







PostPosted: Tue Mar 23, 2010 10:28 pm Reply with quote

ok heres a few lines b4 and after each section

line 28
public load methods
***/
# load RSS by URL
public function load($url=false, $unblock=true) {
if($url) {
if($unblock) {
$this->loadParser(file_get_contents($url, false, $this->randomContext()));
} else {
$this->loadParser(file_get_contents($url));
}
}



line 87

private function valueReturner($valueBlock=false) {
if(!$valueBlock) {
$valueBlock = $this->document;
}
foreach($valueBlock as $valueName => $values) {
if(isset($values['value'])) {
$values = $values['value'];
}
if(is_array($values)) {
$valueBlock[$valueName] = $this->valueReturner($values);
} else {
$valueBlock[$valueName] = $values;
}
}
return $valueBlock;
}

private function extractDOM($nodeList,$parentNodeName=false) {
$itemCounter = 0;
foreach($nodeList as $values) {
if(substr($values->nodeName,0,1) != '#') {
if($values->nodeName == 'item') {
$nodeName = $values->nodeName.':'.$itemCounter;
$itemCounter++;
 
montego
Site Admin



Joined: Aug 29, 2004
Posts: 9457
Location: Arizona

PostPosted: Wed Mar 24, 2010 7:07 am Reply with quote

bobby123, you say that you tried different themes, but the error is pointing to specific code that is sitting under this particular theme (which is like nothing I have ever seen for *nuke). If you use one of stock themes which come with RavenNuke(tm), no changes, what happens?

In all honesty, the error is pointing to get_file_contents() not being allowed and it may just be for making a remote call. You will have to check with your host on that to see if they are even willing to enable that.

_________________
Only registered users can see links on this board! Get registered or login!
Only registered users can see links on this board! Get registered or login! 
View user's profile Send private message Visit poster's website
bobby123







PostPosted: Wed Mar 24, 2010 10:46 am Reply with quote

honestly it seems to be running fine atm other then that perticular error showing up at the bottom, which doesnt really bother me other then the fact that some minor thing is taking place but ill have my provider look into it
 
Raven
Site Admin/Owner



Joined: Aug 27, 2002
Posts: 17088

PostPosted: Wed Mar 24, 2010 3:38 pm Reply with quote

As it says in your original message your host is not allowing the use of the function file_get_contents(). Your host is the only one who can resolve the issue.
 
View user's profile Send private message
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> v2.30.01 RN New Installation Issues

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©