Previous Thread
Next Thread
Print Thread
Hop To
#257990 01/28/2016 3:49 PM
Joined: Oct 2007
Posts: 361
Likes: 8
Enthusiast
Enthusiast
Joined: Oct 2007
Posts: 361
Likes: 8
I have an orphaned post. I've searched all over the database and I can't find where it is. I need to get rid of this thing. How do I do it?

I've attached a screenshot.

The member's account has been deleted. The post is very odd. It's waiting for moderation but not in the moderation queue. The date is 1969 which is very strange. I've searched in _FORUMS and _POSTS and I can't find this thing anywhere. Clearly I'm missing something.
Attachments
orphaned_post.jpg


The Stovebolt Geek
https://www.stovebolt.com/ubbthreads/ubbthreads.php

Server Information
UBB.threads Version 7.7.5
Release 20201027
Server OS Linux
Server Load 0.16
Web Server Apache/2.4.6
PHP Version 7.4.33
MYSQL Version 5.7.43
Database Size 1.85 GB
Baldeagle #257993 01/28/2016 4:27 PM
Joined: Jun 2006
Posts: 16,299
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,299
Likes: 116
Items in the "Post List" are from the "Topics" table (as the posts table doesn't even have an "is approved" column). It is not recommended to go in and remove items directly from the database as it can lead to more issues (that won't be supported under the standard level of official support; keep in mind that these forums are for user to user support).

A date of 1969 says that the timestamp of the entry in the topics table is 0 (as you can't figure out the amount of seconds since the Unix Epoch if it is 0, as 0 would be before 1970).

The Thread ID shown when you hover over the link is what you'd want to search for in the TopicID or PostID field of the _TOPICS table (or you could just see what's not approved by sorting by the "TOPIC_IS_APPROVED" column).


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Baldeagle #257995 01/28/2016 4:43 PM
Joined: Oct 2007
Posts: 361
Likes: 8
Enthusiast
Enthusiast
Joined: Oct 2007
Posts: 361
Likes: 8
Thanks. I'll poke around and see if I can find this thing.


The Stovebolt Geek
https://www.stovebolt.com/ubbthreads/ubbthreads.php

Server Information
UBB.threads Version 7.7.5
Release 20201027
Server OS Linux
Server Load 0.16
Web Server Apache/2.4.6
PHP Version 7.4.33
MYSQL Version 5.7.43
Database Size 1.85 GB
Baldeagle #257996 01/28/2016 4:52 PM
Joined: Oct 2007
Posts: 361
Likes: 8
Enthusiast
Enthusiast
Joined: Oct 2007
Posts: 361
Likes: 8
OK, I got rid of it. Thanks for the help. The post didn't exist, but it was still listed in _TOPICS.


The Stovebolt Geek
https://www.stovebolt.com/ubbthreads/ubbthreads.php

Server Information
UBB.threads Version 7.7.5
Release 20201027
Server OS Linux
Server Load 0.16
Web Server Apache/2.4.6
PHP Version 7.4.33
MYSQL Version 5.7.43
Database Size 1.85 GB

Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Bots
by Outdoorking - 04/13/2024 5:08 PM
Can you add html to language files?
by Baldeagle - 04/07/2024 2:41 PM
Do I need to rebuild my database?
by Baldeagle - 04/07/2024 2:58 AM
This is not a bug, but a suggestion
by Baldeagle - 04/05/2024 11:25 PM
spam issues
by ECNet - 03/19/2024 11:45 PM
Who's Online Now
2 members (Nightcrawler, Ruben), 694 guests, and 214 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20230217)