Menu

PHP error message

Help
Eric
2007-01-23
2013-03-27
  • Eric

    Eric - 2007-01-23

    I'm using IE 7, IIS 6, PHP 5.2, mysql 5.0.

    my error message is when when I run the install.php

    PHP Notice: Undefined index: action in C:\Program Files\PHP-Kiwi\inc.shared.php on line 32 PHP Notice: Undefined index: action in C:\Program Files\PHP-Kiwi\inc.shared.php on line 37

    Line 37 says   return trim(addslashes(strip_tags($_POST[$name])));

    Any ideas what is causing this?

     
    • versello

      versello - 2007-01-23

      To surpress notices, you will need to modify the php.ini, which is usually located in your PHP directory or C:\Windows\ if you are using MS Windows.

      Scroll down until you see the "error handling and logging" section, and where it says:

      Error_reporting = E_ALL

      change that to:

      Error_reporting = E_ALL & ~E_NOTICE

      This will surpress notices after you restart IIS. Surpressing errors is highly reccomended for production websites. However, I will update the PHP-Kiwi readme with this information, and will also clean up my bad coding habits with the next release. Thanks for bringing it to my attention!

       

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.