Author |
Message |
bobby123
New Member


Joined: Mar 19, 2010
Posts: 9
|
Posted:
Sun Mar 21, 2010 8:23 pm |
|
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 |
|
|
|
 |
jakec
Site Admin

Joined: Feb 06, 2006
Posts: 3048
Location: United Kingdom
|
Posted:
Mon Mar 22, 2010 12:54 am |
|
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. |
|
|
|
 |
bobby123

|
Posted:
Tue Mar 23, 2010 10:28 pm |
|
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
|
Posted:
Wed Mar 24, 2010 7:07 am |
|
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! |
|
|
 |
bobby123

|
Posted:
Wed Mar 24, 2010 10:46 am |
|
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
|
Posted:
Wed Mar 24, 2010 3:38 pm |
|
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. |
|
|
|
 |
|