Gossamer Forum
Home : Products : Gossamer Forum : Discussion :

v1.1.5 Watched Threads Bug

Quote Reply
v1.1.5 Watched Threads Bug
hi,

if i press "Stop watching selected threads" but don't actually select any threads, it returns an internal server error.

how can i fix that one up?

thanks

regan.
Quote Reply
Re: [ryel01] v1.1.5 Watched Threads Bug In reply to
i just tried this on the GT forum, and it seems to be working fine.

so i reverted my template set back to the default install, but it's still doing it, returning this error to the logs.

Code:
[Sun Jun 2 09:26:25 2002] [error] [client 192.168.1.114] Premature end of script headers: /mnt/raid/www/nz/kcclub/gforum.cgi

this is happening after an upgrade from v1.0.0 to v1.1.5.

any ideas?

r.

Last edited by:

ryel01: Jun 1, 2002, 2:36 PM
Quote Reply
Re: [ryel01] v1.1.5 Watched Threads Bug In reply to
Hi Ryel,

This is a 1.1.5 bug. Frown

I fixed it here after reading your post, but hadn't replied yet - that's why it is working here. (And yes, it did produce an error for me here). 1.1.6 has no scheduled additions other than the avatar upload, so it should be out on Monday or Tuesday of this week.

Jason Rhinelander
Gossamer Threads
jason@gossamer-threads.com
Quote Reply
Re: [Jagerman] v1.1.5 Watched Threads Bug In reply to
In Reply To:
Hi Ryel,

This is a 1.1.5 bug. Frown

I fixed it here after reading your post, but hadn't replied yet - that's why it is working here. (And yes, it did produce an error for me here). 1.1.6 has no scheduled additions other than the avatar upload, so it should be out on Monday or Tuesday of this week.



thanks jason - is there an easy fix i can do on my install?

regan.
Quote Reply
Re: [Jagerman] v1.1.5 Watched Threads Bug In reply to
Jason, I see that you are currently running 1.1.6 - and your search feature works. was that fixed in 1.1.6 too?
Quote Reply
Re: [shiner] v1.1.5 Watched Threads Bug In reply to
To my knowledge, the search feature has worked all along. Have you had problems with it?

Jason Rhinelander
Gossamer Threads
jason@gossamer-threads.com
Quote Reply
Re: [Jagerman] v1.1.5 Watched Threads Bug In reply to
Andy mentioned to me yesterday or the day before that the search was broken.
Quote Reply
Re: [Jagerman] v1.1.5 Watched Threads Bug In reply to
Hi,

I think Shiner was talking about this problem with the search feature: http://www.gossamer-threads.com/...i?post=198270#198270.

François
Quote Reply
Re: [Jagerman] v1.1.5 Watched Threads Bug In reply to
When you run a search - rather than only getting posts containing the search criteria - you get every post in your data base.
Quote Reply
Re: [Jagerman] v1.1.5 Watched Threads Bug In reply to
hi jason,

this thread seems to have been hi-jacked by the search bug! Sly

i'll just bump it to the top again and ask if there's a fix to the watch threads bug I could implement myself.

thanks

regan.
Quote Reply
Re: [ryel01] v1.1.5 Watched Threads Bug In reply to
Hi Ryel,

The problem is in the code, in admin/GForum/User.pm. On about line 370, there should be:

Code:
return unless @stop_watching;
$DB->table('ThreadWatch')->delete({ user_id_fk => $USER->{user_id}, thread_id_fk => \@stop_watching });


Those should be changed to:

Code:


$DB->table('ThreadWatch')->delete({ user_id_fk => $USER->{user_id}, thread_id_fk => \@stop_watching })
if @stop_watching;
That will fix the error.

Jason Rhinelander
Gossamer Threads
jason@gossamer-threads.com
Quote Reply
Re: [Jagerman] v1.1.5 Watched Threads Bug In reply to
 
thanks - that fixed it! Smile

regan.