View Full Version : How do i fix this

16 Mar 2003, 23:51
Database error in vBulletin 2.2.9:

Invalid SQL:
post.*,post.username AS postusername,post.ipaddress AS ip,user.*,userfield.*,icon.title as icontitle,icon.iconpath,
user.ma AS uma,user.hp AS uhp,user.pp AS upp,user.ap AS uap,items_options.pointfield,items_options.lesanestore,battle_options.namefield, battle_options.exprate,battle_options.privacy AS battleprivacy,items_user.*,battle_stats.*,rpg_race.name AS rpgracename,rpg_race.alignment AS rpgalignmentname,rpg_classf.name AS fclassname,
rpg_classf.folder AS fclassfolder,rpg_classm.name AS mclassname,rpg_classm.folder AS mclassfolder,rpg_element.name AS elename
,avatar.avatarpath,NOT ISNULL(customavatar.avatardata) AS hascustomavatar,customavatar.dateline AS avatardateline
FROM post, battle_options, items_options
LEFT JOIN icon ON icon.iconid=post.iconid
LEFT JOIN user ON user.userid=post.userid
LEFT JOIN userfield ON userfield.userid=user.userid
LEFT JOIN items_user ON items_user.userid=user.userid
LEFT JOIN battle_stats ON battle_stats.userid=user.userid
LEFT JOIN rpg_classf ON rpg_classf.id=user.rpgclass
LEFT JOIN rpg_classm ON rpg_classm.id=user.rpgclass
LEFT JOIN rpg_element ON rpg_element.elementid=user.element
LEFT JOIN rpg_race ON rpg_race.raceid=user.rpgrace AND rpg_race.alignmentid=user.alignment
LEFT JOIN avatar ON avatar.avatarid=user.avatarid
LEFT JOIN customavatar ON customavatar.userid=user.userid
LEFT JOIN attachment ON attachment.attachmentid=post.attachmentid
WHERE post.postid IN (0,847,849,850)
ORDER BY dateline

mysql error: Unknown column 'attachmentvisible' in 'field list'

mysql error number: 1054

Date: Sunday 16th of March 2003 05:42:52 PM
Script: http://www.inthebackground.com/foru...php?threadid=83
Referer: http://inthebackground.com/forums/f...y.php?forumid=2

any help will be appericated

kthxbye :o

16 Mar 2003, 23:55
take out the "attachmentvisible," from the script which calls that query

17 Mar 2003, 00:00
Conflicting versions, too: http://www.extremechatforums.com/forum/admin/

17 Mar 2003, 00:03
Yesterday at 11:55 PM Xenon said this in Post #2 (http://www.vbulletin.org/forum/showthread.php?postid=367769#post367769)
take out the "attachmentvisible," from the script which calls that query

i cant find it :(

i just installed that BETA RPG Battle System thing

17 Mar 2003, 00:06
Today at 12:00 AM filburt1 said this in Post #3 (http://www.vbulletin.org/forum/showthread.php?postid=367770#post367770)
Conflicting versions, too: http://www.extremechatforums.com/forum/admin/

oh, i no longer work at ecf, i am working on http://inthebackground.com filburt :-0

17 Mar 2003, 00:15
problem fixed :)

17 Mar 2003, 00:16
Today at 01:03 Spitfireisgod said this in Post #4 (http://www.vbulletin.org/forum/showthread.php?postid=367775#post367775)

i cant find it :(

i just installed that BETA RPG Battle System thing

it looks like you've forgotten to run the queries neede for that hack...

17 Mar 2003, 00:17
i did, 3 times

it ends up i messed up copy/pasting some code

17 Mar 2003, 00:19

that can happen :)

17 Mar 2003, 08:10
Spitfireisgod, to download hacks and get support you will need to go to this (http://www.vbulletin.com/members/forums.php) page and enter your email address, to show you are licensed. (you will need to use your customer number and password to access that page)
Thank you.