ispconfig php 5 errors

Discussion in 'Installation/Configuration' started by itamarjp, Apr 23, 2008.

  1. itamarjp

    itamarjp New Member

    anyone can fix this errors please ?




    PHP Notice: Undefined variable: find in /root/ispconfig/scripts/lib/classes/ispconfig_system.lib.php on line 689


    in the line 689 of the file /root/ispconfig/scripts/lib/classes/ispconfig_system.lib.php should be "find" or 'find' instead file




    PHP Notice: Use of undefined constant table - assumed 'table' in /root/ispconfig/scripts/lib/classes/ispconfig_postfix.lib.php on line 39
    PHP Notice: Use of undefined constant DOMAIN - assumed 'DOMAIN' in /root/ispconfig/scripts/lib/classes/ispconfig_postfix.lib.php on line 59
    PHP Notice: Use of undefined constant SENDMAIL - assumed 'SENDMAIL' in /root/ispconfig/scripts/lib/classes/ispconfig_postfix.lib.php on line 60
    PHP Notice: Undefined property: FastTemplate::$table in /root/ispconfig/scripts/lib/classes/ispconfig_template.lib.php on line 391
    PHP Notice: Use of undefined constant DOMAIN - assumed 'DOMAIN' in /root/ispconfig/scripts/lib/classes/ispconfig_postfix.lib.php on line 59
    PHP Notice: Use of undefined constant SENDMAIL - assumed 'SENDMAIL' in /root/ispconfig/scripts/lib/classes/ispconfig_postfix.lib.php on line 60
    PHP Notice: Use of undefined constant DOMAIN - assumed 'DOMAIN' in /root/ispconfig/scripts/lib/classes/ispconfig_postfix.lib.php on line 59
    PHP Notice: Use of undefined constant SENDMAIL - assumed 'SENDMAIL' in /root/ispconfig/scripts/lib/classes/ispconfig_postfix.lib.php on line 60
    PHP Notice: Use of undefined constant DOMAIN - assumed 'DOMAIN' in /root/ispconfig/scripts/lib/classes/ispconfig_postfix.lib.php on line 59
    PHP Notice: Use of undefined constant SENDMAIL - assumed 'SENDMAIL' in /root/ispconfig/scripts/lib/classes/ispconfig_postfix.lib.php on line 60
    PHP Notice: Use of undefined constant DOMAIN - assumed 'DOMAIN' in /root/ispconfig/scripts/lib/classes/ispconfig_postfix.lib.php on line 77
    PHP Notice: Use of undefined constant SENDMAIL - assumed 'SENDMAIL' in /root/ispconfig/scripts/lib/classes/ispconfig_postfix.lib.php on line 78
    PHP Notice: Use of undefined constant DOMAIN - assumed 'DOMAIN' in /root/ispconfig/scripts/lib/classes/ispconfig_postfix.lib.php on line 100
    PHP Notice: Use of undefined constant SENDMAIL - assumed 'SENDMAIL' in /root/ispconfig/scripts/lib/classes/ispconfig_postfix.lib.php on line 101
    PHP Notice: Use of undefined constant TABLE - assumed 'TABLE' in /root/ispconfig/scripts/lib/classes/ispconfig_postfix.lib.php on line 128
    PHP Notice: Use of undefined constant table - assumed 'table' in /root/ispconfig/scripts/lib/classes/ispconfig_postfix.lib.php on line 128
    PHP Notice: Use of undefined constant table - assumed 'table' in /root/ispconfig/scripts/lib/classes/ispconfig_postfix.lib.php on line 148
    PHP Notice: Use of undefined constant EMAILALIAS - assumed 'EMAILALIAS' in /root/ispconfig/scripts/lib/classes/ispconfig_postfix.lib.php on line 253
    PHP Notice: Use of undefined constant USER - assumed 'USER' in /root/ispconfig/scripts/lib/classes/ispconfig_postfix.lib.php on line 254
    PHP Notice: Use of undefined constant VIRTUSERTABLE - assumed 'VIRTUSERTABLE' in /root/ispconfig/scripts/lib/classes/ispconfig_postfix.lib.php on line 255
    PHP Notice: Undefined property: FastTemplate::$table in /root/ispconfig/scripts/lib/classes/ispconfig_template.lib.php on line 391
    PHP Notice: Use of undefined constant TABLE - assumed 'TABLE' in /root/ispconfig/scripts/lib/classes/ispconfig_postfix.lib.php on line 268
    PHP Notice: Use of undefined constant table - assumed 'table' in /root/ispconfig/scripts/lib/classes/ispconfig_postfix.lib.php on line 268
    PHP Notice: Undefined offset: 1 in /root/ispconfig/scripts/lib/classes/ispconfig_file.lib.php on line 110
    PHP Notice: Undefined variable: new_lines in /root/ispconfig/scripts/lib/classes/ispconfig_file.lib.php on line 130
    PHP Notice: Use of undefined constant table - assumed 'table' in /root/ispconfig/scripts/lib/config.lib.php on line 1286
    PHP Notice: Use of undefined constant SERVERIP - assumed 'SERVERIP' in /root/ispconfig/scripts/lib/config.lib.php on line 1299
    PHP Notice: Use of undefined constant NAMEVHOST - assumed 'NAMEVHOST' in /root/ispconfig/scripts/lib/config.lib.php on line 1308
    PHP Notice: Undefined property: FastTemplate::$table in /root/ispconfig/scripts/lib/classes/ispconfig_template.lib.php on line 391
    PHP Notice: Use of undefined constant SERVERIP - assumed 'SERVERIP' in /root/ispconfig/scripts/lib/config.lib.php on line 1299
    PHP Notice: Use of undefined constant NAMEVHOST - assumed 'NAMEVHOST' in /root/ispconfig/scripts/lib/config.lib.php on line 1308
    PHP Notice: Use of undefined constant SERVERNAME - assumed 'SERVERNAME' in /root/ispconfig/scripts/lib/config.lib.php on line 1622
    PHP Notice: Use of undefined constant IP - assumed 'IP' in /root/ispconfig/scripts/lib/config.lib.php on line 1623
    PHP Notice: Use of undefined constant DOCUMENTROOT - assumed 'DOCUMENTROOT' in /root/ispconfig/scripts/lib/config.lib.php on line 1624
    PHP Notice: Use of undefined constant SERVERALIAS - assumed 'SERVERALIAS' in /root/ispconfig/scripts/lib/config.lib.php on line 1625
    PHP Notice: Use of undefined constant DIRECTORYINDEX - assumed 'DIRECTORYINDEX' in /root/ispconfig/scripts/lib/config.lib.php on line 1626
    PHP Notice: Use of undefined constant CGI - assumed 'CGI' in /root/ispconfig/scripts/lib/config.lib.php on line 1627
    PHP Notice: Use of undefined constant WEB_ERROR_LOG - assumed 'WEB_ERROR_LOG' in /root/ispconfig/scripts/lib/config.lib.php on line 1628
    PHP Notice: Use of undefined constant SERVERADMIN - assumed 'SERVERADMIN' in /root/ispconfig/scripts/lib/config.lib.php on line 1629
    PHP Notice: Use of undefined constant PHP - assumed 'PHP' in /root/ispconfig/scripts/lib/config.lib.php on line 1630
    PHP Notice: Use of undefined constant RUBY - assumed 'RUBY' in /root/ispconfig/scripts/lib/config.lib.php on line 1631
    PHP Notice: Use of undefined constant SSI - assumed 'SSI' in /root/ispconfig/scripts/lib/config.lib.php on line 1632
    PHP Notice: Use of undefined constant WAP - assumed 'WAP' in /root/ispconfig/scripts/lib/config.lib.php on line 1633
    PHP Notice: Use of undefined constant ERRORALIAS - assumed 'ERRORALIAS' in /root/ispconfig/scripts/lib/config.lib.php on line 1634
    PHP Notice: Use of undefined constant ERROR - assumed 'ERROR' in /root/ispconfig/scripts/lib/config.lib.php on line 1635
    PHP Notice: Use of undefined constant WEB - assumed 'WEB' in /root/ispconfig/scripts/lib/config.lib.php on line 1636
    PHP Notice: Use of undefined constant HTTPD_INCLUDE - assumed 'HTTPD_INCLUDE' in /root/ispconfig/scripts/lib/config.lib.php on line 1637
    PHP Notice: Use of undefined constant SUEXEC - assumed 'SUEXEC' in /root/ispconfig/scripts/lib/config.lib.php on line 1638
    PHP Notice: Use of undefined constant REWRITE_RULE - assumed 'REWRITE_RULE' in /root/ispconfig/scripts/lib/config.lib.php on line 1639
    PHP Notice: Use of undefined constant FRONTPAGE - assumed 'FRONTPAGE' in /root/ispconfig/scripts/lib/config.lib.php on line 1640
    PHP Notice: Use of undefined constant SSL - assumed 'SSL' in /root/ispconfig/scripts/lib/config.lib.php on line 1641
    PHP Notice: Use of undefined constant HTTPD_ROOT - assumed 'HTTPD_ROOT' in /root/ispconfig/scripts/lib/config.lib.php on line 1642
    PHP Notice: Use of undefined constant VHOST - assumed 'VHOST' in /root/ispconfig/scripts/lib/config.lib.php on line 1643
    PHP Notice: Use of undefined constant FP_RESOURCE_CONFIG - assumed 'FP_RESOURCE_CONFIG' in /root/ispconfig/scripts/lib/config.lib.php on line 1669
    PHP Notice: Use of undefined constant FP_ACCESS_CONFIG - assumed 'FP_ACCESS_CONFIG' in /root/ispconfig/scripts/lib/config.lib.php on line 1670
    PHP Notice: Use of undefined constant TABLE - assumed 'TABLE' in /root/ispconfig/scripts/lib/config.lib.php on line 1671
    PHP Notice: Use of undefined constant table - assumed 'table' in /root/ispconfig/scripts/lib/config.lib.php on line 1671
    PHP Notice: Undefined variable: find in /root/ispconfig/scripts/lib/classes/ispconfig_system.lib.php on line 689



    --------------------

    Itamar Reis Peixoto

    e-mail/msn: itamar@ispbrasil.com.br
    skype: itamarjp
    icq: 81053601
    +55 11 4063 5033
    +55 34 3221 8599
     
  2. itamarjp

    itamarjp New Member

  3. till

    till Super Moderator

    Looks as if you modifoed the ISPConfig php.ini. Please restore the original php.ini in the directory /root/ispconfig/php/

    This php.ini shall not be changed as it is only used by the ISPConfig control panel and not for the websites or any other applications.
     
  4. itamarjp

    itamarjp New Member

    I don't changed anything

    this is a bug

    HP Notice: Use of undefined constant table - assumed 'table' in /root/ispconfig/scripts/lib/classes/ispconfig_postfix.lib.php on line 39


    why not write ['table'] or ["table"] instead using [table]

    ?
     
  5. itamarjp

    itamarjp New Member

    ispconfig php5 bugs

    can you contact me using msn, icq, skype or anything ?

    I am receiving segfault when running


    /root/ispconfig/php/php -q writeconf.php
     
  6. till

    till Super Moderator

    Thats not a bug. The notation is valid. Please keep in mind that most of the code has been written for php4 and in php4 this was a valid notation and it is still valid in php5 but maybe not recommended anymore. You most likely changed the error_reporting level in the file /root/ispconfig/php/php.ini

    Change it to:

    error_reporting = E_ALL & ~E_NOTICE

    or

    error_reporting = E_COMPILE_ERROR|E_ERROR|E_CORE_ERROR
     
  7. till

    till Super Moderator

  8. itamarjp

    itamarjp New Member

    update

    please give me cvs access

    and a tutorial about how to send patches.

    why ispconfig have the path /root/ispconfig hardcoded in files ?
     
  9. till

    till Super Moderator

    ISPConfig has been written this way and it was not intended to change this path.

    ISPConfig uses SVN and not CVS. I will send you the login data later today.
     

Share This Page