Menu

Lots of warnings ..

Help
Anonymous
2002-01-01
2002-02-13
  • Anonymous

    Anonymous - 2002-01-01

    Hi all!
    Im completely new to php and phpwebsite!

    I have a problem though. When I access php files I always get warnings like the one below:

    Warning: Undefined variable: op in c:\inetpub\wwwroot\php\phpwebsite_sv\setup\index.php on line 18

    And if I go further I get lots of same warnings all over the place. I use IIS5 with PHP4 on my win2000 machine. Should I change something to prevent all warnings or do I have wrong extensions or what? I'd be very happy for an answer.

    /Patrik

     
    • Jason DeWitt

      Jason DeWitt - 2002-02-13

      Did you edit your php.ini file? It is located in c:\winnt\php.ini. In that file change the "error_reporting" value to "E_ALL & ~E_NOTICE". That will get rid of alot of the errors. I'm still getting alot of warnings too, if I get rid of them I will post how to do ithere.

       
      • Anonymous

        Anonymous - 2002-02-13

        I have gotten rid of alot of warnings..
        Still having problem with sessions ...

        can't make it work :(

         
    • Jason DeWitt

      Jason DeWitt - 2002-02-13

      Hah! That didn't take long. Are the warnings you are getting saying something about "cannot open file for inclsion"? If so you will need to edit you php.ini file (again) and add to the "include_path" value. I edited mine to say "./;..;c:\www". "./" is the current directory, ".." was already there so I wasn't going to remove it, and "c:\www" is the root of my web dir.

      Hope this helps.

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.