HOME | DOWNLOAD | SUPPORT | INSTALLATION | FAQ | SUPPORT FORUM | DEMO
 ° Forums ° Statistics ° Registration ° Search ° Manual °
SkaLinks Forum / Technical Support / Error message at login page
Author Message
googoo
Member

Posted: 3 May 2006 08:08:21


I am getting this message in the top header area at the login page:

Warning: fopen() [function.fopen]: php_network_getaddresses: getaddrinfo failed: Name or service not known in /home/logininfo/public_html/links/SkaLinks_include/xml_parser.class.ph p on line 50

Warning: fopen(http://www.skalinks.com/news/news.rss) [function.fopen]: failed to open stream: Permission denied in /home/logininfo/public_html/links/SkaLinks_include/xml_parser.class.ph p on line 50
Nao foi possivel encontrar o ficheiro pretendido.
Warning: Invalid argument supplied for foreach() in /home/logininfo/public_html/links/admin/index.php on line 165

googoo
Member

Posted: 3 May 2006 08:33:48


The above error code appears AFTER I login (above the Control Panel, on the /admin/ page)

googoo
Member

Posted: 3 May 2006 21:12:59


Any help would be appreciated...

skalinks
Admin

Posted: 3 May 2006 22:23:02


Hello googoo
You hosting does not support remote connections.
You can fix this error message on admin index page, but you will not get news from our server.
To fix this problem, please, open index.php file in admin folder, find and delete this code:

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];
}


Thank you!

googoo
Member

Posted: 4 May 2006 05:06:04


Thank you kindly SkaLinks, that did the trick. What a great script. Job well done.