se7enet purgatorio

Page 1 of 1 1
Topic Options
Rate This Topic
#14493 - 03/23/07 03:49 PM error i can't log in
kristjan
Malt-o-Meal


Registered: 03/23/07
Posts: 11

Offline
i install and uploading the game on my homepage, and if i log in then he say:Unknown column 'username' in 'where clause'

help!

Top
#14494 - 03/23/07 11:23 PM Re: error i can't log in [Re: kristjan]
AnmanIndustries
Cookie Crisp
*****

Registered: 03/21/05
Posts: 2876
Loc: Planet Stupid, AKA Earth

Offline
Did you run the install.php file?
_________________________
If you want me to punch you in the nuts go to:
http://www.AnmanIndustries.com

I'll do it for free too. Enjoy.

Top
#14496 - 03/25/07 10:52 AM Re: error i can't log in [Re: AnmanIndustries]
kristjan
Malt-o-Meal


Registered: 03/23/07
Posts: 11

Offline
i delete that.
Top
#14497 - 03/25/07 05:26 PM Re: error i can't log in [Re: kristjan]
AnmanIndustries
Cookie Crisp
*****

Registered: 03/21/05
Posts: 2876
Loc: Planet Stupid, AKA Earth

Offline
Did you run it first though? Did you set up the config.php file properly? Does your DK database have tables in it?
_________________________
If you want me to punch you in the nuts go to:
http://www.AnmanIndustries.com

I'll do it for free too. Enjoy.

Top
#14499 - 03/25/07 06:47 PM Re: error i can't log in [Re: AnmanIndustries]
kristjan
Malt-o-Meal


Registered: 03/23/07
Posts: 11

Offline
tables?

no!

Top
#14500 - 03/26/07 06:00 PM Re: error i can't log in [Re: kristjan]
kristjan
Malt-o-Meal


Registered: 03/23/07
Posts: 11

Offline
now is ok but i cant upgrade the 112!

Theres is the code:

$errors = 0; $errorlist = "";

$mainquery = mysql_query("SELECT id,level,charclass,spells FROM $users ORDER BY id");
while ($mainrow = mysql_fetch_array($mainquery)) {
$level = $mainrow["level"];
$charclass = $mainrow["charclass"];
$newspell = $levels[$charclass][$level];
$newquery = mysql_query("UPDATE $users SET spells='$newspell' WHERE id='".$mainrow["id"]."' LIMIT 1");
if ($newquery != true) {
$errors++; $errorlist .= mysql_error() . "<br />";
}
}

and if i upgrade that he say the error:

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/www/krivel5.freehostia.com/mang/upgrade_to_112.php on line 334
Error upgrading Users table.

Top
#14501 - 03/26/07 06:29 PM Re: error i can't log in [Re: kristjan]
AnmanIndustries
Cookie Crisp
*****

Registered: 03/21/05
Posts: 2876
Loc: Planet Stupid, AKA Earth

Offline
Upgrade?... .. Why are you upgrading?
_________________________
If you want me to punch you in the nuts go to:
http://www.AnmanIndustries.com

I'll do it for free too. Enjoy.

Top
#14502 - 03/26/07 06:44 PM Re: error i can't log in [Re: AnmanIndustries]
kristjan
Malt-o-Meal


Registered: 03/23/07
Posts: 11

Offline
because i need the dk_users in the mysql
Top
#14504 - 03/27/07 06:29 AM Re: error i can't log in [Re: kristjan]
AnmanIndustries
Cookie Crisp
*****

Registered: 03/21/05
Posts: 2876
Loc: Planet Stupid, AKA Earth

Offline
.. I have no idea what you are doing or what is going on. What the hell are you doing? Why dont you start from scratch. Delete everything, create a new table, update the config file and run install.php again.
_________________________
If you want me to punch you in the nuts go to:
http://www.AnmanIndustries.com

I'll do it for free too. Enjoy.

Top
#14505 - 03/27/07 08:48 AM Re: error i can't log in [Re: AnmanIndustries]
kristjan
Malt-o-Meal


Registered: 03/23/07
Posts: 11

Offline
ty

now is all okay

Top
Page 1 of 1 1


Hop to:

se7enet

Barack Obama Logo