HOME | DOWNLOAD | SUPPORT | INSTALLATION | FAQ | SUPPORT FORUM | DEMO
 ° Forums ° Statistics ° Registration ° Search ° Manual °
SkaLinks Forum / Technical Support / Install ok, but in control panel I get errors
Author Message
espmartin
Member

Posted: 30 Apr 2007 16:10:07


I get this:

Warning: fopen(): URL file-access is disabled in the server configuration in /home/content/e/s/p/espmartin/html/accessiblewebdesign-fsn/directory/S kaLinks_include/xml_parser.class.php on line 50

Warning: fopen(http://www.skalinks.com/news/news.rss): failed to open stream: no suitable wrapper could be found in /home/content/e/s/p/espmartin/html/accessiblewebdesign-fsn/directory/S kaLinks_include/xml_parser.class.php on line 50
Nao foi possivel encontrar o ficheiro pretendido.
Warning: Invalid argument supplied for foreach() in /home/content/e/s/p/espmartin/html/accessiblewebdesign-fsn/directory/a dmin/index.php on line 165

Help!

skalinks
Admin

Posted: 1 May 2007 02:28:57


You shoul delete this one, in admin/index.php file :
require_once( '../SkaLinks_include/rss.class.php' );
$reader = new RSSReader( $_skalinks_url['rm_news'] );
foreach( $reader->data['item']['title'] as $key => $value )
{
$reader->data['item']['description'][$key] = str_replace( ">", ">", $reader->data['item']['description'][$key] );
$reader->data['item']['description'][$key] = str_replace( "&lt;", "<", $reader->data['item']['description'][$key] );
$reader->data['item']['title'][$key] = str_replace( "&gt;", ">", $reader->data['item']['title'][$key] );
$reader->data['item']['title'][$key] = str_replace( "&lt;", "<", $reader->data['item']['title'][$key] );

$_output['news'][$key]['title'] = $reader->data['item']['title'][$key];
$_output['news'][$key]['link'] = $reader->data['item']['link'][$key];
$_output['news'][$key]['description'] = $reader->data['item']['description'][$key];
$_output['news'][$key]['pubdate'] = $reader->data['item']['pubdate'][$key];
}