-
Notifications
You must be signed in to change notification settings - Fork 175
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error:Install Sourcebans step5 Fital Error. #749
Comments
If you have verified that you have all the requirements for installation?
Error that shows in the image says that you don't have some columns in your database. Try doing a clean install, from scratch again. Tried using PHP 7.3 too |
Step 6 in the installer is optional and you only need to use it if you have an old AMXbans Database that you want to import. |
我也遇到了一样的错误: Warning: Constant IN_SB already defined in /var/www/site4_com/sbpp/1.7.0/install/includes/converter.inc.php on line 28 环境如下: Ubuntu:20.04 PHP: SQL: metamod: source |
补充: |
@NanakaFathry Sourcebans 1.7.0 was not designed to run PHP 8+ |
|
I also tried reinstalling the Database-MySQL and PHP-7.4, but it still doesn't work and the same error persists |
What are the steps to reproduce this issue?
1.install->step6
What happens?
An error occurred during normal installation.
What were you expecting to happen?
successful.
Any logs, error output, etc.?
Notice: Constant IN_SB already defined in /var/www/html/install/includes/converter.inc.php on line 28
Converting sb_bans...
Fatal error: Uncaught PDOException: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'player_ip' in 'field list' in /var/www/html/includes/Database.php:70 Stack trace: #0 /var/www/html/includes/Database.php(70): PDOStatement->execute() #1 /var/www/html/includes/Database.php(75): Database->execute() #2 /var/www/html/install/includes/converter.inc.php(45): Database->resultset() #3 /var/www/html/install/template/page.6.php(15): convertAmxbans(Object(Database), Object(Database)) #4 /var/www/html/install/includes/page-builder.php(62): include('/var/www/html/i...') #5 /var/www/html/install/index.php(31): include_once('/var/www/html/i...') #6 {main} thrown in /var/www/html/includes/Database.php on line 70
Any other comments?
nothing
What versions of software are you using?
Operating System:
Ububtu 20.04.2 LTS
SourceBans++ Version:
sourcebans-pp-1.6.3.Full
PHP Version:
PHP 7.2.24-0
MySQL Version:
5.7.34-0
Link to your project:
http://81.71.93.145/install/index.php
Link to a phpinfo() output:
The text was updated successfully, but these errors were encountered: