Raised This Month: $ Target: $400
 0% 

Help with error (MySQL)


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
MrBS
New Member
Join Date: Oct 2005
Old 04-05-2006 , 20:13   Help with error (MySQL)
Reply With Quote #1

To make it clear, this is my plugin created by me and only me. Anyways, when I'm running my plugin on my server for a while, I start getting an error, and it isnt just once. It can make up to a 300+ KB file of errors very shortly. This usually makes me shut down my server, otherwise it just keeps erroring till I shut it down. The error is with MySQL natives I'm guessing. The error is:

Code:
L 04/05/2006 - 07:40:04: [MYSQL] Invalid result handle -1 L 04/05/2006 - 07:40:04: [AMXX] Displaying debug trace (plugin "notreleasedyet.amxx") L 04/05/2006 - 07:40:04: [AMXX] Run time error 10: native error (native "dbi_nextrow") L 04/05/2006 - 07:40:04: [AMXX]    [0] notreleasedyet.sma::activehud (line 507)

I have tried editing some stuff but no luck, and also the line will change to the end of my plugin error about 50 times change to the spot error once, then go back to the random line. I really have no clue what could be the problem. I tried to see if remove_task(id) on disconnect could stop it, due to the amount of people leaving and entering but nothing worked. If anyone knows how to fix this it would be greatly appreciated.
MrBS is offline
Send a message via AIM to MrBS
Brad
AMX Mod X Team Member
Join Date: Jun 2004
Old 04-05-2006 , 20:23  
Reply With Quote #2

Show the code that is causing the error.
Brad is offline
MrBS
New Member
Join Date: Oct 2005
Old 04-05-2006 , 20:42  
Reply With Quote #3

Eh fixed myself.
MrBS is offline
Send a message via AIM to MrBS
Freecode
Never Fall Asleep
Join Date: Jan 2004
Old 04-05-2006 , 20:46  
Reply With Quote #4

lmao. The code is GPL'ed so if anyone feels like taking code out, they can.
Plus i doubt anybody wants crappy code.

Where is result declared?

Plus your not doing any error checking. YOur totaly ignoring the errors. Not even 1 check
Freecode is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 16:36.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode