
On Fri, Apr 16, 2004 at 04:47:45PM +0100, Jim Wight wrote:
I would say, the easiest way to debug is to add
print STDERR "Some Text\n";
to some points in e. g. Kernel/Modules/AgentQueueView.pm and try to find out where it stops (webserver error log).
I can see no sign of the output anywhere in the server's log when using that method. Previously I was trying to write to the same file from different OTRS files, but I have a feeling I was having a problem with buffering.
If I use strace to latch onto the process running bin/cgi-bin/index.pl at the point where the browser has stopped outputting, the output begins:
write(2, "Charset encode \'us-ascii \' -=> \'iso-8859-15\'
followed by text from the body of the next ticket to be displayed. After a long delay the browser stops being busy, and more output appears, including my debugging output for file descriptor 2. Some of this output is valid-looking HTMl for file descriptor 1, but none of it gets displayed by the browser. It doesn't appear to include everything for all later tickets (as displayed by 1.1.1 on the production system) though.
Jim, I have no more ideas. What OS do you use?
Jim
Martin -- ((otrs.de)) :: OTRS GmbH :: Norsk-Data-Str. 1 :: 61352 Bad Homburg http://www.otrs.de/ :: Manage your communication!