vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   How do i fix this (https://vborg.vbsupport.ru/showthread.php?t=50297)

Spitfireisgod 03-16-2003 09:51 PM

How do i fix this
 
PHP Code:

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.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_optionsitems_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 number1054

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

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

Quote:

Yesterday at 11:55 PM Xenon said this in Post #2
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

Quote:

Today at 12:00 AM filburt1 said this in Post #3
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

Quote:

Today at 01:03 Spitfireisgod said this in Post #4


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 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.


All times are GMT. The time now is 08:27 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01180 seconds
  • Memory Usage 1,753KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete