vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=252)
-   -   Search for empty posts and delete (https://vborg.vbsupport.ru/showthread.php?t=315639)

John Diver 11-26-2014 03:15 PM

Search for empty posts and delete
 
Hey,

I upgraded a forum from 3.8 and I have some RSS feeds setup, some of the feeds are showing blank posts - I would like to know how I can search for any blank posts first so I can check the feed and how I could delete any posts that have a blank message - Some posts have the title but no actual post for some reason.

Thanks for any help :)

HM666 11-26-2014 06:48 PM

Quote:

Originally Posted by John Diver (Post 2524230)
Hey,

I upgraded a forum from 3.8 and I have some RSS feeds setup, some of the feeds are showing blank posts - I would like to know how I can search for any blank posts first so I can check the feed and how I could delete any posts that have a blank message - Some posts have the title but no actual post for some reason.

Thanks for any help :)

Have you recounted everything after upgrading from vb 3.8 to vb 4? If not you need to login to your admincp and go to Maintenance>General Update Tools and update your threads, forums, posts, members, etc.

John Diver 11-26-2014 07:26 PM

Thanks for the reply.

I have been running these today, its taking quite a while, 260k+ threads - But these were new posts, it was showing the title but no body content.

I was hoping to find any that are coming blank so I can work on that feed.

Thanks Len

HM666 11-27-2014 02:42 AM

Quote:

Originally Posted by John Diver (Post 2524306)
Thanks for the reply.

I have been running these today, its taking quite a while, 260k+ threads - But these were new posts, it was showing the title but no body content.

I was hoping to find any that are coming blank so I can work on that feed.

Thanks Len

Yeah when you have a large forum it will take quite some time to do these. Something seriously freaky is going on with your site since your upgrade. What steps did you take for your upgrade exactly and what version did you upgrade from?

John Diver 11-27-2014 08:02 AM

Hey Len

I upgraded from 3.8.3 I think it was,, it was 3.8.x anyway.

I copied the database to a new db by SSH and just ran through the upgrade script

HM666 11-27-2014 10:30 AM

Quote:

Originally Posted by John Diver (Post 2524392)
Hey Len

I upgraded from 3.8.3 I think it was,, it was 3.8.x anyway.

I copied the database to a new db by SSH and just ran through the upgrade script

Why did you copy it to a new database? That is a step that you do not need to do. Was the site live at the time?

John Diver 11-27-2014 04:13 PM

Yeah the site was live, I meant I did a copy as a test site so I wasn't working with the live db

Lynne 11-27-2014 04:40 PM

Did you check the actual RSS feed itself to see if it was feeding you blank posts?

John Diver 11-27-2014 05:19 PM

Hey Lynne, yeah I checked it and the feed is working fine

HM666 11-27-2014 05:50 PM

Quote:

Originally Posted by John Diver (Post 2524489)
Yeah the site was live, I meant I did a copy as a test site so I wasn't working with the live db

Ah ok. :)


All times are GMT. The time now is 10:06 PM.

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.00985 seconds
  • Memory Usage 1,736KB
  • 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
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete