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)

Mijae 11-08-2004 09:32 PM

Gah, I get this when I submit the vBchat settings:

Warning: Cannot modify header information - headers already sent by (output started at /home/invoid/public_html/forum/includes/adminfunctions.php:223) in /home/invoid/public_html/forum/admincp/admin_vbchat.php on line 126

Line 223 should be somewhere in there:

Code:

        // get the appropriate <title> for the page
        switch(VB_AREA)
        {
                case 'AdminCP': $titlestring = iif($title, "$title - ") . "$vboptions[bbtitle] - vBulletin $vbphrase[admin_control_panel]"; break;
                case 'ModCP': $titlestring = iif($title, "$title - ") . "$vboptions[bbtitle] - vBulletin $vbphrase[moderator_control_panel]"; break;
                case 'Upgrade': $titlestring = iif($title, "vBulletin $title - ") . "$vboptions[bbtitle]"; break;
                case 'Install': $titlestring = iif($title, "vBulletin $title - ") . "$vboptions[bbtitle]"; break;
                default: $titlestring = iif($title, "$title - ") . "$vboptions[bbtitle]";
        }

        // if there is an onload action for <body>, set it up
        $onload = iif($onload != '', " $onload");

        // set up some options for nav-panel and head frames
        if (defined('IS_NAV_PANEL'))
        {
                $htmlattributes = ' class="navbody"';
                $bodyattributes .= ' class="navbody"';
                $headinsert .= '<base target="main">';
        }
        else
        {
                $htmlattributes = '';
        }

No idea what is wrong. I did a clean install on a 3.0.3 of 1.0.1

Thanks for any help.

EDIT: Possible little bug, you can private message yourself. It doesnt do any harm, but I want to let you know anyway.

EDIT2: As a suggestion for next version, could you make it so the chat recognizes who is admin/mod/regular user? To show the different color ranks and stuff?

And as for the chat, impressive work. I most definetly like it.

taffy056 11-09-2004 12:14 AM

Hi,

Install went okay no problems, but when I go to the chat I get a white screen with nothing on it, what have I done wrong?

Regards

taffy

AKINCI 11-09-2004 01:20 AM

Thanks for nice hack.
I get also this error
______________
Warning: Cannot modify header information - headers already sent by (output started at /home/avaralar/public_html/includes/adminfunctions.php:222) in /home/avaralar/public_html/admincp/admin_vbchat.php on line 126
______________
Sorry, does not understand this post .
Quote:

I decided not to go with redirects with this acp control, so i used the header(); function, now default the vb acp does not echo/output any html before the script has executed, so a modification has changed this, you will have to find out what im afraid.
What exactly here do I have to change?
greets

Harley D 11-09-2004 04:47 AM

Quote:

Originally Posted by Sonikku
heh, I just did my own CSS portion on the chat_iframe template. I deleted the $headinclude, and typed in the css coding for text only. Here, gimmie a few and I'll post a txt file.

EDIT: I just copy/pasted my chat_iframe template in a txt file and attached it.

What I did, is I took $headinclude off, and replaced it with my own CSS coding. You can change the link font color, and/or background. Hope it came in handy! ^^

Your addition to this hack made it acceptable to use.
thanks to both the creator and yourself.

RsX 11-09-2004 10:56 AM

Can someone please help me & zorobz? we had a little problem :

In the middle of the installation, i clicked 'Apply Database Modifications' to go next, but then i had a gateway timeout.. As I know this is nothing serious, so i went back and again clicked 'Apply Database Modifications', but then i got SQL Server errors that the table allready exists(mysql error: Table 'vb3_vbchat_store' already exists & mysql error: Table 'vb3_vbchat_datastore' already exists), so i went back and deleted all tables with the words 'VbChat' in them (vb3_vbchat_store & vb3_vbchat_datastore) BUT then when i try again i get a Collumn error ( mysql error: Duplicate column name 'vbchat_pref_font_face' )........ What can i do to fix this? I did not backup the database before i started the installation (sorry)

How can we fix this? :S:S:S

Zero Tolerance 11-09-2004 01:44 PM

Quote:

Originally Posted by RsX
Can someone please help me & zorobz? we had a little problem :

In the middle of the installation, i clicked 'Apply Database Modifications' to go next, but then i had a gateway timeout.. As I know this is nothing serious, so i went back and again clicked 'Apply Database Modifications', but then i got SQL Server errors that the table allready exists(mysql error: Table 'vb3_vbchat_store' already exists & mysql error: Table 'vb3_vbchat_datastore' already exists), so i went back and deleted all tables with the words 'VbChat' in them (vb3_vbchat_store & vb3_vbchat_datastore) BUT then when i try again i get a Collumn error ( mysql error: Duplicate column name 'vbchat_pref_font_face' )........ What can i do to fix this? I did not backup the database before i started the installation (sorry)

How can we fix this? :S:S:S

Then it means the database modifications were successful, by doing that it means the install has finished, comtinue with the file edits and you'll be done with it :)

[quote=AKINCI]Warning: Cannot modify header information - headers already sent by (output started at /home/avaralar/public_html/includes/adminfunctions.php:222) in /home/avaralar/public_html/admincp/admin_vbchat.php on line 126[/code]

Open admincp/admin_vbchat.php

Find:
Code:

// ----------------------------
// Globalize CP Header
// ----------------------------

print_cp_header("vBChat v1.0.1 Control [Created By Zero Tolerance]");

Replace It With:
Code:

// ----------------------------
// Globalize CP Header
// ----------------------------

        if($_POST['do'] == "" && ($_GET['do'] == "" || $_GET['do'] == "prune")) {
        print_cp_header("vBChat v1.0.1 Control [Created By Zero Tolerance]");
        }

Save & Upload admincp/admin_vbchat.php

That should fix the error :)

- Zero Tolerance

RsX 11-09-2004 01:54 PM

ok, but what 2 files do i need to delete? (after i get error i need 2 dl install files)

Mijae 11-09-2004 02:49 PM

[QUOTE=Zero Tolerance]Then it means the database modifications were successful, by doing that it means the install has finished, comtinue with the file edits and you'll be done with it :)

Quote:

Originally Posted by AKINCI
Warning: Cannot modify header information - headers already sent by (output started at /home/avaralar/public_html/includes/adminfunctions.php:222) in /home/avaralar/public_html/admincp/admin_vbchat.php on line 126[/code]

Open admincp/admin_vbchat.php

Find:
Code:

// ----------------------------
// Globalize CP Header
// ----------------------------

print_cp_header("vBChat v1.0.1 Control [Created By Zero Tolerance]");

Replace It With:
Code:

// ----------------------------
// Globalize CP Header
// ----------------------------

        if($_POST['do'] == "" && ($_GET['do'] == "" || $_GET['do'] == "prune")) {
        print_cp_header("vBChat v1.0.1 Control [Created By Zero Tolerance]");
        }

Save & Upload admincp/admin_vbchat.php

That should fix the error :)

- Zero Tolerance

Should it say Settings Saved after you click the Save vBChat Options?

Zero Tolerance 11-09-2004 02:50 PM

Quote:

Originally Posted by Mijae
Should it say Settings Saved after you click the Save vBChat Options?

Nah it just simply reloads =)

- Zero Tolerance

Zero Tolerance 11-09-2004 02:51 PM

Quote:

Originally Posted by RsX
ok, but what 2 files do i need to delete? (after i get error i need 2 dl install files)

Delete the xml file and the install_vbchat.php

- Zero Tolerance


All times are GMT. The time now is 08:39 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.01477 seconds
  • Memory Usage 1,757KB
  • 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
  • (5)bbcode_code_printable
  • (6)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