EvolSoft / ServerAuth

An advanced authentication plugin for PocketMine-MP
MIT License
56 stars 40 forks source link

Wrong #105

Closed VCraftMCPE closed 8 years ago

VCraftMCPE commented 8 years ago

i did try to setup my sql for server auth but it wont work i tried the same sql in HereAuth and it work fine im sure its a server auth bug please fix

Flavius12 commented 8 years ago

Check your ServerAuth configuration better. Don't forget that ServerAuth works only with MySQL and you must set an empty database/table

VCraftMCPE commented 8 years ago

i did and it not works always ServerAuth when i enable MySql get disabled test it and see

SalmonDE commented 8 years ago

MySQL works fine for me

Flavius12 commented 8 years ago

@VCraftMCPE please post a console error log or something like it otherwise how can I know if it's a bug or a wrong configuration?

VCraftMCPE commented 8 years ago

MySQL host

host: "sql.host.com"

MySQL port (default 3306)

port: 3306

MySQL username

username: mcusersxx"

MySQL password (you can leave it blank if your database doesn't need password)

password: "passwords"

MySQL ServerAuth database

database: "mcusersxx"

ServerAuth table prefix

tableprefix: "SrvAuth" tell me what is wrong??

VCraftMCPE commented 8 years ago

2016-08-25 [13:47:55] [Server thread/INFO]: Enabling ServerAuth v2.13 2016-08-25 [13:47:55] [Server thread/CRITICAL]: ClassNotFoundException: "Class mysqli not found" (EXCEPTION) in "/src/spl/BaseClassLoader" at line 144 2016-08-25 [13:47:55] [Server thread/INFO]: Disabling ServerAuth v2.13

SalmonDE commented 8 years ago

@VCraftMCPE Check if your binarys have the mysqli extension

Flavius12 commented 8 years ago

You must install the PHP MySQLi extensions in order to use MySQL database functionalities on ServerAuth

VCraftMCPE commented 8 years ago

how to?

VCraftMCPE commented 8 years ago

i have no idea

SalmonDE commented 8 years ago

@VCraftMCPE What server software do you use? (PocketMine-MP, ClearSky, Genisys ...)

VCraftMCPE commented 8 years ago

Genisys

SalmonDE commented 8 years ago

You probably needs Genisys Binarys then, however, I can't find any at the moment. So you could try the pocketmine one's or the one's on my repo.

VCraftMCPE commented 8 years ago

dude how to do that ? im using virtualgladiators.com

SalmonDE commented 8 years ago

@VCraftMCPE Contact their support and ask if they could fix the issue. You need the MySQLi extension in your binarys in order to use mysql in this plugin. (And many others)

VCraftMCPE commented 8 years ago

i did thanks.