Lots Of Error Messages

Discussion in 'Installation/Configuration' started by GoremanX, May 16, 2010.

  1. GoremanX

    GoremanX New Member

    Fresh installation of Ubuntu 10.4 using ISP Config 3.0.2.1 installed using the Perfect Server guide. There's no vhosts setup yet, all I did was login and change the admin login credentials. Then I checked the Apache2 error log and I found the following:
    Code:
    [Sun May 16 01:47:32 2010] [error] [client xxx.xxx.xxx.xxx] PHP Notice:  Undefined index: login in /usr/local/ispconfig/interface/lib/classes/plugin.inc.php on line 140, referer: http://fpzhosting.com:8080/
    [Sun May 16 01:47:38 2010] [error] [client xxx.xxx.xxx.xxx] PHP Notice:  Undefined variable: wb in /usr/local/ispconfig/interface/lib/app.inc.php on line 189, referer: http://fpzhosting.com:8080/
    [Sun May 16 01:47:59 2010] [error] [client xxx.xxx.xxx.xxx] PHP Notice:  Undefined index: on_after_update in /usr/local/ispconfig/interface/lib/classes/plugin.inc.php on line 140, referer: http://fpzhosting.com:8080/
    [Sun May 16 01:47:59 2010] [error] [client xxx.xxx.xxx.xxx] PHP Notice:  Undefined index: admin:on_after_update in /usr/local/ispconfig/interface/lib/classes/plugin.inc.php on line 140, referer: http://fpzhosting.com:8080/
    [Sun May 16 01:47:59 2010] [error] [client xxx.xxx.xxx.xxx] PHP Notice:  Undefined index: admin:users:on_after_update in /usr/local/ispconfig/interface/lib/classes/plugin.inc.php on line 140, referer: http://fpzhosting.com:8080/
    [Sun May 16 01:47:59 2010] [error] [client xxx.xxx.xxx.xxx] PHP Notice:  Undefined index: return_to_url in /usr/local/ispconfig/interface/lib/classes/tform_actions.inc.php on line 142, referer: http://fpzhosting.com:8080/
    [Sun May 16 01:48:02 2010] [error] [client xxx.xxx.xxx.xxx] PHP Notice:  Undefined index: logout in /usr/local/ispconfig/interface/lib/classes/plugin.inc.php on line 140, referer: http://fpzhosting.com:8080/
    [Sun May 16 01:48:02 2010] [error] [client xxx.xxx.xxx.xxx] PHP Notice:  Undefined index: site in /usr/local/ispconfig/interface/web/login/logout.php on line 70, referer: http://fpzhosting.com:8080/
    That seems like a lot of errors for a simple login, password change and logout. How do I prevent these errors from happening?

    Thanks,
     
  2. Ben

    Ben Active Member Moderator

    Don't worry in this case. The reason is, php in this case logs all errors, INCLUDING NOTICES.

    As in these cases, ispconfig tries (mostly) to access non existing indizes of arrays, php generates this notices. Anyhow, nothing to worry about.

    TO get rid of that, either the ISPCOnfig code needs to be patched, or you change the error reporting of ispconfig's own php to ignore notices.
     
  3. GoremanX

    GoremanX New Member

    Thank you! Changing the log settings for PHP did the trick.
     

Share This Page