Skip to content
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 whit database.. #138

Closed
LewBr opened this issue Sep 16, 2017 · 0 comments
Closed

Error whit database.. #138

LewBr opened this issue Sep 16, 2017 · 0 comments

Comments

@LewBr
Copy link

LewBr commented Sep 16, 2017

I have configured my database on config.yml but when i try to open my server i have this error on console:

16.09 07:57:14 [Server] Server thread/CRITICAL ErrorException: "mysqli_num_rows() expects parameter 1 to be mysqli_result, boolean given" (EXCEPTION) in "ServerAuth/src/ServerAuth/ServerAuth" at line 219
16.09 07:57:14 [Server] Server thread/DEBUG #0 (): pocketmine{closure}(integer 2, string mysqli_num_rows() expects parameter 1 to be mysqli_result, boolean given, string /plugins/ServerAuth/src/ServerAuth/ServerAuth.php, integer 219, array Array())
16.09 07:57:14 [Server] Server thread/DEBUG #1 ServerAuth/src/ServerAuth/ServerAuth(219): mysqli_num_rows(boolean )
16.09 07:57:14 [Server] Server thread/DEBUG #2 ServerAuth/src/ServerAuth/ServerAuth(289): ServerAuth\ServerAuth->initializeDatabase(string mysql.envioushost.com, integer 3306, string mcus_9446, string ***, string auth, string srvauth_)
16.09 07:57:14 [Server] Server thread/DEBUG #3 src/pocketmine/plugin/PluginBase(90): ServerAuth\ServerAuth->onEnable()
16.09 07:57:14 [Server] Server thread/DEBUG #4 DevTools.phar/src/FolderPluginLoader/FolderPluginLoader(125): pocketmine\plugin\PluginBase->setEnabled(boolean 1)
16.09 07:57:14 [Server] Server thread/DEBUG #5 src/pocketmine/plugin/PluginManager(603): FolderPluginLoader\FolderPluginLoader->enablePlugin(ServerAuth\ServerAuth object)
16.09 07:57:14 [Server] Server thread/DEBUG #6 src/pocketmine/Server(1926): pocketmine\plugin\PluginManager->enablePlugin(ServerAuth\ServerAuth object)
16.09 07:57:14 [Server] Server thread/DEBUG #7 src/pocketmine/Server(1912): pocketmine\Server->enablePlugin(ServerAuth\ServerAuth object)
16.09 07:57:14 [Server] Server thread/DEBUG #8 DevTools.phar/src/DevTools/DevTools(49): pocketmine\Server->enablePlugins(integer 0)
16.09 07:57:14 [Server] Server thread/DEBUG #9 src/pocketmine/plugin/PluginBase(90): DevTools\DevTools->onEnable()
16.09 07:57:14 [Server] Server thread/DEBUG #10 src/pocketmine/plugin/PharPluginLoader(122): pocketmine\plugin\PluginBase->setEnabled(boolean 1)
16.09 07:57:14 [Server] Server thread/DEBUG #11 src/pocketmine/plugin/PluginManager(603): pocketmine\plugin\PharPluginLoader->enablePlugin(DevTools\DevTools object)
16.09 07:57:14 [Server] Server thread/DEBUG #12 src/pocketmine/Server(1926): pocketmine\plugin\PluginManager->enablePlugin(DevTools\DevTools object)
16.09 07:57:14 [Server] Server thread/DEBUG #13 src/pocketmine/Server(1912): pocketmine\Server->enablePlugin(DevTools\DevTools object)
16.09 07:57:14 [Server] Server thread/DEBUG #14 src/pocketmine/Server(1621): pocketmine\Server->enablePlugins(integer 0)
16.09 07:57:14 [Server] Server thread/DEBUG #15 src/pocketmine/PocketMine(541): pocketmine\Server->__construct(BaseClassLoader object, pocketmine\utils\MainLogger object, string phar:///custom7.phar/, string /, string /plugins/)
16.09 07:57:14 [Server] Server thread/DEBUG #16 /custom7.phar(1): require(string phar:///custom7.phar/src/pocketmine/PocketMine.php)

@LewBr LewBr closed this as completed Sep 16, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant