Raised This Month: $19 Target: $400
 4% 

SOurcebans++ 1.7 Installation Error


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Dave of the Feet
New Member
Join Date: Dec 2019
Old 04-06-2025 , 00:18   SOurcebans++ 1.7 Installation Error
Reply With Quote #1

I am trying to install Sourcebans++ 1.7 on my server and I get the following error while trying to complete "Step 5: Initial Setup"
Code:
 Fatal error: Uncaught PDOException: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry 'dave' for key 'user' in /usr/www/thefootclan/public/sourcebans/includes/Database.php:117 Stack trace: #0 /usr/www/thefootclan/public/sourcebans/includes/Database.php(117): PDOStatement->execute() #1 /usr/www/thefootclan/public/sourcebans/install/template/page.5.php(72): Database->execute() #2 /usr/www/thefootclan/public/sourcebans/install/includes/routing.php(21): require_once('...') #3 /usr/www/thefootclan/public/sourcebans/install/index.php(14): build() #4 {main} thrown in /usr/www/thefootclan/public/sourcebans/includes/Database.php on line 117
Can anyone help me fix this?
Dave of the Feet is offline
killjoy64
AlliedModders Donor
Join Date: Apr 2012
Location: 81.773644,-46.933594
Old 04-24-2025 , 15:35   Re: SOurcebans++ 1.7 Installation Error
Reply With Quote #2

You most likely already have 'Dave' in the database. Best thing to do is to drop the tables and set up the steps again to recreate them. If you just drop the row, it might mess with the primary key (the id number)
__________________

Last edited by killjoy64; 04-24-2025 at 15:36.
killjoy64 is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 01:03.


Powered by vBulletin®
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
Theme made by Freecode