vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   RSS Not Posting content (https://vborg.vbsupport.ru/showthread.php?t=327009)

deset 01-05-2019 06:41 PM

RSS Not Posting content
 
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:

Code:

[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:
Code:

                        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/foru...hp-on-line-187


All times are GMT. The time now is 11:17 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.00938 seconds
  • Memory Usage 1,716KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (2)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete