PDA

View Full Version : Unknown column 'username' in 'where clause'


RAMI7250
05-13-2007, 06:49 AM
im trying to openmy main page (index.php) and im getting this message:

Unknown column 'username' in 'where clause'

also, when im trying to add a new user the user is added but, i getting message on the top:
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /www/soulcalibur/admin/users.php on line 84

how can i fix that?

thanks
rami

renier
05-13-2007, 04:03 PM
Did you chom 777 the user.php file ?

RAMI7250
05-13-2007, 06:45 PM
yes, but still im getting that message..

Ryan
05-14-2007, 05:38 AM
This isn't a chmod issue. This sounds like you may have already had a previous software installed that had a table with the name of users. This would have prevented the humorsoftware table from being created. This would explain the message if that table does not have a field called username in it.

RAMI7250
05-14-2007, 11:21 AM
your right!
it is work now!