04.08.2016, 13:16
If Dutheil's query doesn't work (Which I didn't read), add this and post the logs:
I'm sorry but I'm too lazy to carefully check for the logs you posted, so that'll make it easier to identify the error.
What even makes it more easier (And it's a way I use to fix my bad queries), is copying the query it prints out after adding that small part of code, and trying it on phpmyadmin. It will tell you exactly where the error is.
Code:
public OnQueryError(errorid, error[], callback[], query[], connectionHandle) { printf("Error ID: %i\n\nError: %s\n\nCallback: %s\n\nQuery: %s", errorid, error, callback, query); return 1; }
What even makes it more easier (And it's a way I use to fix my bad queries), is copying the query it prints out after adding that small part of code, and trying it on phpmyadmin. It will tell you exactly where the error is.