Call to undefined function mb_detect_encoding() in /tmp/

Discussion in 'Installation/Configuration' started by EckyBrazzz, Jan 24, 2018.

  1. EckyBrazzz

    EckyBrazzz Member

    When running the installer for a multiserver I get this error:

    MySQL master server database name [dbispconfig]:

    PHP Fatal error: Uncaught Error: Call to undefined function mb_detect_encoding() in /tmp/ispconfig3_install/install/lib/mysql.lib.php:448
    Stack trace:
    #0 /tmp/ispconfig3_install/install/lib/mysql.lib.php(166): db->escape('validate_passwo...')
    #1 /tmp/ispconfig3_install/install/lib/mysql.lib.php(231): db->_build_query_string('SELECT plugin_n...', Array)
    #2 /tmp/ispconfig3_install/install/lib/mysql.lib.php(270): db->_query('SELECT plugin_n...', Array)
    #3 /tmp/ispconfig3_install/install/lib/mysql.lib.php(319): db->query('SELECT plugin_n...', Array)
    #4 /tmp/ispconfig3_install/install/lib/installer_base.lib.php(238): db->queryAllRecords('SELECT plugin_n...', Array)
    #5 /tmp/ispconfig3_install/install/install.php(294): installer_base->configure_database()
    #6 {main}
    thrown in /tmp/ispconfig3_install/install/lib/mysql.lib.php on line 448
     
  2. florian030

    florian030 ISPConfig Developer ISPConfig Developer

    i think, you missed at least one step from the tutorial. tyr apt-get install php-mbstring or 7.0 if you are runngin debian stretch
     
  3. EckyBrazzz

    EckyBrazzz Member

    Runnung ubuntu 16.04 and apt-get install php-mbstring did the trick..

    Thanks !!
     
  4. EckyBrazzz

    EckyBrazzz Member

    Hi,

    Now on another server I get another error


    Code:
    Shall this server join an existing ISPConfig multiserver setup (y,n) [n]:
    
    Adding ISPConfig server record to database.
    
    ERROR: Unable to create database user: ispconfig Error:
    [email protected]:/tmp/ispconfig3_install/install#
    
    Shall this server join an existing ISPConfig multiserver setup (y,n) [n]:
    
    Adding ISPConfig server record to database.
    
    ERROR: Unable to create database user: ispconfig Error:
    [email protected]:/tmp/ispconfig3_install/install#
     
  5. till

    till Super Moderator Staff Member ISPConfig Developer

    Seems as if the mysql root user on the master that you use to install has insufficient privileges.
     
  6. bambam82

    bambam82 New Member

    Hi Till, you might want to add this package to the manual (3.1). Also missing in the multiserver setup.
    Cheers.
     

Share This Page