ISPConfig Uncaught Error: Class 'auth' not found

Discussion in 'General' started by n3m00, Oct 27, 2022.

  1. n3m00

    n3m00 New Member

    Hello together,
    I'm currently facing this problem: If I'm trying to access the web admin of my ISPConfig instance just a white site occurs. In the apache2 error log following error is logged:
    Code:
    [Thu Oct 27 14:35:55.129877 2022] [fcgid:warn] [pid 3567859] [client  :14470] mod_fcgid: stderr: PHP Fatal error:  Uncaught Error: Class 'auth' not found in /usr/local/ispconfig/interface/lib/app.inc.php:154
    [Thu Oct 27 14:35:55.129906 2022] [fcgid:warn] [pid 3567859] [client  :14470] mod_fcgid: stderr: Stack trace:
    [Thu Oct 27 14:35:55.129908 2022] [fcgid:warn] [pid 3567859] [client  :14470] mod_fcgid: stderr: #0 /usr/local/ispconfig/interface/lib/app.inc.php(76): app->uses()
    [Thu Oct 27 14:35:55.129911 2022] [fcgid:warn] [pid 3567859] [client  :14470] mod_fcgid: stderr: #1 /usr/local/ispconfig/interface/lib/app.inc.php(399): app->__construct()
    [Thu Oct 27 14:35:55.129913 2022] [fcgid:warn] [pid 3567859] [client  :14470] mod_fcgid: stderr: #2 /usr/local/ispconfig/interface/web/index.php(32): require_once('/usr/local/ispc...')
    [Thu Oct 27 14:35:55.129934 2022] [fcgid:warn] [pid 3567859] [client  :14470] mod_fcgid: stderr: #3 {main}
    [Thu Oct 27 14:35:55.129937 2022] [fcgid:warn] [pid 3567859] [client  :14470] mod_fcgid: stderr:   thrown in /usr/local/ispconfig/interface/lib/app.inc.php on line 154
    
    I compared the app.inc.php with the official one and they are equal.
    Has anyone an idea what is the cause of the issue and how to solve it?

    Thanks in advance
    n3m00
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Either the wrong php version or you accidentally deleted some ISPConfig files.

    run:

    php --version

    and post the result. The PHP version must be between 5.3.3 and 7.4. if the PHP version is fine, then you probably deleted some files, run and ISPConfig update with --force option to get all files installed again.

    ispconfig_update.sh --force
     
    n3m00 likes this.
  3. n3m00

    n3m00 New Member

    Hi Till,
    here you go:
    Code:
    [14:57:45] root@ubuntu ~ $ php --version
    PHP 7.4.27 (cli) (built: Dec 20 2021 21:27:56) ( NTS )
    Copyright (c) The PHP Group
    Zend Engine v3.4.0, Copyright (c) Zend Technologies
        with Zend OPcache v7.4.27, Copyright (c), by Zend Technologies
    Okay, I will try to use the update option.
     
  4. pyte

    pyte Well-Known Member HowtoForge Supporter

    Your PHP Version seems fine but migth consider updating the system anyways the current build for debian is 7.4.30 is from Jul 7 2022.


    Did the update work?
     
  5. n3m00

    n3m00 New Member

    Yeah, the update did work. Thanks :)
     
    pyte likes this.

Share This Page