FluxCP icon indicating copy to clipboard operation
FluxCP copied to clipboard

Registration error "Uh oh, what happened?"

Open cydh opened this issue 6 years ago • 1 comments

If FluxCP cannot register a new player because of the mysql user does not have permission to insert new data, it will return false in LoginServer::register, the message will be

Uh oh, what happened?

Should be changed with decent error message

cydh avatar Oct 14 '18 22:10 cydh

Better check for mysql permissions when installing

Daegaladh avatar Oct 27 '18 22:10 Daegaladh

When removing the INSERT privilege from the MySQL user, the Critical Error page is displayed with the following information:

Exception Details
Error: PDOException

Message: SQLSTATE[42000]: Syntax error or access violation: 1142 INSERT command denied to user 'ragnarok'@'localhost' for table 'login'

File: C:\xampp\htdocs\FluxCP\lib\Flux\Connection\Statement.php:50

Akkarinage avatar Sep 18 '22 12:09 Akkarinage