Raised This Month: $105 Target: $400
 26% 

General error: 3750 trying to install Sourcebans


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
MentholRP
New Member
Join Date: Feb 2023
Old 02-22-2023 , 10:23   General error: 3750 trying to install Sourcebans
Reply With Quote #1

Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 3750 Unable to create or change a table without a primary key, when the system variable 'sql_require_primary_key' is set. Add a primary key to the table or unset this variable to avoid this message. Note that tables without a primary key can cause performance problems in row-based replication, so please consult your DBA before changing this setting. in /var/www/html/includes/Database.php:70 Stack trace: #0 /var/www/html/includes/Database.php(70): PDOStatement->execute() #1 /var/www/html/install/template/page.4.php(27): Database->execute() #2 /var/www/html/install/includes/page-builder.php(62): include('/var/www/html/i...') #3 /var/www/html/install/index.php(31): include_once('/var/www/html/i...') #4 {main} thrown in /var/www/html/includes/Database.php on line 70.


This is between line 70 on Database.php

public function execute()
{
return $this->stmt->execute();
}
MentholRP is offline
CryWolf
Veteran Member
Join Date: Jul 2008
Location: Romania
Old 02-23-2023 , 04:13   Re: General error: 3750 trying to install Sourcebans
Reply With Quote #2

What PHP version are you running ? if it's above 7.4 , you shoud try with php 7.4
__________________
I dont walk trough this world with fear in my heart.
www.dark-arena.com L4D, CS1.6, CZ Servers
CryWolf is offline
Send a message via MSN to CryWolf Send a message via Yahoo to CryWolf
MentholRP
New Member
Join Date: Feb 2023
Old 02-23-2023 , 09:07   Re: General error: 3750 trying to install Sourcebans
Reply With Quote #3

Quote:
Originally Posted by CryWolf View Post
What PHP version are you running ? if it's above 7.4 , you shoud try with php 7.4
7.4.3

https://imgur.com/a/fJRMDZU
MentholRP 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:25.


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