in reply to CGI Perl output cut with xampp

Look for the apache log at
\xampp\apache\logs\error.log
or thereabouts (depening on how you installed it).

That may hold clues to potential truncation, or apache buffers being exceeded, or perhaps data delivery timeouts.

        There is no time like the present for postponing what you ought to be doing.

Replies are listed 'Best First'.
Re^2: CGI Perl output cut with xampp
by toohoo (Beadle) on Jul 06, 2016 at 13:40 UTC

    the most errors in log are "use of uninitialized value". Then there is a "$* is no longer supported" (use of an old version of cgi-lib). An "\\1 better written as $1". And an "odd number of elements in hash assignment".

    thanks

      The "odd number of elements in hash assignment" indicates a programming error - potentially caused by mishandling of (unexpected formatting) incoming data.

      There is a possibility that the incorrectly populated hash may result in incomplete data displayed.

      You will need to examine the code and related data - I suggest you run the code under the command line debugger, and isolate the issue.

              There is no time like the present for postponing what you ought to be doing.

        Hello,

        I've removed the "odd number of elements in hash assignment" as well as all "\1 better written as $1" error messages and the "$* is no longer supported" message. Staying now are only some "Use of uninitialized value" messages after starting the Perl/CGI-application by calling the stating page.

        With the next click I can call the error in my originally database. This should print out all existing FAQ independent from which category. It prints until title of FAQ 50 which is shown. Then it seems to hang a time. At last I get the following message:

        [Fri Aug 19 12:54:35.185884 2016] [core:error] [pid 9868:tid 1728] (70007)The timeout specified has expired: [client 127.0.0.1:51845] AH00574: ap_content_length_filter: apr_bucket_read() failed, referer: http://localhost/faq/cgi-bin/faq.pl?kat=1

        best regards