glas
01-28-2003, 02:07 AM
I've run into a bit of a problem with the away reason hack. Ever since I installed it, I cannot access any of the users' profiles in the ACP. It just tells me
There seems to have been a slight problem with the Halliwell Haven Forums database.
Please try again by pressing the refresh button in your browser.
An E-Mail has been dispatched to our Technical Staff, who you can also contact if the problem persists.
We apologise for any inconvenience.
Database error in vBulletin Control Panel 2.2.9:
Invalid SQL: SELECT *,FROM_UNIXTIME(joindate) AS joindate,FROM_UNIXTIME(lastvisit) AS lastvisit,FROM_UNIXTIME(lastactivity) AS lastactivity,FROM_UNIXTIME(lastpost) AS lastpost,FROM_UNIXTIME(awaydate) AS awaydate
avatar.avatarpath,NOT ISNULL(customavatar.avatardata) AS hascustomavatar
FROM user
LEFT JOIN avatar ON avatar.avatarid=user.avatarid
LEFT JOIN customavatar ON customavatar.userid=user.userid
WHERE user.userid=5
mysql error: You have an error in your SQL syntax near 'avatar.avatarpath,NOT ISNULL(customavatar.avatardata) AS hascustomavatar
' at line 2
mysql error number: 1064
Date: Monday 27th of January 2003 10:41:59 PM
Script: http://www.charming-holly.com/hhg/hhg/admin/user.php?action=edit&userid=5
Referer: http://www.charming-holly.com/hhg/admin/user.php?action=find
Now, I know when the hack was installed, it installed a MySQL query where it added a table.
So the mdatabase could have looked like:
name
avatar
Online
And is now:
Name
avatar
away
here
Online.
I know this is most likely fixable, but I don't know how. If you could kindly tell me, I'd most appreciate it.
Thanks!
There seems to have been a slight problem with the Halliwell Haven Forums database.
Please try again by pressing the refresh button in your browser.
An E-Mail has been dispatched to our Technical Staff, who you can also contact if the problem persists.
We apologise for any inconvenience.
Database error in vBulletin Control Panel 2.2.9:
Invalid SQL: SELECT *,FROM_UNIXTIME(joindate) AS joindate,FROM_UNIXTIME(lastvisit) AS lastvisit,FROM_UNIXTIME(lastactivity) AS lastactivity,FROM_UNIXTIME(lastpost) AS lastpost,FROM_UNIXTIME(awaydate) AS awaydate
avatar.avatarpath,NOT ISNULL(customavatar.avatardata) AS hascustomavatar
FROM user
LEFT JOIN avatar ON avatar.avatarid=user.avatarid
LEFT JOIN customavatar ON customavatar.userid=user.userid
WHERE user.userid=5
mysql error: You have an error in your SQL syntax near 'avatar.avatarpath,NOT ISNULL(customavatar.avatardata) AS hascustomavatar
' at line 2
mysql error number: 1064
Date: Monday 27th of January 2003 10:41:59 PM
Script: http://www.charming-holly.com/hhg/hhg/admin/user.php?action=edit&userid=5
Referer: http://www.charming-holly.com/hhg/admin/user.php?action=find
Now, I know when the hack was installed, it installed a MySQL query where it added a table.
So the mdatabase could have looked like:
name
avatar
Online
And is now:
Name
avatar
away
here
Online.
I know this is most likely fixable, but I don't know how. If you could kindly tell me, I'd most appreciate it.
Thanks!