Debugging

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Bruce A. Julseth

    Debugging

    I'm having problems debugging my code. One prevolent problem I have is that
    if I a syntax error, and run it on localhost, I get nothing but a blank
    screen. No indication of what the error is. And, as you all know, it ain't
    easy going through a program looking for, say a colon that should have been
    a semicolon.

    Is there something, somewhere, that I should have turned on to give me an
    error message?

    Thanks....

    Bruce


  • Jerry Stuckle

    #2
    Re: Debugging

    Bruce A. Julseth wrote:
    I'm having problems debugging my code. One prevolent problem I have is that
    if I a syntax error, and run it on localhost, I get nothing but a blank
    screen. No indication of what the error is. And, as you all know, it ain't
    easy going through a program looking for, say a colon that should have been
    a semicolon.
    >
    Is there something, somewhere, that I should have turned on to give me an
    error message?
    >
    Thanks....
    >
    Bruce
    >
    >
    >
    Ensure the php.ini file in your development system has:

    display_errors= on
    error_reporting =E_ALL

    (and ensure you are editing the correct php.ini file).

    --
    =============== ===
    Remove the "x" from my email address
    Jerry Stuckle
    JDS Computer Training Corp.
    jstucklex@attgl obal.net
    =============== ===

    Comment

    Working...