The following warnings occurred:
Warning [2] Undefined array key "threadviews_countguests" - Line: 745 - File: showthread.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/showthread.php 745 errorHandler->error_callback
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/inc/functions_post.php 830 postParser->parse_message
/showthread.php 916 build_postbit
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/inc/functions_post.php 861 postParser->parse_message
/showthread.php 916 build_postbit
Warning [2] Undefined property: MyLanguage::$thread_modes - Line: 46 - File: showthread.php(1650) : eval()'d code PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/showthread.php(1650) : eval()'d code 46 errorHandler->error_callback
/showthread.php 1650 eval




Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
RSS Import on PHP 5.5
#1
Hello Smile

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 Smile
Tomáš Janeček - Multilingual personal website powered by GetSimple
» The little I did for GetSimple
Reply


Messages In This Thread
RSS Import on PHP 5.5 - by TeeJay - 2013-07-31, 06:58:25
RE: RSS Import on PHP 5.5 - by shawn_a - 2013-07-31, 09:17:04
RE: RSS Import on PHP 5.5 - by TeeJay - 2013-08-02, 17:29:25



Users browsing this thread: 1 Guest(s)