Previous Thread
Next Thread
Print Thread
Hop To
#2423 08/08/2006 4:46 PM
Joined: Jun 2006
Posts: 53
M
MMG
Offline
journeyman
journeyman
M Offline
Joined: Jun 2006
Posts: 53
If I try to delete the first post of any thread I get the following error.

"We cannot proceed. Tried to replace 4 placeholders with 5 replaces. That's too many. Here's the query: UPDATE ubbt_POSTS SET POST_SUBJECT = ? , POST_BODY = ? , POST_DEFAULT_BODY = ? WHERE POST_ID = ?"

Last edited by Rick; 08/11/2006 3:51 PM.
MMG #2432 08/08/2006 8:35 PM
Joined: Jul 2006
Posts: 4,057
Joined: Jul 2006
Posts: 4,057
what version you running ?

B1 or B2


BOOM !! Version v7.6.1.1
People who inspire me Isaac ME Gizmo
Mark S #2458 08/09/2006 8:35 AM
Joined: Jun 2006
Posts: 53
M
MMG
Offline
journeyman
journeyman
M Offline
Joined: Jun 2006
Posts: 53
B2. I can delete the posts from a thread individually with no problems, but if I try to delete an entire thread by deleting the 1st post then it gives me the error above.

MMG #2532 08/11/2006 3:51 PM
Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
This is fixed for beta 4. Just a note, if you need to delete the entire thread, you'll want to use the manage . If you need to get rid of the entire topic you'll want to use the manage topic otpion to do that. Deleting an individual post in a thread will do just that, delete the post, and if it has replies it will set the post subject to deleted to preserve threaded mode.

Rick #2982 08/29/2006 11:49 PM
Joined: Jul 2006
Posts: 47
M
journeyman
journeyman
M Offline
Joined: Jul 2006
Posts: 47
I am not able to fully delete an individual post in a thread. It will delete a content by replacing it with the following sentence: Deleted by (moderator's or administrator's name).
I am using beta 4 version.

Joined: Jul 2006
Posts: 2,143
Pooh-Bah
Pooh-Bah
Joined: Jul 2006
Posts: 2,143
You've never been able to fully delete a post if it has replies. Doing so would utterly break threaded mode.


This thread for sale. Click here! [Linked Image from navaho.infopop.cc]
Joined: Dec 2003
Posts: 1,796
Pooh-Bah
Pooh-Bah
Joined: Dec 2003
Posts: 1,796
Right, it has to be the last post in a topic, or otherwise it can't be removed.


- Allen
- ThreadsDev | PraiseCafe
#2989 08/30/2006 2:57 PM
Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
Or at least not have any replies to it. Example, that hopefully will make sense wink

Code
Topic
  Reply (Can be deleted)
  Reply (Can't be deleted)
    Reply (Can't be deleted)
      Reply (Can be deleted)
    Reply (Can be deleted)
  Reply (Can be deleted)

Rick #2992 08/30/2006 7:27 PM
Joined: Jul 2006
Posts: 47
M
journeyman
journeyman
M Offline
Joined: Jul 2006
Posts: 47
That is OK. I can live with that since post can be fully deleted using SQL manager.

Joined: Jul 2006
Posts: 2,143
Pooh-Bah
Pooh-Bah
Joined: Jul 2006
Posts: 2,143
But why would you do that? It effectively orphans replies in the database.


This thread for sale. Click here! [Linked Image from navaho.infopop.cc]

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
1 members (ahmed047), 624 guests, and 172 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)