Menu

A LOT of PHP warnings! Why?

2002-10-30
2002-10-30
  • Peter Bonev

    Peter Bonev - 2002-10-30

    Dear phppay developer,
    I'm experiencing A LOT of warnings in nearly every php script.
    Somewhere in this forum, Ive red that other people have made the same experience.
    There was an answer as well - that the warning messages can be suppressed by the php settings.
    Ive been developing software for many years. Well, my experience with PHP is about an year only, but somehow, I think it is not good to release a program code which produces so many warnings.
    Even the warning messages are suppressed, they are still there. The interpreter has to deal with all missing variables and so on.

    Why this? Is the code really generating so much warnings?

    Im testing on Wndows2000 platform and have other projects based on php and MySQL .
    Otherwise the program seems to work, but its difficult even to find the output because of the warnings.
    Please advise

     
    • Andreas Kansok

      Andreas Kansok - 2002-10-30

      Please set error_reporting in php.ini to E_ALL & ~ E_NOTICE

      (and register_globals = ON

       

Log in to post a comment.