ISPConfig 3.2 stable release PHP "Uncaught error"

Discussion in 'Installation/Configuration' started by jnewman67, Jan 19, 2026.

  1. jnewman67

    jnewman67 Active Member HowtoForge Supporter

    Code:
    >> Initial configuration
    Operating System: Rocky Linux 9.7 (Blue Onyx)
    PHP Fatal error:  Uncaught Error: Undefined constant "ISPC_LOG_FILE" in /tmp/ispconfig3_install/install/lib/install.lib.php:437
    Stack trace:
    #0 /tmp/ispconfig3_install/install/lib/install.lib.php(1045): ilog()
    #1 /tmp/ispconfig3_install/install/dist/lib/fedora.lib.php(36): getapachemodules()
    #2 /tmp/ispconfig3_install/install/install.php(146): installer_dist->__construct()
    #3 {main}
      thrown in /tmp/ispconfig3_install/install/lib/install.lib.php on line 437
    
    just ran "install.php" from "https://www.ispconfig.org/downloads/ISPConfig-3-stable.tar.gz" and it threw this error.
    passing it along...
     
  2. jnewman67

    jnewman67 Active Member HowtoForge Supporter

    to get around it, i just copied the ISPC_LOG_FILE definition from install.php into lib/install.lib.php
     
  3. jnewman67

    jnewman67 Active Member HowtoForge Supporter

    got the following messages going through the rest of the ISPConfig install script on a Rocky 9.7 system (fresh install)...
    Code:
    Configuring Rspamd
    postconf: warning: /etc/postfix/master.cf: undefined parameter: mua_client_restrictions
    postconf: warning: /etc/postfix/master.cf: undefined parameter: mua_client_restrictions
    postconf: warning: /etc/postfix/master.cf: undefined parameter: mua_client_restrictions
    postconf: warning: /etc/postfix/master.cf: undefined parameter: mua_client_restrictions
    [INFO] service Getmail not detected
    [INFO] service Jailkit not detected
    Configuring Pureftpd
    Configuring BIND
    Configuring Apache
    Configuring vlogger
    [INFO] service OpenVZ not detected
    PHP Warning:  Undefined array key "ufw" in /tmp/ispconfig3_install/install/install.php on line 520
    PHP Warning:  Trying to access array offset on value of type null in /tmp/ispconfig3_install/install/install.php on line 520
    PHP Warning:  Undefined array key "ufw" in /tmp/ispconfig3_install/install/install.php on line 525
    PHP Warning:  Trying to access array offset on value of type null in /tmp/ispconfig3_install/install/install.php on line 525
    PHP Warning:  Undefined array key "ufw" in /tmp/ispconfig3_install/install/install.php on line 534
    PHP Warning:  Trying to access array offset on value of type null in /tmp/ispconfig3_install/install/install.php on line 534
    Configuring Bastille Firewall
    PHP Warning:  Trying to access array offset on value of type null in /tmp/ispconfig3_install/install/dist/lib/fedora.lib.php on line 635
    PHP Deprecated:  trim(): Passing null to parameter #1 ($string) of type string is deprecated in /tmp/ispconfig3_install/install/dist/lib/fedora.lib.php on line 635
    PHP Warning:  Trying to access array offset on value of type null in /tmp/ispconfig3_install/install/dist/lib/fedora.lib.php on line 635
    PHP Deprecated:  trim(): Passing null to parameter #1 ($string) of type string is deprecated in /tmp/ispconfig3_install/install/dist/lib/fedora.lib.php on line 635
    chmod: cannot access '/etc/init.d/bastille-firewall': Not a directory
    [INFO] service Metronome XMPP Server not detected
    Configuring Fail2ban
    Installing ISPConfig
    .....
    Restarting services ...
    PHP Warning:  Undefined array key "xmpp" in /tmp/ispconfig3_install/install/install.php on line 671
    PHP Warning:  Trying to access array offset on value of type null in /tmp/ispconfig3_install/install/install.php on line 671
    Installation completed.
    
    bastille-firewall is not install - using iptables instead
    just passing it along... not sure it affected anything, will report if I find it does
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Thank you for the reports. Most of that was fixed already in more recent versions, but the UFW warnings were still there and will be fixed in 3.3.1.
     

Share This Page