Parse Errors, On Screen Messages

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

    Parse Errors, On Screen Messages

    I am having problems getting my browser to show the parse errors that
    I have. They worked before I swtiched global variabls to off (to
    maintain some security), and now I can not get anything but a white
    screen when my script is defunct.
    -If it helps, I am on WinXP (Home Ed), Apache 2.0.47, PHP 4.3.4-

    Please advise soon!
    Phry
  • Jon Kraft

    #2
    Re: Parse Errors, On Screen Messages

    nothing@norwaym i.com (Phrylock) wrote:
    [color=blue]
    > I am having problems getting my browser to show the parse errors that
    > I have. They worked before I swtiched global variabls to off (to
    > maintain some security), and now I can not get anything but a white
    > screen when my script is defunct.
    > -If it helps, I am on WinXP (Home Ed), Apache 2.0.47, PHP 4.3.4-[/color]

    Check the manual on error handling:


    JOn

    Comment

    • Savut

      #3
      Re: Parse Errors, On Screen Messages

      rewrite your script, because you set global to off, the script wont work. At
      least it mean the script PHP wasn't well-written, so for your website
      security and performance, rewrite your script.

      Savut

      "Jon Kraft" <jon@jonux.co.u k> wrote in message
      news:Xns944494B ACECAjonjonuxco uk@130.133.1.4. ..[color=blue]
      > nothing@norwaym i.com (Phrylock) wrote:
      >[color=green]
      > > I am having problems getting my browser to show the parse errors that
      > > I have. They worked before I swtiched global variabls to off (to
      > > maintain some security), and now I can not get anything but a white
      > > screen when my script is defunct.
      > > -If it helps, I am on WinXP (Home Ed), Apache 2.0.47, PHP 4.3.4-[/color]
      >
      > Check the manual on error handling:
      > http://uk.php.net/manual/en/ref.errorfunc.php
      >
      > JOn[/color]


      Comment

      • DrTebi

        #4
        Re: Parse Errors, On Screen Messages

        Try setting this at the top of your script:
        error_reporting (E_ALL);
        this should report all errors, warnings and notices. If something with
        your globals doesn't work anymore, just try to initialize an error, like
        using a non-existing function:
        nonexistingfunc tion($a);

        If you still don't get an error message....?

        DrTebi


        On Mon, 01 Dec 2003 14:38:31 -0500, Savut wrote:
        [color=blue]
        > rewrite your script, because you set global to off, the script wont work. At
        > least it mean the script PHP wasn't well-written, so for your website
        > security and performance, rewrite your script.
        >
        > Savut
        >
        > "Jon Kraft" <jon@jonux.co.u k> wrote in message
        > news:Xns944494B ACECAjonjonuxco uk@130.133.1.4. ..[color=green]
        >> nothing@norwaym i.com (Phrylock) wrote:
        >>[color=darkred]
        >> > I am having problems getting my browser to show the parse errors that
        >> > I have. They worked before I swtiched global variabls to off (to
        >> > maintain some security), and now I can not get anything but a white
        >> > screen when my script is defunct.
        >> > -If it helps, I am on WinXP (Home Ed), Apache 2.0.47, PHP 4.3.4-[/color]
        >>
        >> Check the manual on error handling:
        >> http://uk.php.net/manual/en/ref.errorfunc.php
        >>
        >> JOn[/color][/color]

        Comment

        • Savut

          #5
          Re: Parse Errors, On Screen Messages

          on php.ini file, change display_errors to On

          Savut

          "Jon Kraft" <jon@jonux.co.u k> wrote in message
          news:Xns944494B ACECAjonjonuxco uk@130.133.1.4. ..[color=blue]
          > nothing@norwaym i.com (Phrylock) wrote:
          >[color=green]
          > > I am having problems getting my browser to show the parse errors that
          > > I have. They worked before I swtiched global variabls to off (to
          > > maintain some security), and now I can not get anything but a white
          > > screen when my script is defunct.
          > > -If it helps, I am on WinXP (Home Ed), Apache 2.0.47, PHP 4.3.4-[/color]
          >
          > Check the manual on error handling:
          > http://uk.php.net/manual/en/ref.errorfunc.php
          >
          > JOn[/color]


          Comment

          Working...