Why wont this load information (MySQL - Short) - 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: Why wont this load information (MySQL - Short) (
/showthread.php?tid=366397)
Why wont this load information (MySQL - Short) -
ryansheilds - 06.08.2012
This doesn't load, I tried printing the information loaded in the console but it doesn't load:
Edit: No longer relevant.
Re: Why wont this load information (MySQL - Short) -
Jstylezzz - 06.08.2012
can you show us the debug.txt file?
Re: Why wont this load information (MySQL - Short) -
ryansheilds - 06.08.2012
Quote:
Originally Posted by Jari_Johnson*
can you show us the debug.txt file?
|
Forgot about that -_- Lol.
Quote:
[11:30:19] Passing query SELECT `Username`, `Pass`, `Email` FROM `players` WHERE `Username` = 'Ryan_Sheilds' | siii
[11:30:19] ProcessQueryThread(OnQueryFinish) - Query was successful. (SELECT `Username`, `Pass`, `Email` FROM `players` WHERE `Username` = 'Ryan_Sheilds')
[11:30:19] CMySQLHandler::ProcessQueryThread() - Data is getting passed to ->ProcessTick()
[11:30:19] OnQueryFinish(siii) - Threaded function called.
[11:30:19] >> mysql_store_result( Connection handle: 1 )
[11:30:19] CMySQLHandler::StoreResult() - Result was stored.
[11:30:19] >> mysql_num_rows( Connection handle: 1 )
[11:30:19] CMySQLHandler::NumRows() - Returned 1 row(s)
[11:30:19] >> mysql_fetch_field_row( Connection handle: 1 )
[11:30:19] CMySQLHandler::FetchField(Username) - You cannot call this function now. (Reason: Fields/Rows are empty.)
[11:30:19] >> mysql_fetch_field_row( Connection handle: 1 )
[11:30:19] CMySQLHandler::FetchField(Email) - You cannot call this function now. (Reason: Fields/Rows are empty.)
[11:30:19] >> mysql_fetch_field_row( Connection handle: 1 )
[11:30:19] CMySQLHandler::FetchField(Pass) - You cannot call this function now. (Reason: Fields/Rows are empty.)
|
Problem is, they're not empty.
Re: Why wont this load information (MySQL - Short) -
ryansheilds - 07.08.2012
Bumpp
Re: Why wont this load information (MySQL - Short) -
ryansheilds - 08.08.2012
I'm kinda fixing it, except the Password and Email isnt loaded, I think it has something to do with how its passed Edit:
No longer relevant.