apache error log showing PHP notices for ispconfig

Discussion in 'General' started by olieb, Jun 24, 2011.

  1. olieb

    olieb New Member

    Always when I log in to IspConfig my apache error log shows PHP notices:
    Code:
    [Fri date] [error] [client xxxx] PHP Notice:  Undefined index: sites:web_domain:on_after_update in /usr/local/ispconfig/interface/lib/classes/plugin.inc.php on line 140, referer: http://server1 IP:8080/index.php
    [Fri date] [error] [client xxxx] PHP Notice:  Undefined index: return_to_url in /usr/local/ispconfig/interface/lib/classes/tform_actions.inc.php on line 142, referer: http://server1 IP:8080/index.php
    [Fri date] [notice] Apache/2.2.17 (Ubuntu) DAV/2 mod_fcgid/2.3.6 PHP/5.3.5-1ubuntu7.2 with Suhosin-Patch mod_ruby/1.2.6 Ruby/1.8.7(2010-08-16) mod_ssl/2.2.17 OpenSSL/0.9.8o configured -- resuming normal operations
    [Fri date] [error] [client xxxx] PHP Notice:  Undefined index: logout in /usr/local/ispconfig/interface/lib/classes/plugin.inc.php on line 140, referer: http://server1 IP:8080/index.php
    [Fri date] [error] [client xxxx] PHP Notice:  Undefined index: site in /usr/local/ispconfig/interface/web/login/logout.php on line 70, referer: http://server1 IP:8080/index.php
    [Fri date] [error] [client server1 IP] File does not exist: /var/www/themes
    [Fri date] [error] [client server1 IP] File does not exist: /var/www/themes
    [Fri date] [error] [client server1 IP] PHP Notice:  Undefined index: login in /usr/local/ispconfig/interface/lib/classes/plugin.inc.php on line 140, referer: http://server1.example.com/ispconfig/
    [Fri date] [error] [client server1 IP] PHP Notice:  Undefined variable: html_server in /usr/local/ispconfig/interface/web/monitor/show_sys_state.php on line 237, referer: http://server1.example.com/ispconfig/index.php
    
    More errors are shown but I hope this is sufficient to help me solve it.
    Build my server using: http://www.howtoforge.com/perfect-server-ubuntu-11.04-ispconfig-3
    What should I do to prevent these errors?
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Please disable PHP notices by changing the error log leven in the php.ini file and restart apache. The error log level required for ispconfig is:

    error_reporting = E_ALL & ~E_NOTICE
     

Share This Page