Alriight wtf is this..

03/02/2009 01:42 Hamie#1
New INFO

ok i get some random errors...


for index.php
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in C:\AppServ\www\index.php on line 92

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in C:\AppServ\www\index.php on line 88

__________________________________________________ ____________________________

For Register


Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in C:\AppServ\www\register.php on line 88


Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in C:\AppServ\www\register.php on line 92


Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in C:\AppServ\www\register.php on line 96

__________________________________________________ _________________________


For Top Players


Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in C:\AppServ\www\topplayers.php on line 81

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in C:\AppServ\www\topplayers.php on line 82

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in C:\AppServ\www\topplayers.php on line 88

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in C:\AppServ\www\topplayers.php on line 89

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in C:\AppServ\www\topplayers.php on line 95

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in C:\AppServ\www\topplayers.php on line 96


Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in C:\AppServ\www\topplayers.php on line 101

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in C:\AppServ\www\topplayers.php on line 102

__________________________________________________ ___________________________

and thats it lol can some1 also post the link to a proper 5065 server.dat ?

__________________________________________________ ___________________________

etc. etc. for the Basic Register Site but everything is suppose to work cuz it was working last time.. if u can help me ur smart cuz idk wtf to do lol.

btw i tried reinstalling

i made a new mysql user

test
test

i restarted my pc. i did the index.php and stuff over and over... nothing so help oo and i took off internet information services service idk lol
03/02/2009 05:33 andyd123#2
I can help you.

Could you post the file in question(index.php) or link me to where I can find it?
03/02/2009 21:32 Hamie#3
[QUOTE=andyd123;1917389]I can help you.

sure uh here it is :O

ya XD thanks in advance
03/02/2009 22:52 Hamie#4
BTW i get errors for like all of them idk wdf the problem is o_O? is there a new app serv cause im using appserv-win32-2.5.10 >< idk :O?
03/02/2009 22:58 PeTe Ninja#5
dude you should redit make it all into one post >< someone could report you for triple posting you would get an infraction ><
03/03/2009 00:16 andyd123#6
The problem you're having is because the result resource $res, $res2 etc, are not populated. This means that an error occurred either during the query or before that.

Go to line 81, which should be
Code:
$res = mysql_query("SELECT CharName FROM characters ORDER BY Level DESC LIMIT 1;")
Modify it, changing it to:
Code:
$res = mysql_query("SELECT CharName FROM characters ORDER BY Level DESC LIMIT 1;")or die ('Error: ' . mysql_error());
Save it and then load it in a web-browser. Somewhere, you should see Error: and then an error. Copy/paste the error here, please.
03/03/2009 00:25 Hamie#7
Quote:
Originally Posted by andyd123 View Post
The problem you're having is because the result resource $res, $res2 etc, are not populated. This means that an error occurred either during the query or before that.

Go to line 81, which should be
Code:
$res = mysql_query("SELECT CharName FROM characters ORDER BY Level DESC LIMIT 1;")
Modify it, changing it to:
Code:
$res = mysql_query("SELECT CharName FROM characters ORDER BY Level DESC LIMIT 1;")or die ('Error: ' . mysql_error());
Save it and then load it in a web-browser. Somewhere, you should see Error: and then an error. Copy/paste the error here, please.
But But i have alot of other errors can u just post ur index.php files or like ya... cuz i get it on like every page T_T or like u see the files i uploaded above just edit them and reupload =D
03/03/2009 00:51 andyd123#8
You don't understand.
The problem could be a VERY WIDE number of things. I need to start with the error origin before I can help you with them all.
03/03/2009 03:03 Hamie#9
Quote:
Originally Posted by andyd123 View Post
You don't understand.
The problem could be a VERY WIDE number of things. I need to start with the error origin before I can help you with them all.
mhmmm well do u know whyn im getting random errors now lol perhaps u can send me ur website files and tell me how to edit them? mhmmm

or send me a link to a proper website thing.

or ya... lol :P
03/03/2009 03:12 andyd123#10
If you refuse to do what I'm asking you to do, then I can't help you.
03/03/2009 03:13 Hamie#11
Quote:
Originally Posted by andyd123 View Post
If you refuse to do what I'm asking you to do, then I can't help you.
where can i find this error "origin" lol
03/03/2009 03:36 tao4229#12
Looks like you're trying to use a LOTF site for the TQ binaries.
Fail?
03/03/2009 13:55 Hamie#13
Quote:
Originally Posted by tao4229 View Post
Looks like you're trying to use a LOTF site for the TQ binaries.
Fail?
i know Dx but im 13 >< and i just wanna play the game T^T
03/03/2009 19:06 tao4229#14
Quote:
Originally Posted by Hamie View Post
i know Dx but im 13 >< and i just wanna play the game T^T
If you just wanna play, go play real CO or a decent private server instead of flooding the community with yet another private server doomed to fail.
03/03/2009 22:55 Ultimatum#15
Quote:
Originally Posted by Hamie View Post
ill flood ur mom with cum
More like blanks LOL