
On Fri, 2004-04-16 at 15:29, Martin Edenhofer 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.
PS: You also can use Plain-CGI for your webserver so you don't need to restart your webserver any time.
Yes. I haven't been using mod_perl. Jim