I am trying to resolve a bug in which creation of a div on my web age is incomplete, resulting in two other divs not being created. But, while it is obvious the code that creates these other divs is not executed (although code immediately before this code IS executed), due to an error, no error is written to Apache2's error log (in marked contrast to other coding errors I have fixed).

I tried to get at the problem by having the relevant CGI script open a file, and write diagnostic info to that, but when I access the page after doing that, no such file is created. I do use CGI::Carp::DebugScreen, but it does not get exercised in this bug either.

How do I determine where the problem really is, and the cause of it? I have never before encountered a bug for which none of the usual methods of getting error information produce anything.

Thanks

Ted


In reply to How to get diagnostic information for a web app when nothing is written to the error log by ted.byers

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.