I applied the fix to the index.php which you described, and I replaced the cache.php to the 3.0.6 version.Smix wrote:@Hippie459MN
Yes, I´ve proposed this fix page ago
@madmartyau
html_to_bbcode is not returning values ... It´s changing the content which is available in $this->items ...
@mutank
... please describe it more clearly, what have you done ...
Thanks, I somehow missed it while looking through everything.Smix wrote:@Hippie459MN
Yes, I´ve proposed this fix page ago
hi it is PHP5.x.x and has cURL enabled, also my PHPinfo says that simplexml is enabled.Smix wrote:@benmac
What´s the URL of the feed which is not working for you?
@Apophis72
Thanks! ... I´ve prepared a forum for translations on my board, where you can post it ... I´ll link it always with the latest version in the first post ...
@dramacius
Thanks for reporting of this issue. I´ve never seen this bug before. What´s your PHP version? simplexml_load_file is defaultly enabled in PHP5 ... You might try to consult that problem with your server hosting - why is not simplexml_load_file function not working ...
It´s still possible to run this MOD working without this functions - do you have fopen or cURL on your server enabled? (check phpinfo in ACP).
@madmartyau
Thanks for report, yeah, I´ll need to strip all tags but not those used in html_to_bbcode ... Will check it soonly
Thanks for reports ...
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
Code: Select all
// config
private $download_function = 'simplexml';
Code: Select all
// config
private $download_function = 'curl';
Thanks for that, I will try it ASAP and let you know, I will also check on the PHP version later and let you know that too.@dramacius
... which PHP5.x.x ... ? ...
... anyway try this ...
open includes/mods/smixmods_feed_news_center.class.php
FINDif you´ve got cURL enabled ...Code: Select all
// config private $download_function = 'simplexml';
replace with... or fopen if applicable ...Code: Select all
// config private $download_function = 'curl';
Code: Select all
$feed_url = "";
$xml = simplexml_load_file($feed_url);
foreach ($xml->channel->item as $item) {
$ns_content = $item->children('http://purl.org/rss/1.0/modules/content/');
$message = $ns_content->encoded;
}
Code: Select all
/**
* Main configuration for the parser
*/
private function setup()
{
global $config;
// we´ll probably don´t need a CURL or FOPEN functions any more ...
$this->download_function = 'simplexml';