PDA

View Full Version : How do i fix this


Spitfireisgod
03-16-2003, 09:51 PM
Database error in vBulletin 2.2.9:

Invalid SQL:
SELECT
post.*,post.username AS postusername,post.ipaddress AS ip,user.*,userfield.*,icon.title as icontitle,icon.iconpath,
attachmentvisible,attachment.counter,
user.ma AS uma,user.hp AS uhp,user.pp AS upp,user.ap AS uap,items_options.pointfield,items_options.lesanes tore,battle_options.namefield,battle_options.expra te,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

Xenon
03-16-2003, 09:55 PM
take out the "attachmentvisible," from the script which calls that query

filburt1
03-16-2003, 10:00 PM
Conflicting versions, too: http://www.extremechatforums.com/forum/admin/

Spitfireisgod
03-16-2003, 10:03 PM
Yesterday at 11:55 PM Xenon said this in Post #2 (https://vborg.vbsupport.ru/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

Spitfireisgod
03-16-2003, 10:06 PM
Today at 12:00 AM filburt1 said this in Post #3 (https://vborg.vbsupport.ru/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

Spitfireisgod
03-16-2003, 10:15 PM
problem fixed :)

Xenon
03-16-2003, 10:16 PM
Today at 01:03 Spitfireisgod said this in Post #4 (https://vborg.vbsupport.ru/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...

Spitfireisgod
03-16-2003, 10:17 PM
i did, 3 times

it ends up i messed up copy/pasting some code

Xenon
03-16-2003, 10:19 PM
*gg*

that can happen :)

Logician
03-17-2003, 06:10 AM
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.