vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB Chat (https://vborg.vbsupport.ru/forumdisplay.php?f=107)
-   -   error in chat options (https://vborg.vbsupport.ru/showthread.php?t=77347)

boysmom 03-02-2005 04:58 PM

error in chat options
 
Under vbchat options in the control panel, when we push "save vbchat options," we get the following error:

Database error in vBulletin 3.0.3:

Invalid SQL: update vbchat_datastore set d_online='yes',d_allowbbcode='yes',d_chat_order='b ottom',d_smiliedisplay='1',d_smilieamount='10',d_a llowbantag='1',d_maxrooms='5',d_smilequery='0',d_a utoprune='1',d_autoprunedays='1',d_roomprune='1' where did='1'
mysql error: Unknown column 'd_roomprune' in 'field list'

mysql error number: 1054

Date: Wednesday 02nd of March 2005 01:54:53 PM
Script: http://www.storknotes.com/admincp/admin_vbchat.php
Referer: http://www.storknotes.com/admincp/admin_vbchat.php

***********************

Any idea which file might have the error?

Thanks

Zero Tolerance 03-02-2005 05:30 PM

It appears you didn't run an upgrade, the room prune option was established in v2.2, so it means you didn't do the upgrade from v2.1 -> v2.2

Run it, look in the archived versions for the upgrader.

- Zero Tolerance

boysmom 03-02-2005 06:06 PM

This was supposed to be a fresh install of v2.3 but I didn't do it.

So do I run the installer from v2.1? I tried that and got an error. Yikes. This is getting messy.

Zero Tolerance 03-03-2005 01:26 PM

Run this query:
[sql]alter table vbchat_datastore
add `d_roomprune` int(15) not null default '0';[/sql]

If any more errors occur, paste them here :)

- Zero Tolerance

boysmom 03-04-2005 02:05 PM

Thanks! We have it fixed now.

nnjj.net 04-08-2005 07:51 AM

I have the same problem and when I tried to run the query, thats what I got
Error
SQL-query:

ALTER TABLE vbchat_datastore ADD `d_roomprune` int( 15 ) NOT NULL default '0'
MySQL said:

#1060 - Duplicate column name 'd_roomprune'

Database error in vBulletin 3.0.3:

Invalid SQL: update vbchat_datastore set d_online='yes',d_allowbbcode='yes',d_chat_order='b ottom',d_smiliedisplay='0',d_s milieamount='10',d_allowbantag='1',d_maxrooms='5', d_smilequery='0',d_autoprune=' 0',d_autoprunedays='0',d_roomprune='1' where did='1'
mysql error: Unknown column 'd_smilequery' in 'field list'

mysql error number: 1054

Zero Tolerance 04-08-2005 12:28 PM

You have a different error, i replied to it in the other thread. :)

- Zero Tolerance

nnjj.net 04-08-2005 12:31 PM

thanks alot Zero :)


All times are GMT. The time now is 03:56 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.01597 seconds
  • Memory Usage 1,718KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)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