-
Notifications
You must be signed in to change notification settings - Fork 21
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
MySQLLoadPlayerTask: Task crashed #74
Comments
Situations are even more interesting ...
|
Maybe it's because you are using Tesseract |
@Matthww, What do you propose to put then? It's not difficult for me to test |
This issue is valid. HereAuth is responsible for checking whether the query succeeded and outputting the error. Nothing to do with the server software. |
HereAuth working fine for me |
This issue happens when there is something wrong with your database connection, e.g. permissions, wrong login config, etc. HereAuth is not responsible for actually fixing such problems, but it is responsible for gracefully reporting such problems to the user. |
@SOF3 ...or not. MySQLiResult returns boolean when the result does not exist. |
@musqit it must be an error. A SELECT query never returns a true, and only returns a false when there is an error. |
How many times have I spelt @Muqsit wrongly as @musqit :P |
@SOF3 True (that's what I meant). |
A simple although not-too-graceful way to resolve this issue (but not your real issue) is to add a line ``if($result === false){ echo $db->error; $this->setResult(false); return; }`. It will not stop you from crashing, but it will at least display an error message for you. |
Decision:
Thus stop waiting for the mysql server |
Why not Not really relevant to this issue anyway? |
@SOF3 This is her decision 😐. The solution is not one of the best, but I have not found another |
A little update. Warning: mysqli::query(): MySQL server has gone away in phar:////plugins/HereAuth_v1.0-Dev.phar/src/HereAuth/Database/MySQL/MySQLLoadPlayerTask.php on line 39
Warning: mysqli::query(): Error reading result set's header in phar:////plugins/HereAuth_v1.0-Dev.phar/src/HereAuth/Database/MySQL/MySQLLoadPlayerTask.php on line 39
[12:33:13] [Asynchronous Worker #2 thread/CRITICAL]: Error: "Call to a member function fetch_assoc() on boolean" (EXCEPTION) in "/plugins/HereAuth_v1.0-Dev.phar/src/HereAuth/Database/MySQL/MySQLLoadPlayerTask" at line 40
[12:33:13] [Server thread/CRITICAL]: Could not execute asynchronous task MySQLLoadPlayerTask: Task crashed
[12:33:15] [Asynchronous Worker #2 thread/CRITICAL]: Error: "Call to a member function fetch_assoc() on boolean" (EXCEPTION) in "/plugins/HereAuth_v1.0-Dev.phar/src/HereAuth/Database/MySQL/MySQLLoadPlayerTask" at line 40
[12:33:15] [Server thread/CRITICAL]: Could not execute asynchronous task MySQLLoadPlayerTask: Task crashed
[12:33:16] [Server thread/NOTICE]: Deleted 0 trash worlds.
Warning: mysqli::query(): MySQL server has gone away in phar:////plugins/HereAuth_v1.0-Dev.phar/src/HereAuth/Database/MySQL/MySQLLoadPlayerTask.php on line 39
Warning: mysqli::query(): Error reading result set's header in phar:////plugins/HereAuth_v1.0-Dev.phar/src/HereAuth/Database/MySQL/MySQLLoadPlayerTask.php on line 39
[12:34:20] [Asynchronous Worker #1 thread/CRITICAL]: Error: "Call to a member function fetch_assoc() on boolean" (EXCEPTION) in "/plugins/HereAuth_v1.0-Dev.phar/src/HereAuth/Database/MySQL/MySQLLoadPlayerTask" at line 40
[12:34:20] [Server thread/CRITICAL]: Could not execute asynchronous task MySQLLoadPlayerTask: Task crashed |
What, linking? |
@SOF3 Yeah, linking (ln -s) one .phar file into every server's plugin folder. |
I suspect that you're actually using different versions of HereAuth. |
@SOF3, @PEMapModder A very interesting bug, similar to #73.
It is displayed for the reason of disconnecting via timeout.
Accordingly, authorization is lost
The text was updated successfully, but these errors were encountered: