k@mi
02-12-2001, 10:41 PM
Fatal error: Unsupported operand types in /home/httpd/forums/admin/user.php on line 117
I get that when i try to do an admin edit in users.
I'm wondering what I did wrong...
//PM Hack
//Original: $user=$DB_site->query_first("SELECT userid,usergroupid,username,password,email,parente mail,coppauser,homepage,icq,ai m,yahoo,biography,signature,adminemail,showemail,i nvisible,usertitle,customtitle ,FROM_UNIXTIME(joindate) AS joindate,canpost,cookieuser,daysprune,FROM_UNIXTIM E(lastvisit) AS lastvisit,FROM_UNIXTIME(lastactivity) AS lastactivity,FROM_UNIXTIME(lastpost) AS lastpost,posts,timezoneoffset,emailnotification FROM user WHERE userid=$userid");
//New:
$user=$DB_site->query_first("SELECT userid,usergroupid,username,password,email,parente mail,coppauser,homepage,icq,ai m,yahoo,biography,signature,adminemail,showemail,i nvisible,usertitle,customtitle ,FROM_UNIXTIME(joindate) AS joindate,canpost,cookieuser,daysprune,FROM_UNIXTIM E(lastvisit) AS lastvisit,FROM_UNIXTIME(lastactivity) AS lastactivity,FROM_UNIXTIME(lastpost) AS lastpost,posts,timezoneoffset,emailnotification,re ceivepm,emailonpm FROM user WHERE userid=$userid");
//END PM Hack
is there something seriously wrong with that?
I get that when i try to do an admin edit in users.
I'm wondering what I did wrong...
//PM Hack
//Original: $user=$DB_site->query_first("SELECT userid,usergroupid,username,password,email,parente mail,coppauser,homepage,icq,ai m,yahoo,biography,signature,adminemail,showemail,i nvisible,usertitle,customtitle ,FROM_UNIXTIME(joindate) AS joindate,canpost,cookieuser,daysprune,FROM_UNIXTIM E(lastvisit) AS lastvisit,FROM_UNIXTIME(lastactivity) AS lastactivity,FROM_UNIXTIME(lastpost) AS lastpost,posts,timezoneoffset,emailnotification FROM user WHERE userid=$userid");
//New:
$user=$DB_site->query_first("SELECT userid,usergroupid,username,password,email,parente mail,coppauser,homepage,icq,ai m,yahoo,biography,signature,adminemail,showemail,i nvisible,usertitle,customtitle ,FROM_UNIXTIME(joindate) AS joindate,canpost,cookieuser,daysprune,FROM_UNIXTIM E(lastvisit) AS lastvisit,FROM_UNIXTIME(lastactivity) AS lastactivity,FROM_UNIXTIME(lastpost) AS lastpost,posts,timezoneoffset,emailnotification,re ceivepm,emailonpm FROM user WHERE userid=$userid");
//END PM Hack
is there something seriously wrong with that?