Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 General Discussions
  #1  
Old 05-31-2013, 04:16 AM
John Lester John Lester is offline
 
Join Date: Nov 2004
Posts: 543
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default View forum posts 4.1.12

So for the last 6 months or perhaps longer (first I heard of it was 6 months ago) when a member clicks on another members name in the postbit (legacy) and clicks the "View Forum Posts" link ... it doesn't show recent posts. There's about a 3 week gap between the posts the link returns and the actual most recent post of the user.

This is the only search that's buggered up (http://www.braintalkcommunities.org/...st&showposts=1) but is "fixed" for a little while after I rebuild the search index.

Anyone have any ideas as to what's going on with this search feature?
Reply With Quote
  #2  
Old 05-31-2013, 04:10 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What is set for AdminCP > Settings > Options > message searching options > Queue Search Updates ? And if it's set to yes, look at Scheduled Tasks and make sure the task to run the queue processor task is running.
Reply With Quote
  #3  
Old 05-31-2013, 06:00 PM
John Lester John Lester is offline
 
Join Date: Nov 2004
Posts: 543
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok it was set to yes but there was no "Search Queue Updates" in the scheduled task. Do you happen to know how to set it up? Or where I can go searching for instructions on setting it up?
Reply With Quote
  #4  
Old 05-31-2013, 11:45 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I don't know the actual name of it as it has changed a few times (mine still is just called "tsq"). Here are the specifics of setting it up.

Title: Search Queue Update
Minute: 0, 10, 20, 30, 40, 50
Active: Yes
Filename: ./includes/cron/queueprocessor.php

Save it. Run it. It should now be set to run every 10 minutes on your forum and index all new posts every 10 minutes.
Reply With Quote
2 благодарности(ей) от:
John Lester, t-j
  #5  
Old 06-01-2013, 01:14 AM
John Lester John Lester is offline
 
Join Date: Nov 2004
Posts: 543
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you Lynne

There was a process called queuprocessor but for some reason it was set to run every 0 hour every ten minutes. I have just now changed that to * (every hour) and every 10 minutes and will see if it's working properly tomorrow.

--------------- Added [DATE]1370117863[/DATE] at [TIME]1370117863[/TIME] ---------------

Ok so queueprocessor wasn't running even with all settings set properly. I have just created the task that you laid out of me and will report back when I check it again later today
Reply With Quote
  #6  
Old 06-03-2013, 05:47 AM
John Lester John Lester is offline
 
Join Date: Nov 2004
Posts: 543
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok it's not running at all. In the scheduled task manager it shows when it's supposed to run next, but it never shows up in the log, and it's not running. So I attached two screen shots, the first is how the task is set up, and the other is the task log showing that it isn't running.

Note: It doesn't show in the log even when it's run manually. The log shows a span of roughly 3 hours of tasks.
Attached Images
File Type: jpg search_queue.jpg (116.3 KB, 0 views)
File Type: jpg task_log.jpg (170.3 KB, 0 views)
Reply With Quote
  #7  
Old 06-03-2013, 05:29 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You don't have a log phrase in there. Also, are you checking your error_logs ?
Reply With Quote
  #8  
Old 06-03-2013, 05:58 PM
John Lester John Lester is offline
 
Join Date: Nov 2004
Posts: 543
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sheesh.....you're right I don't have a phrase in there *smacks the back of his head* I haven't seen anything in the error logs that relates to scheduled tasks, just a few 404 errors that I haven't figured out yet

Ok so I'll put in a log phrase and see what happens.
Reply With Quote
  #9  
Old 06-03-2013, 06:20 PM
John Lester John Lester is offline
 
Join Date: Nov 2004
Posts: 543
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok I placed a log phrase but it's still not showing up on the task log. In case I'm missing something in the error log, I have attached it as a .txt file.
Attached Files
File Type: txt error_log.txt (56.5 KB, 2 views)
Reply With Quote
  #10  
Old 06-03-2013, 06:32 PM
Zachery's Avatar
Zachery Zachery is offline
 
Join Date: Jul 2002
Location: Ontario, Canada
Posts: 11,440
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

So if you run it manually, what happens? Any error or output?
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 03:14 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04388 seconds
  • Memory Usage 2,271KB
  • Queries Executed 12 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (2)post_thanks_box_bit
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (3)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_attachment
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete