vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   vB Chatbox 1.2.4 (https://vborg.vbsupport.ru/showthread.php?t=42725)

Erwin 09-26-2002 05:57 PM

Btw, it's 5 am here in Melbourne, Australia. :) I need to go and sleep. I have really no idea why the installer cannot find the file, if you have uploaded all the files. Make sure that the shoutbox_config.php is chmod to 777. I have to go now. :) good luck!

havefun 09-26-2002 05:59 PM

thanks!

i will give it a try!
good night! nice dreams...

edit:
i've reinstalled all, deleted the files in mysql
& started again..

don't know why it hasn't worked the first time...

it works now!!! :banana:

Anitah 09-27-2002 05:32 AM

Erwin, this is a great hack, thank you. I installed this in a test database and it all went well. Only had to change the chmod to 777 in the shoutbox_config file and all went without a hitch.

The trouble is that I can't seem to get this to work in my regular database. I've installed and uninstalled three times and I am repeatedly coming up with this error message (yes, I deleted the shoutbox files in the database before I reinstalled, yes, I've tried it with the new templates installer, it just gave me more errors...

the error for the original install is as follows:

Database error in vBulletin Control Panel 2.2.6:

Invalid SQL: CREATE TABLE `shoutbox` (`id` INT(11) NOT NULL AUTO_INCREMENT, `name` VARCHAR(255) NOT NULL default '', `comment` TEXT NOT NULL, `date` VARCHAR(30) NOT NULL default '', PRIMARY KEY (`id`))
mysql error: Table 'shoutbox' already exists

mysql error number: 1050

Date: Friday 27th of September 2002 02:11:05 AM
Script: http://www.mydomain.com/forum/forum/...ll.php?etape=1
Referer: http://www.mydomain.com/forum/admin/...ox_install.php

Is it saying the shoutbox already exists because it somehow connects to the test database? (again, I've repeatedly deleted the forum "home" database and started fresh).

And why does the script show double "forum/forum" ?

Sorry if this doesn't make sense, but I'm confused.


:ermm:

havefun 09-27-2002 10:45 AM

first of all:

i really like this hack!!!
works 4 me fine on 227 :banana:

had some probs so this could help u out!!!

havefun

Anitah 09-27-2002 11:05 PM

Thank you, but that didn't solve the problem I'm having in the database.

WHen I run a query, as you said, it returns this error:

Error

SQL-query :

ALTER TABLE user
ADD shoutbox TINYINT DEFAULT 1 not null

MySQL said:

Duplicate column name 'shoutbox'

What seems to be happening is this: if you start the install clean it works, but if for some reason you interrupt the process, delete the templates from your database and start again, it tells you "shoutbox" already exists. I don't see it anywhere, and I don't know what needs to be deleted or where, in order to start with a clean slate.

Anybody?

Erwin 09-28-2002 12:37 AM

I suspect all of you are moving from TWT's shoutbox. You need to delete the old table shoutbox and the column shoutbox in the user table using PHPMYADMIN. Then reinstall the database. Each time it says - "duplicate table or column".

Also, you cannot run the installer again and again - it will keep trying to put in the db tables and columns, which it can only do once. To skip to just the templates, use the template installer above.

Anitah 09-28-2002 06:15 AM

Erwin, that's exactly what I did - I removed shoutbox and the shoutbox column in PHPMYADMIN. Reinstalled again, got the same 1060 error.

Then using the shoutbox_installer_templates you gave, I get another error:

') mysql error: You have an error in your SQL syntax near ''shoutbox','

I'm completely stumped.

Anitah 09-28-2002 06:27 AM

I forgot to mention, above the mysql 1060 error message there is also this:

Warning: chmod failed: Operation not permitted in /home/channelv/mydomain/forum/admin/shoutbox_install.php on line 62

havefun 09-28-2002 05:14 PM

Quote:

Originally posted by Anitah
WHen I run a query, as you said, it returns this error:

Error

SQL-query :

ALTER TABLE user
ADD shoutbox TINYINT DEFAULT 1 not null

MySQL said:


Duplicate column name 'shoutbox'


What seems to be happening is this: if you start the install clean it works, but if for some reason you interrupt the process, delete the templates from your database and start again, it tells you "shoutbox" already exists. I don't see it anywhere, and I don't know what needs to be deleted or where, in order to start with a clean slate.

Anybody?

go to PHPMYADMIN on your database:

delete these 3 tables-->

shoutbox
shoutbox_ban
shoutbox_swears

and go to the table "user"
and delete the field shoutbox ...

perhaps you've forgotten to delete "shoutbox" in the table user
that could was the reason for getting the error massage on this
sql-query: ALTER TABLE user
ADD shoutbox TINYINT DEFAULT 1 not null
because it was already there...

Quote:

I forgot to mention, above the mysql 1060 error message there is also this:

Warning: chmod failed: Operation not permitted in /home/channelv/mydomain/forum/admin/shoutbox_install.php on line 62
had the same, just chmod it to 777 with your upload manager...

hope this helps!

Erwin 09-28-2002 09:29 PM

That's what I told him, havefun. :)


All times are GMT. The time now is 05:05 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.01307 seconds
  • Memory Usage 1,746KB
  • 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
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)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