Gossamer Forum
Home : Products : Gossamer Forum : Discussion :

Deleting a post error

Quote Reply
Deleting a post error
A fatal error has occurred:
GT::SQL::Table (2144): Wrong argument passed to this subroutine. Usage: Could not create a condition object out of arguments. at d:/site/cgi-bin/forums/admin/GForum/Table/Post.pm line 247.


Please enable debugging in setup for more details.


Realiiity.com Forums
Quote Reply
Re: [ellipsiiis] Deleting a post error In reply to
I just found the sam problem with version 1.1.2. What is the problem?

Lauri
Quote Reply
Re: [lpa] Deleting a post error In reply to
Well now it's telling me posts are deleted and just not deleting them, so I'm thoroughly confused.


Realiiity.com Forums
Quote Reply
Re: [ellipsiiis] Deleting a post error In reply to
I just came across exactly the same error message (even the line number is the same), using version 1.1.3. Delete works fine, but remove doesn't.

Any progress on this?

Ivan
-----
Iyengar Yoga Resources / GT Plugins
Quote Reply
Re: [yogi] Deleting a post error In reply to
Try changing lines 247-248 of GForum/Table/Post.pm to this (changes in red):

Code:
my $return = $self->SUPER::delete({ post_id => \@children })
or return if @children;

Jason Rhinelander
Gossamer Threads
jason@gossamer-threads.com
Quote Reply
Re: [Jagerman] Deleting a post error In reply to
I changed that, but get the same error. Strangly enough it only happens on my live forum (which has been continually upgraded since version 1.0.0) and not on a new test install...

Ivan
-----
Iyengar Yoga Resources / GT Plugins
Quote Reply
Re: [yogi] Deleting a post error In reply to
Does it happen always when removing a post, or is it only when removing a post with replies?

Jason Rhinelander
Gossamer Threads
jason@gossamer-threads.com

Last edited by:

Jagerman: Apr 18, 2002, 11:11 AM
Quote Reply
Re: [Jagerman] Deleting a post error In reply to
It happens always.

Ivan
-----
Iyengar Yoga Resources / GT Plugins
Quote Reply
Re: [Jagerman] Deleting a post error In reply to
By the way, I noticed that the "views" for the post that I want to remove are set to zero anyway (even if the post is not removed).

Ivan
-----
Iyengar Yoga Resources / GT Plugins