vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   vBChat v2.3 (https://vborg.vbsupport.ru/showthread.php?t=71049)

SVTOA 11-09-2004 11:17 PM

Well... did as instructed, now get this error instead:

Invalid SQL: alter table chat_store
add s_forroom int(15) not null default '0';
mysql error: Table 'sfx-1co_vbthree.chat_store' doesn't exist

Deimos 11-09-2004 11:17 PM

Quote:

Originally Posted by wattieuk
I get this error now:
Database error in vBulletin 3.0.3:

Invalid SQL: alter table chat_store
add s_forroom int(15) not null default '0';
mysql error: Table 'user_pneodb.chat_store' doesn't exist

I think the install file is wrong, when installing it sets the name as "Vbchat_Store", but later on during the modifying part, it looks for "chat_store"

Mijae 11-09-2004 11:20 PM

Quote:

Originally Posted by Deimos
I think the install file is wrong, when installing it sets the name as "Vbchat_Store", but later on during the modifying part, it looks for "chat_store"

Yep, here too:

Code:

Database error in vBulletin 3.0.3:

Invalid SQL: alter table chat_store
add s_forroom int(15) not null default '0';
mysql error: Table 'invoid_vb3.chat_store' doesn't exist

mysql error number: 1146

Date: Tuesday 09th of November 2004 08:18:37 PM
Script: xxx/forum/admincp/install_vbchat.php
Referer: xxx/forum/admincp/install_vbchat.php
Username: Mijae
IP Address: xxx


wattieuk 11-09-2004 11:20 PM

Tried it again and I now get this:
Invalid SQL: alter table vbchat_datastore
add d_smiliedisplay tinyint(2) not null default '1',
add d_smilieamount int(15) not null default '10',
add d_allowbantag tinyint(2) not null default '1',
add d_chatrooms text not null default '',
add d_maxrooms int(15) not null default '5';
mysql error: Duplicate column name 'd_smiliedisplay'

mysql error number: 1060

Zero Tolerance 11-09-2004 11:21 PM

For those that got the error:
Code:

alter table chat_store
add s_forroom int(15) not null default '0';
mysql error: Table 'XXXX.chat_store' doesn't exist

Run this query:
Code:

alter table TABLE_PREFIXvbchat_store
add s_forroom int(15) not null default '0';

(Change TABLE_PREFIX to your settings)

Then continue with the installation steps.

Remind me to test the install next time i release a new version =P

- Zero Tolerance

Mijae 11-09-2004 11:26 PM

Quote:

Originally Posted by Zero Tolerance
For those that got the error:
Code:

alter table chat_store
add s_forroom int(15) not null default '0';
mysql error: Table 'XXXX.chat_store' doesn't exist

Run this query:
Code:

alter table TABLE_PREFIXvbchat_store
add s_forroom int(15) not null default '0';

(Change TABLE_PREFIX to your settings)

Then continue with the installation steps.

Remind me to test the install next time i release a new version =P

- Zero Tolerance

There is another error in the instructions:

Code:

        while ($loggedin = $DB_site->fetch_array($forumusers))
        {
                $userid = $loggedin['userid'];
                if (!$userid)
                {        // Guest
                        $numberguest++;
                        $inforum["$loggedin[inforum]"]++;
                }
                else if (empty($userinfos["$userid"]) OR ($userinfos["$userid"]['lastactivity'] < $loggedin['lastactivity']))
                {
                        $userinfos["$userid"] = $loggedin;
                }

                if(preg_match("/vBChat.php/",$loggedin['location']) && $loggedin['userid']){
                $vbchat_users[$loggedin['userid']] = $loggedin;
                }

        }

I dont have that in index.php :P

wattieuk 11-09-2004 11:27 PM

Ran query as suggested and still get:
Invalid SQL: alter table vbchat_datastore
add d_smiliedisplay tinyint(2) not null default '1',
add d_smilieamount int(15) not null default '10',
add d_allowbantag tinyint(2) not null default '1',
add d_chatrooms text not null default '',
add d_maxrooms int(15) not null default '5';
mysql error: Duplicate column name 'd_smiliedisplay'

Zero Tolerance 11-09-2004 11:29 PM

Quote:

Originally Posted by Mijae
There is another error in the instructions:

Code:

        while ($loggedin = $DB_site->fetch_array($forumusers))
        {
                $userid = $loggedin['userid'];
                if (!$userid)
                {        // Guest
                        $numberguest++;
                        $inforum["$loggedin[inforum]"]++;
                }
                else if (empty($userinfos["$userid"]) OR ($userinfos["$userid"]['lastactivity'] < $loggedin['lastactivity']))
                {
                        $userinfos["$userid"] = $loggedin;
                }

                if(preg_match("/vBChat.php/",$loggedin['location']) && $loggedin['userid']){
                $vbchat_users[$loggedin['userid']] = $loggedin;
                }

        }

I dont have that in index.php :P

Your supposed to add that, just ignore the lines you dont have and continue, while i go smash my head against a wall.

- Zero Tolerance

SVTOA 11-09-2004 11:30 PM

I ran the query now get this:

Invalid SQL: alter table vbchat_datastore
add d_smiliedisplay tinyint(2) not null default '1',
add d_smilieamount int(15) not null default '10',
add d_allowbantag tinyint(2) not null default '1',
add d_chatrooms text not null default '',
add d_maxrooms int(15) not null default '5';
mysql error: Duplicate column name 'd_smiliedisplay'

Zero Tolerance 11-09-2004 11:32 PM

Quote:

Originally Posted by wattieuk
Ran query as suggested and still get:
Invalid SQL: alter table vbchat_datastore
add d_smiliedisplay tinyint(2) not null default '1',
add d_smilieamount int(15) not null default '10',
add d_allowbantag tinyint(2) not null default '1',
add d_chatrooms text not null default '',
add d_maxrooms int(15) not null default '5';
mysql error: Duplicate column name 'd_smiliedisplay'

You were supposed to run the query and continue with steps, not the install file, thats done now.

- Zero Tolerance


All times are GMT. The time now is 01:37 PM.

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.01887 seconds
  • Memory Usage 1,755KB
  • 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
  • (7)bbcode_code_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)pagenav_pagelinkrel
  • (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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete