From: <vl...@it...> - 2023-11-25 09:12:35
|
Good day! I try to setup webERP but have some errors: 1) install/index.php (line ~ 1226) System do not chop by ';' sql statements ' SET names UTF8; SET FOREIGN_KEY_CHECKS = 0' } if (mb_strpos($SQLScriptFile[$i],';')>0 AND ! $InAFunction){ // Database created above with correct name. if (strncasecmp($SQL, ' CREATE DATABASE ', 17) AND strncasecmp($SQL, ' USE ', 5)){ $SQL = mb_substr($SQL,0,mb_strlen($SQL)-1); if ($SQL==' SET names UTF8; SET FOREIGN_KEY_CHECKS = 0') { I have modify php file for suppress this error, but I have other error (after uploading default.sql file): 2) Fatal error: Uncaught mysqli_sql_exception: Table 'accountgroups' already exists in /var/www/html/webERP/install/index.php: 1125 Stack trace: #0 /var/www/html/webERP/install/index.php(1125): mysqli_next_result() #1 /var/www/html/webERP/install/index.php(420): PopulateSQLData() #2 {main} thrown in /var/www/html/webERP/install/index.php on line 1125 |