Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
plugins-topic
What would cause the recent forum posts widget to not update?
Avatar
kvr28
Member
Free Members
sp_UserOfflineSmall Offline
Nov 29, 2014 - 10:10 pm

no, but we did import from mingle to bbpress to simple press, the bbpress import was a cluster the whole way through, kicking myself in the rear for not going to simple press, give me a second and I will set up my test account with admin creds on the staging server and pm you the info along with sftp

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Nov 29, 2014 - 10:51 pm

Please be sure to PM to yellow swordfish, Ike and myself…

Avatar
kvr28
Member
Free Members
sp_UserOfflineSmall Offline
Nov 29, 2014 - 11:02 pm

all sent

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Nov 29, 2014 - 11:05 pm

so just to check, the recent posts widget exhibits the same behavior on the staging server?

wont be tonight for me...  last night my son is home before heading back to college...

Avatar
kvr28
Member
Free Members
sp_UserOfflineSmall Offline
Nov 29, 2014 - 11:29 pm

yes it does, I will set it up on the forums so you can see when logged in as admin

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Nov 30, 2014 - 1:57 am

okay, cool... hopefully one of us can look in depth tomorrow...

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Nov 30, 2014 - 3:58 am

Not sure what is going on for me today at the moment but let's try something very basic!

Go to the forum admin > toolbox > housekeeping > rebuild indexes. Select your 'compost bin' forum, click on the 'rebuild...' button and see what happens.

Although I guess I should ask. In the properties dump you pasted above - are you 100% sure that the last post ID for that first topic is incorrect? If you open the actual thread and check the properties for the last post is it different? And if the same - does the date tally as being more recent? Perhaps do that before the re-indexing above...

andy-signature.png
YELLOW
SWORDFISH
Avatar
kvr28
Member
Free Members
sp_UserOfflineSmall Offline
Nov 30, 2014 - 9:21 am

here is the properties of the last post, it is showing a date of 28 May ’12
3:02 pm

Group ID 2
Group Title The Outhouse
Forum ID 5858
Forum Title The Compost Bin
Forum Slug the-compost-bin-1
Topics in Forum 1307
Topic ID 6622
Topic Title Zombie Portraits
Topic Slug zombie-portraits
Posts in Topic 4
Topic Started 27 May ’12 - 8:36 am
First Post ID 6622
Last Post ID 11102
This Post ID 11102
Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Nov 30, 2014 - 9:29 am

So you may be right in thinking there is something wayward in your post ID data...

Did the index rebuild make any difference?

Take a look at the very last post you or anyone has made on the forums and view the properties of that. What is the post_id. In other words, where are you up to as these are sequentially allocated.

andy-signature.png
YELLOW
SWORDFISH
Avatar
kvr28
Member
Free Members
sp_UserOfflineSmall Offline
Nov 30, 2014 - 9:29 am

also, I put the recent posts widget in the sidebar on the staging server and set the display for the last 100 posts, it's still only showing 55, but it is generating this error in the server error logs, not sure if it's helpful or not

LONG QUERY (1026 characters long generated in wp-content/plugins/simple-press/sp-api/sp-api-wpdb.php:176): SELECT  rufus_sftopics.forum_id, forum_name, forum_slug, forum_disabled, rufus_sftopics.topic_id, topic_name, topic_slug, topic_icon, topic_icon_new, rufus_sftopics.post_count,
\t\t\t\t\t\t\t\trufus_sftopics.post_id, post_status, post_index, post_date,
\t\t\t\t\t\t\t\tguest_name, rufus_sfposts.user_id, post_content, display_name FROM rufus_sftopics JOIN rufus_sfforums ON rufus_sfforums.forum_id = rufus_sftopics.forum_id JOIN rufus_sfgroups ON rufus_sfgroups.group_id = rufus_sfforums.group_id JOIN rufus_sfposts ON rufus_sfposts.post_id = rufus_sftopics.post_id LEFT JOIN rufus_sfmembers ON rufus_sfmembers.user_id = rufus_sfposts.user_id WHERE rufus_sftopics.topic_id IN (33279,33267,33278,33275,33161,33271,33254,33273,33269,33280,32646,32965,10305,33277,33276,33264,33225,33274,33272,33270,33268,33263,33265,33266,9532,33262,33261,8876,33232,33244,33258,33260,33241,33259,33250,33249,33239,33226,10133,33236,33246,31762,33251,33253,33257,33256,33255,33190,33243,33252,33248,33234,33247,33220,33229) ORDER BY rufus_sftopics.post_id DESC, 



Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 619
Members: 17363
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10127
Posts: 79625