"undefined index" errors

Help
2005-02-28
2013-04-24
  • I am getting errors like below whenever I choose an option :

    Notice: Undefined variable: tosearchall in c:\inetpub\wwwroot\bdcsv\lib\polerio\module\lib\module.php on line 752

    Notice: Undefined index: act in c:\inetpub\wwwroot\bdcsv\lib\polerio\module\lib\reports.php on line 3

    Notice: Undefined index: act in c:\inetpub\wwwroot\bdcsv\lib\polerio\module\lib\reports.php on line 25

    Notice: Undefined index: act in c:\inetpub\wwwroot\bdcsv\lib\polerio\module\lib\reports.php on line 48

    Notice: Undefined index: act in c:\inetpub\wwwroot\bdcsv\lib\polerio\module\lib\reports.php on line 70

    Notice: Undefined index: act in c:\inetpub\wwwroot\bdcsv\lib\polerio\module\lib\reports.php on line 92

    Notice: Undefined index: act in c:\inetpub\wwwroot\bdcsv\lib\polerio\module\lib\reports.php on line 114

    Notice: Undefined index: act in c:\inetpub\wwwroot\bdcsv\lib\polerio\module\lib\reports.php on line 136

    Notice: Undefined index: act in c:\inetpub\wwwroot\bdcsv\lib\polerio\module\lib\reports.php on line 158

    The errors also are reported for content.php, maintenance.php et al.

    I guess I am missing a variable setting in php.ini...could anyone help?

    Thx!

     
    • Stefan Elsner
      Stefan Elsner
      2005-04-08

      looking at what you set as "error" messages it seems like you are running php with error reporting E_ALL. try to find the line in php.ini that defines error_reporting. set it to something like
      error_reporting  =  E_ALL & ~E_NOTICE

      let me know if that works

      orlo