PDA

View Full Version : RSS Not Posting content


deset
01-05-2019, 06:41 PM
Running VB4.2.5

I've had issues in the past where VB just doesnt like any XML feed I give it, so I always hook the feed up to feedburner, and then get VB to read from the feedburner RSS. Worked fine in the past, no issues.

Today, I've got a reddit feed, that I've put through Feedburner (http://feeds.feedburner.com/reddit/PPba), and set it up as usual. The preview from VB shows the content being pulled in correctly.

Below are my settings, with the preview showing the correct stuff.

https://vborg.vbsupport.ru/external/2019/01/2.png

Now when it comes to actually posting, the threads are blank - post title is there, but the actual post is just an empty box.

Any ideas?

Edit:
Checked the error logs, and have the below:

[05-Jan-2019 20:46:02 UTC] PHP Warning: Illegal string offset 'value' in /home/grimefor/public_html/includes/cron/rssposter.php on line 185
[05-Jan-2019 20:46:02 UTC] PHP Warning: Illegal string offset 'value' in /home/grimefor/public_html/includes/cron/rssposter.php on line 185
[05-Jan-2019 20:46:02 UTC] PHP Warning: Illegal string offset 'value' in /home/grimefor/public_html/includes/cron/rssposter.php on line 185
[05-Jan-2019 20:46:02 UTC] PHP Warning: Illegal string offset 'value' in /home/grimefor/public_html/includes/cron/rssposter.php on line 185
[05-Jan-2019 20:46:02 UTC] PHP Warning: Illegal string offset 'value' in /home/grimefor/public_html/includes/cron/rssposter.php on line 185


And line 185 of the file is below:

switch($feed['xml']->feedtype)
{
case 'atom':
{
// attach a content hash to each item
## THE LINE BELOW IS 185##
$item['contenthash'] = md5($item['title']['value'] . $description . $item['link']['href']);
break;
}
case 'rss':
default:
{
// attach a content hash to each item
$item['contenthash'] = md5($item['title'] . $description . $item['link']);
}
}

Budget101
01-12-2019, 01:52 PM
This older thread may provide a little insight: https://www.vbulletin.com/forum/forum/vbulletin-3-8/vbulletin-3-8-questions-problems-and-troubleshooting/4206152-warning-illegal-string-offset-value-in-path-includes-cron-rssposter-php-on-line-187