Parašė deimantas1· 2019 Vas. 6 14:02:21
#1
Sveiki,
Norint įdiegti
PHP Fusion v9 po
MySQL duomenų įvedimo gaunu tokias klaidas:
Warning: Use of undefined constant DB_PREFIX - assumed 'DB_PREFIX' (this will throw an Error in a future version of PHP) in /var/www/html/includes/multisite_include.php on line 19
Warning: Use of undefined constant DB_PREFIX - assumed 'DB_PREFIX' (this will throw an Error in a future version of PHP) in /var/www/html/includes/multisite_include.php on line 20
Warning: Use of undefined constant DB_PREFIX - assumed 'DB_PREFIX' (this will throw an Error in a future version of PHP) in /var/www/html/includes/multisite_include.php on line 21
Warning: Use of undefined constant DB_PREFIX - assumed 'DB_PREFIX' (this will throw an Error in a future version of PHP) in /var/www/html/includes/multisite_include.php on line 22
Warning: Use of undefined constant DB_PREFIX - assumed 'DB_PREFIX' (this will throw an Error in a future version of PHP) in /var/www/html/includes/multisite_include.php on line 23
Warning: Use of undefined constant DB_PREFIX - assumed 'DB_PREFIX' (this will throw an Error in a future version of PHP) in /var/www/html/includes/multisite_include.php on line 24
Warning: Use of undefined constant DB_PREFIX - assumed 'DB_PREFIX' (this will throw an Error in a future version of PHP) in /var/www/html/includes/multisite_include.php on line 25
Warning: Use of undefined constant DB_PREFIX - assumed 'DB_PREFIX' (this will throw an Error in a future version of PHP) in /var/www/html/includes/multisite_include.php on line 26
Warning: Use of undefined constant DB_PREFIX - assumed 'DB_PREFIX' (this will throw an Error in a future version of PHP) in /var/www/html/includes/multisite_include.php on line 27
Warning: Use of undefined constant DB_PREFIX - assumed 'DB_PREFIX' (this will throw an Error in a future version of PHP) in /var/www/html/includes/multisite_include.php on line 28
Warning: Use of undefined constant DB_PREFIX - assumed 'DB_PREFIX' (this will throw an Error in a future version of PHP) in /var/www/html/includes/multisite_include.php on line 29
Warning: Use of undefined constant DB_PREFIX - assumed 'DB_PREFIX' (this will throw an Error in a future version of PHP) in /var/www/html/includes/multisite_include.php on line 30
Warning: Use of undefined constant DB_PREFIX - assumed 'DB_PREFIX' (this will throw an Error in a future version of PHP) in /var/www/html/includes/multisite_include.php on line 31
Warning: Use of undefined constant DB_PREFIX - assumed 'DB_PREFIX' (this will throw an Error in a future version of PHP) in /var/www/html/includes/multisite_include.php on line 32
Warning: Use of undefined constant DB_PREFIX - assumed 'DB_PREFIX' (this will throw an Error in a future version of PHP) in /var/www/html/includes/multisite_include.php on line 33
Warning: Use of undefined constant DB_PREFIX - assumed 'DB_PREFIX' (this will throw an Error in a future version of PHP) in /var/www/html/includes/multisite_include.php on line 34
Warning: Use of undefined constant DB_PREFIX - assumed 'DB_PREFIX' (this will throw an Error in a future version of PHP) in /var/www/html/includes/multisite_include.php on line 35
Warning: Use of undefined constant DB_PREFIX - assumed 'DB_PREFIX' (this will throw an Error in a future version of PHP) in /var/www/html/includes/multisite_include.php on line 36
Warning: Use of undefined constant DB_PREFIX - assumed 'DB_PREFIX' (this will throw an Error in a future version of PHP) in /var/www/html/includes/multisite_include.php on line 37
Warning: Use of undefined constant DB_PREFIX - assumed 'DB_PREFIX' (this will throw an Error in a future version of PHP) in /var/www/html/includes/multisite_include.php on line 38
Warning: Use of undefined constant DB_PREFIX - assumed 'DB_PREFIX' (this will throw an Error in a future version of PHP) in /var/www/html/includes/multisite_include.php on line 39
Warning: Use of undefined constant DB_PREFIX - assumed 'DB_PREFIX' (this will throw an Error in a future version of PHP) in /var/www/html/includes/multisite_include.php on line 40
Warning: Use of undefined constant DB_PREFIX - assumed 'DB_PREFIX' (this will throw an Error in a future version of PHP) in /var/www/html/includes/multisite_include.php on line 41
Warning: Use of undefined constant DB_PREFIX - assumed 'DB_PREFIX' (this will throw an Error in a future version of PHP) in /var/www/html/includes/multisite_include.php on line 42
Warning: Use of undefined constant DB_PREFIX - assumed 'DB_PREFIX' (this will throw an Error in a future version of PHP) in /var/www/html/includes/multisite_include.php on line 43
Warning: Use of undefined constant DB_PREFIX - assumed 'DB_PREFIX' (this will throw an Error in a future version of PHP) in /var/www/html/includes/multisite_include.php on line 44
Warning: Use of undefined constant DB_PREFIX - assumed 'DB_PREFIX' (this will throw an Error in a future version of PHP) in /var/www/html/includes/multisite_include.php on line 45
Warning: Use of undefined constant DB_PREFIX - assumed 'DB_PREFIX' (this will throw an Error in a future version of PHP) in /var/www/html/includes/multisite_include.php on line 46
Warning: Use of undefined constant DB_PREFIX - assumed 'DB_PREFIX' (this will throw an Error in a future version of PHP) in /var/www/html/includes/multisite_include.php on line 47
Warning: Use of undefined constant DB_PREFIX - assumed 'DB_PREFIX' (this will throw an Error in a future version of PHP) in /var/www/html/includes/multisite_include.php on line 48
Warning: Use of undefined constant DB_PREFIX - assumed 'DB_PREFIX' (this will throw an Error in a future version of PHP) in /var/www/html/includes/multisite_include.php on line 49
Warning: Use of undefined constant DB_PREFIX - assumed 'DB_PREFIX' (this will throw an Error in a future version of PHP) in /var/www/html/includes/multisite_include.php on line 50
Warning: Use of undefined constant DB_PREFIX - assumed 'DB_PREFIX' (this will throw an Error in a future version of PHP) in /var/www/html/includes/multisite_include.php on line 51
Warning: Use of undefined constant DB_PREFIX - assumed 'DB_PREFIX' (this will throw an Error in a future version of PHP) in /var/www/html/includes/multisite_include.php on line 52
Warning: Use of undefined constant DB_PREFIX - assumed 'DB_PREFIX' (this will throw an Error in a future version of PHP) in /var/www/html/includes/multisite_include.php on line 53
Warning: Use of undefined constant DB_PREFIX - assumed 'DB_PREFIX' (this will throw an Error in a future version of PHP) in /var/www/html/includes/multisite_include.php on line 54
Warning: Use of undefined constant DB_PREFIX - assumed 'DB_PREFIX' (this will throw an Error in a future version of PHP) in /var/www/html/includes/multisite_include.php on line 55
Fatal error: Uncaught Error: Call to undefined function dbconnection() in /var/www/html/includes/core_functions_include.php:1573 Stack trace: #0 /var/www/html/includes/core_functions_include.php(1630): fusion_get_settings('theme') #1 /var/www/html/includes/defender/token.php(179): fusion_get_userdata() #2 /var/www/html/includes/dynamics/includes/form_main.php(54): Defender\Token::generate_token('setupform', 5, '') #3 /var/www/html/includes/classes/PHPFusion/Installer/Console.core.inc(44): openform('setupform', 'post', 'install.php?loc...') #4 /var/www/html/includes/classes/PHPFusion/Installer/Install.core.inc(318): PHPFusion\Installer\Console_Core::getView(NULL) #5 /var/www/html/install.php(22): PHPFusion\Installer\Install_Core->install_phpfusion() #6 {main} thrown in /var/www/html/includes/core_functions_include.php on line 1573
PHP versija:
PHP 7.2.10-0ubuntu0.18.04.1
MySQL versija:
mysql Ver 14.14 Distrib 5.7.25, for Linux (x86_64) using EditLine wrapper
Apache versija: Apache/2.4.29 (Ubuntu)
Parašė deimantas1· 2019 Vas. 6 15:02:59
#2
Problema išspręsta:
Nekūrė config.php failo ir config_temp.php failo
Taigi sukūriau config_temp.php failą padariau CHMOD 777, tuomet leido įdiegti, po įdiegimo viską iš config_temp.php perkopijavau į config.php failą.
Parašė kesiukas· 2020 Sau. 3 22:01:27
#3
Man tas pats, bet tavo sprendimo būdas man nepadeda