Hello
I have my personal website (which is not ready yet) on a freehosting with PHP version 5.5 only. I'm trying to use RSS Import plugin, however, it's not familiar with this PHP version, so it doesn't work (doesn't show any RSS articles).
When I was trying to debug it, I got these errors:
The line 66 is
and the line 69 is
As I'm more a coder than a programmer, I don't know if there's any simple way how to solve this issue. I think I would need to replace the simplexml_load_file function, which I think would be a great problem.
Do you know any easy way how to update this plugin or writing my own that would work - no error messages would be shown.
I don't mind errors as long as the plugin itself work. In this case, RSS Import just doesn't show the RSS content. It work well on PHP 5.2.
Thanks for any replies
I have my personal website (which is not ready yet) on a freehosting with PHP version 5.5 only. I'm trying to use RSS Import plugin, however, it's not familiar with this PHP version, so it doesn't work (doesn't show any RSS articles).
When I was trying to debug it, I got these errors:
Quote:Warning: simplexml_load_file():
http:// wrapper is disabled in the server configuration by allow_url_fopen=0
in /www/sites/6/site16906/public_html/plugins/rss_import.php on line 66
Warning: simplexml_load_file(http://www.webzpravodaj.cz/autor/tomas-janecek/feed/): failed to open stream:
no suitable wrapper could be found in /www/sites/6/site16906/public_html/plugins/rss_import.php on line 66
Warning: simplexml_load_file(): I/O warning : failed to load external entity "http://www.webzpravodaj.cz/autor/tomas-janecek/feed/"
in /www/sites/6/site16906/public_html/plugins/rss_import.php on line 66
Notice: Trying to get property of non-object in /www/sites/6/site16906/public_html/plugins/rss_import.php on line 69
Notice: Trying to get property of non-object in /www/sites/6/site16906/public_html/plugins/rss_import.php on line 69
Warning: Invalid argument supplied for foreach() in /www/sites/6/site16906/public_html/plugins/rss_import.php on line 69
The line 66 is
Code:
$rss_news_url = simplexml_load_file($rss_feed->url);
and the line 69 is
Code:
foreach($rss_news_url->channel->item as $display_news){
As I'm more a coder than a programmer, I don't know if there's any simple way how to solve this issue. I think I would need to replace the simplexml_load_file function, which I think would be a great problem.
Do you know any easy way how to update this plugin or writing my own that would work - no error messages would be shown.
I don't mind errors as long as the plugin itself work. In this case, RSS Import just doesn't show the RSS content. It work well on PHP 5.2.
Thanks for any replies
Tomáš Janeček - Multilingual personal website powered by GetSimple
» The little I did for GetSimple
» The little I did for GetSimple