SA-MP Forums Archive
MYSQL - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: MYSQL (/showthread.php?tid=447755)



MYSQL - DwayneB - 01.07.2013

When, I login to my server using mysql script, it always re-starts...and also I found this:
Код:
[17:30:59] Jeremy: [13:26:37] Error: Function not registered: 'cache_get_field_content'
[13:26:37] Error: Function not registered: 'WP_Hash'
[13:26:37] Error: Function not registered: 'mysql_function_query'
[13:26:37] Error: Function not registered: 'mysql_debug'
[13:26:37] Error: Function not registered: 'mysql_connect'
[13:26:37] Error: Function not registered: 'mysql_ping'
[13:26:37] Error: Function not registered: 'mysql_close'
[13:26:37] Error: Function not registered: 'mysql_real_escape_string'
[13:26:37] Error: Function not registered: 'cache_get_row'
[13:26:37] Error: Function not registered: 'mysql_stat'
[13:26:37] Error: Function not registered: 'mysql_affected_rows'
Any idea on that?


Re: MYSQL - Kirollos - 01.07.2013

make sure you have the mysql & whirlpool plugin

PS: also include nativechecker plugin in the end of the line


Re: MYSQL - Jermi - 01.07.2013

But when you register, it must show you a Dialog of male or female, But it doesn't , server just crash


Re: MYSQL - DwayneB - 01.07.2013

Not working, still.


Re: MYSQL - Jermi - 01.07.2013

i updated the mysql and whirlpool and no errors
but server still crash when someone login


Re: MYSQL - Jermi - 01.07.2013

So heLP?>


Re: MYSQL - Lordzy - 01.07.2013

When someone logins only? Post your login codes then.


Re: MYSQL - Jermi - 01.07.2013

Both, Register and Login

pawn Код:
if(!isnull(inputtext) && strlen(inputtext) < 64)
            {
                SetPVarString(playerid, "PassAuth", inputtext);
                g_mysql_CreateAccount(playerid, inputtext);
                ShowMainMenuDialog(playerid, 1);
                SendClientMessage(playerid, COLOR_WHITE, "* Account Registered, You can login now!");
            }
        }
pawn Код:
if(!isnull(inputtext) && strlen(inputtext) < 64)
            {
                SetPVarString(playerid, "PassAuth", inputtext);
                g_mysql_AccountLoginCheck(playerid);
            }
            else
            {
                ShowMainMenuDialog(playerid, 1);
            }
        }



Re: MYSQL - Jermi - 01.07.2013

help? Why when i add a help, you all don't answer


Re: MYSQL - Riddy - 01.07.2013

Код:
Error: Function not registered: 'cache_get_field_content'
[13:26:37] Error: Function not registered: 'WP_Hash'
[13:26:37] Error: Function not registered: 'mysql_function_query'
[13:26:37] Error: Function not registered: 'mysql_debug'
[13:26:37] Error: Function not registered: 'mysql_connect'
[13:26:37] Error: Function not registered: 'mysql_ping'
[13:26:37] Error: Function not registered: 'mysql_close'
[13:26:37] Error: Function not registered: 'mysql_real_escape_string'
[13:26:37] Error: Function not registered: 'cache_get_row'
[13:26:37] Error: Function not registered: 'mysql_stat'
[13:26:37] Error: Function not registered: 'mysql_affected_rows'
No matter what, this mean you're missing the Plugins. Make sure you have the latest MySQL plugin and you're also missing the Whirlpool plugin. Give us a server_log..