no error in included files

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • JÿGius³ vs ::NRG::ius

    #1

    no error in included files

    Hi people.

    The problem is pretty simple.
    If I include a file
    <?
    include 'libs.php';
    ?>

    and this file contains an error (a missing ;),
    my php installation does not tell me anything.
    I simply receive no output.

    Any help is highly appeciated.

    Gius.





  • Michael Fuhr

    #2
    Re: no error in included files

    "JÿGius³ vs ::NRG::ius" <technoshock@li bero.it> writes:
    [color=blue]
    > If I include a file
    > <?
    > include 'libs.php';
    > ?>
    >
    > and this file contains an error (a missing ;),
    > my php installation does not tell me anything.
    > I simply receive no output.[/color]

    The display_errors and log_errors settings should tell you where
    error messages are going. If you're using a browser, and if the
    web server has display_errors turned off, then you won't see any
    errors in the browser. If the server has log_errors turned on,
    then error messages should be written to the web server's error
    log.

    --
    Michael Fuhr

    Comment

    Working...