vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Removing Column In Fields (https://vborg.vbsupport.ru/showthread.php?t=90934)

[Stryder] 06-23-2005 06:50 PM

Removing Column In Fields
 
]Ok, what i was installing told me to do this:

Quote:

Run this SQL query on your database. Don't forget to add a prefix to table's name if you use one in your config.php:

ALTER TABLE `forum` ADD `hide_hack` INT(1) DEFAULT '0' NOT NULL;

I did that than began to recieve this message when going to edit forums.

Code:

Database error in vBulletin 3.0.7:
Invalid SQL: UPDATE jelsoft_forum SET
### UPDATE QUERY GENERATED BY fetch_query_sql() ###
title = 'Site News & Announcements',
description = 'All updates and news regarding Thrash City will be posted here.',
link = '',
displayorder = '2',
daysprune = '-1',
parentid = '1',
newpostemail = '',
newthreademail = '',
styleid = '0',
password = '',
hide_hack = '0',
uttpoints_perthread = '1',
uttpoints_perreply = '1',
uttpoints_perview = '1',
options = '89799',
parentlist = '3,1,-1'
WHERE forumid=3
mysql error: Unknown column 'hide_hack' in 'field list'
mysql error number: 1054
Date: Thursday 23rd of June 2005 12:20:50 PM
Script: ********************
Referer: ***************
Username: Stryder
IP Address: **********

Now i don't know how to fix it, but need it to be fix in order to use the forum.

calorie 06-23-2005 06:59 PM

That error says that the hide_hack column is not in the forum table, so you'd need to run that query you posted to add the hide_hack column to the forum table.

[Stryder] 06-23-2005 07:13 PM

could you please explain that in more detail if possible, i didn't fully understand that..

calorie 06-24-2005 01:29 AM

You said that you ran the query but the error says that you did not.

Marco van Herwaarden 06-24-2005 06:41 AM

To get better support i suggest you post your problem in teh thread about that hack, and not in the general section.

Marco van Herwaarden 06-24-2005 08:16 AM

Looking again at this, you should have been getting an error on that first query, unless you have installed 2 Boards into the same database, 1 using a prefix and the other not using a prefix.

You can run the following query to fix your problem:
[sql]ALTER TABLE `jelsoft_forum` ADD `hide_hack` INT(1) DEFAULT '0' NOT NULL; [/sql]


All times are GMT. The time now is 01:23 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.01198 seconds
  • Memory Usage 1,720KB
  • 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_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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