Not displaying erros

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Tree*Rat

    Not displaying erros

    Ok I have posted this before and did not get the answer I was looking for
    so i will explain it again.

    Whenever there is a syntax error, or parse error etc in php it does not
    display the error. ie

    Warning: main(./includes/file.php):faile d to open stream ....... blah blah
    blah

    I dont get these errors at all ( even though they are there! ) all i get is
    either nothing or a server 500 error. What the problem? .ini issue?

    please help

    ta
  • Jerry Stuckle

    #2
    Re: Not displaying erros

    Tree*Rat wrote:
    Ok I have posted this before and did not get the answer I was looking for
    so i will explain it again.
    >
    Whenever there is a syntax error, or parse error etc in php it does not
    display the error. ie
    >
    Warning: main(./includes/file.php):faile d to open stream ....... blah blah
    blah
    >
    I dont get these errors at all ( even though they are there! ) all i get is
    either nothing or a server 500 error. What the problem? .ini issue?
    >
    please help
    >
    ta
    >
    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

    • FutureShock

      #3
      Re: Not displaying erros

      Jerry Stuckle wrote:
      Tree*Rat wrote:
      >Ok I have posted this before and did not get the answer I was looking
      >for so i will explain it again.
      >>
      >Whenever there is a syntax error, or parse error etc in php it does
      >not display the error. ie
      >>
      >Warning: main(./includes/file.php):faile d to open stream ....... blah
      >blah blah
      >>
      >I dont get these errors at all ( even though they are there! ) all i
      >get is either nothing or a server 500 error. What the problem? .ini
      >issue?
      >>
      >please help
      >>
      >ta
      >>
      >
      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).
      >
      >
      DeJaVue ;)

      scotty

      Comment

      Working...