vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   RSS feed / scheduled task not updating - Date set as last update at 8th Aug (https://vborg.vbsupport.ru/showthread.php?t=286594)

John Diver 08-13-2012 08:17 AM

RSS feed / scheduled task not updating - Date set as last update at 8th Aug
 
Hey,

I don't know why but my RSS feeds aren't updating, I tried to add a few new feeds but they aren't retrieving at all, there is no last date set when I run manually and in the log, the last update it is showing is from 8th Aug (4 days) ago.

But when I run the scheduled task manually, it is loading a few other feeds I had setup previously and also getting the feed without any problems..

Not sure what is going wrong.

The last checked for the feed is staying at "-" - So the feed isn't being checked, even when run manually..

Thanks

New Joe 08-13-2012 08:32 AM

I have the same problem.
On another forum I have it pulls in the rss feeds fine

John Diver 08-13-2012 09:49 AM

Same with me...Tried it on my other site with the same feed and its working no problem...

New Joe 08-13-2012 12:42 PM

Do you run 4.2.0?

John Diver 08-14-2012 06:21 PM

No, I am running 3.8

Read threads from people having the same problem for a few years now but there hasn't been a fix...

Lynne 08-14-2012 08:47 PM

Anything in your error_logs (if you don't know where they are, ask your host)? Are your other Scheduled Tasks running?

John Diver 08-14-2012 09:53 PM

Nothing in my error logs Lynne and the other scheduled tasks are running, including RSS feeds - I added a few others that I know are working, and updating, but they aren't working with vB..

Thanks Lynne :)

kh99 08-14-2012 10:23 PM

So when you run the task manually from the adminCP, do you see any messages?

Do you have anything entered in "Search Items for Words"?

And I guess you've tried copying the url to your browser to see if it's working?

Maybe try creating a new feed with the same url and post it to a junk thread somewhere, and see if that one works.

John Diver 08-14-2012 10:32 PM

Hey Kevin,

Quote:

So when you run the task manually from the adminCP, do you see any messages?
Nothing at all for the tasks..

Quote:

Do you have anything entered in "Search Items for Words"?
No, I don't have anything entered for any feeds.

Quote:

And I guess you've tried copying the url to your browser to see if it's working?
Yeah, I have done it with a few and they are working fine, just not working in vB.

Quote:

Maybe try creating a new feed with the same url and post it to a junk thread somewhere, and see if that one works.
I did that on a test forum and it is working without a problem, but there are 4 or 5 feeds not working on my live forum - The feeds haven't even been checked, the last time is showing as "-" - so I dont think they have been checked at all.

Thanks Kevin!

kh99 08-14-2012 10:37 PM

Hmm...OK, well, you could try removing one of the ones that's not working and recreate it. If you do that, you might get duplicates (if they were ever working at all, that is), but it could fix the problem.

John Diver 08-14-2012 10:50 PM

None are working since I made my first thread, I have tried to add others that I know are working, but they aren't running at all.
Previous feeds that I added are still working right now...I have added around 7 feeds now that aren't updating or even being checked, but they are working fine on a test forum, just not on my live forum...

The last date checked is just showing "-" and they aren't showing any posts at all.

Lynne 08-15-2012 01:23 AM

Are you sure the script isn't timing out? It really sounds like the script isn't getting around to some of the feeds.

John Diver 08-15-2012 08:43 AM

Hey Lynne,

The script is running no problem and also displays the page after running - Showing if any posts have been made or not.

Do you know what order vBulletin runs the feeds? In the order they were created, name or....?

Thanks again Lynne!

Lynne 08-15-2012 04:10 PM

The script that runs when you click to run it manually is different than what runs when it runs via the Scheduled Tasks.

I honestly do not know what order it goes in. This is a query which doesn't have an order:
PHP Code:

$feeds_result $vbulletin->db->query_read("
    SELECT rssfeed.*, rssfeed.options AS rssoptions, user.*, forum.forumid
    FROM " 
TABLE_PREFIX "rssfeed AS rssfeed
    INNER JOIN " 
TABLE_PREFIX "user AS user ON (user.userid = rssfeed.userid)
    INNER JOIN " 
TABLE_PREFIX "forum AS forum ON (forum.forumid = rssfeed.forumid)
    WHERE rssfeed.options & " 
$vbulletin->bf_misc_feedoptions['enabled'] . "
"
); 


John Diver 08-15-2012 04:48 PM

I don't know why the new feeds aren't working...

I added a few general, daily updated feeds just to check it, they aren't being checked / updated at all either, so something is definitely wrong..

The feeds are working in general, but no recently added feeds are working, the older feeds are still working and adding the posts.

kh99 08-15-2012 05:22 PM

The "last checked" doesn't get updated unless it runs successfully and finds at least one item. But that doesn't help a lot, it could fail to connect, fail to get the xml, have an xml error, find no new items, or not find any matching search terms (which shouldn't apply to you since you said you have none). It's difficult to debug it "blind" - when you run it from the admincp some of those errors will print a message, but I'm not sure all of them do.

Hate to ask this, but are you sure you selected "Yes" next to "Feed is Enabled"?

If you wanted to dump you rssfeed db table and attach it to a post, I could see what happens when I try it on my test forum.

John Diver 08-15-2012 05:50 PM

Quote:

Hate to ask this, but are you selected "Yes" next to "Feed is Enabled"?
Haha no problem Kevin, it's always good to ask :) Yes, I have them enabled.

I'm not getting any errors at all when running.

I will get a dump of the table now and attach it :)

Thanks for helping :)

Lynne 08-15-2012 11:45 PM

How about posting the links to some of the feeds that aren't working? Are you sure they actually have recent stuff to post in your forums?


All times are GMT. The time now is 06:23 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.02353 seconds
  • Memory Usage 1,760KB
  • 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
  • (1)bbcode_php_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (18)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