PHP doesn't shows nothing instead of errors

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • zimba

    PHP doesn't shows nothing instead of errors

    Hi,

    I'm currently developping an application with Mojavi and I have a big
    problem :
    My application returns nothing if I do some mistakes in my code, so I
    have to run the tests every 2-3 minutes and loose enormously time
    trying to figure out where the error would be :/

    I've turned error_reporting (E_ALL); and I have not a single entry in
    Apache's error_log file :(

    Help !


    Cheers,
    zimba

  • Garp

    #2
    Re: PHP doesn't shows nothing instead of errors


    "zimba" <zimba.tm@gmail .com> wrote in message
    news:ce9205$efr @odah37.prod.go ogle.com...[color=blue]
    > Hi,[/color]
    <snip>[color=blue]
    > I've turned error_reporting (E_ALL); and I have not a single entry in
    > Apache's error_log file :([/color]

    error_reporting () doesn't produce errors to file, it puts them right in the
    (browser) output, but I imagine you'd have seen that.

    A code sample of the kind of error you're creating would be nice, so we can
    try it ourselves?

    Garp


    Comment

    • Noel

      #3
      Re: PHP doesn't shows nothing instead of errors

      On 28 Jul 2004 13:23:33 -0700, "zimba" <zimba.tm@gmail .com> wrote:
      [color=blue]
      >I've turned error_reporting (E_ALL); and I have not a single entry in
      >Apache's error_log file :([/color]

      error_reporting only specifies the level of error reporting, not
      whether it is output to the browser. Try setting display_errors to on
      in your test website, not forgetting to set it to off on the
      production machine.


      Comment

      Working...