Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 05-07-2004, 02:07 AM
Curll's Avatar
Curll Curll is offline
 
Join Date: Apr 2003
Posts: 80
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Unable to add cookies, Header Already Sent WON'T go away.

http://www.xblgamers.com/indexnew.php

We're trying to integrate vB3 logins and various bits of info (Latest posts, Latest events) onto that page. But, if you're not logged in, you always get that error. It's a non-vB page, but we're calling global.php.

You can log in with Pretty Lush/qwerty (http://www.xblgamers.com/forums) to see what it looks like when logged in. Here's Line 1 on indexnew.php

PHP Code:
<?php echo "<?xml version=\"1.0\" encoding=\"iso-8859-1\"?".">"?>
There are no spaces. Before or after. And if I remove that, it says error on line 14, which is then <style type="text/css">

It's getting really frustrating
Reply With Quote
  #2  
Old 05-07-2004, 02:12 AM
Zachery's Avatar
Zachery Zachery is offline
 
Join Date: Jul 2002
Location: Ontario, Canada
Posts: 11,440
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Curll
http://www.xblgamers.com/indexnew.php

We're trying to integrate vB3 logins and various bits of info (Latest posts, Latest events) onto that page. But, if you're not logged in, you always get that error. It's a non-vB page, but we're calling global.php.

You can log in with Pretty Lush/qwerty (http://www.xblgamers.com/forums) to see what it looks like when logged in. Here's Line 1 on indexnew.php

PHP Code:
<?php echo "<?xml version=\"1.0\" encoding=\"iso-8859-1\"?".">"?>
There are no spaces. Before or after. And if I remove that, it says error on line 14, which is then <style type="text/css">

It's getting really frustrating
Can you post the contents of the whole file?
Reply With Quote
  #3  
Old 05-07-2004, 02:29 AM
Curll's Avatar
Curll Curll is offline
 
Join Date: Apr 2003
Posts: 80
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

PHP Code:
<?php echo "<?xml version=\"1.0\" encoding=\"iso-8859-1\"?".">"?> 
<?php
$option1 
'Archive ? ';
$option2 'News ? ';
$option3 'Features ? ';
$option4 'Reviews ? ';
$option5 'Preview ? ';
$option6 'Search ';
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 

"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>xblGamers :: Why play with yourself?</title>
<meta http-equiv="Content-Type" content="SEXBOX" />
<style type="text/css">
<!-- 
body
{
    color: #000000;
    font: 10pt verdana, geneva, lucida, 'lucida grande', arial, 

helvetica, sans-serif;
    margin: 0px; 
    padding: 0px;
    background-color: #999999; 
    background-image: url([url]http://www.xblgamers.com/images/bg[/url][].jpg);
    background-repeat: repeat-y;
    background-position: center;
}
body a:link
{
    color: #41627E;
    text-decoration: underline;
}
body a:visited
{
    color: #41627E;
    text-decoration: underline;
}
body a:hover, body a:active
{
    color: #000000;
    text-decoration: underline;
}
#vert { 
width:1px; 
height:500px; 
background-color:#686868; }
#13pxspacer { 
height:13px; 


#topadbar {
    background-color: #999999;
    height: 34px;
    width: 826px;

}
#bottomadbar {
    background-color: #999999;
    height: 34px;
    width: 826px;
}
#middleadbar {
    background-color: #8FAEC1;
    height: 200px;
    width: 826px;
}
#middleadbar2 {
    background-color: #A6BFCE;
    height: 200px;
    width: 826px;
}


#everything
{
    color: #000000;
    font: 10pt verdana, geneva, lucida, 'lucida grande', arial, 

helvetica, sans-serif; 


#header { 
width:846px; 
height:113px; 
background-color:#686868; } 

#middlefiller { 
width:32px; 
height:900px; 


img 
{
border: 0
}

#maincontent { 
background-color:#B7B7B7; } 

#fs-archive { 
background-color:#8B8B8B; } 

#coverstory { 
width:313px; 
height:24px; 
background-color:#B4C6D2; }
#whatsup { 
width:217px; 
height:24px; 
background-color:#A8A8A8; } 
 
#coverstory2 { 
width:13px; 
height:24px; 
background-color:#B7B7B7; }
#coverstory3 { 
width:221px; 
height:24px; 
background-color:#A8A8A8; }
#whatsup3 { 
width:232px; 
height:24px; 
background-color:#B4C6D2; }    
#coverstory4 { 
width:455px; 
height:184px;
vertical-align:center; 
background-color:#8FAEC1; }
#whatsup-content { 
width:455px; 

vertical-align:top; 
background-color:#999999; }   
#coverstory5 { 
width:295px; 
height:184px; 
background-color:#999999;
cellpadding:10px; }
#community-content { 
width:339px; 

vertical-align:top; 
background-color:#8FAEC1; }  

#horiz { 
width:846px; 
height:1px; 
background-color:#686868; } 

#clock { 
background-color:#000000; 
width:65px; 
height:15px; 


#footer-top {

background-color: #B7B7B7;
width: 846px;
height: 25px;
}
#footer-bottom {

background-color: #999999;
width: 846px;
height: 26px;
}
#footer-left{

background-color: #999999;
width: 18px;
height: 31px;
}
#footer-right{

background-color: #999999;
width: 22px;
height: 31px;
}
#footer-middle{

background-color: #999999;
width: 90px;
height: 31px;
}
#footer-bar{
    background-image: url(images/footer-bar[].jpg);
    background-color: #999999;
    height: 31px;
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 12px;
    font-weight: bold;
}
#footer-middle-all{
background-color: #999999;
width: 846px;
height: 31px;
}

#noymargins {
    background-color: #B7B7B7;
    padding-right: 9px;
    padding-left: 9px;
}

.logonBox {
font-size: 10px; font-weight: bold; color: #000000; background-color: 
#B4C6D2; height: 13px; width: 100px
}
.LoginButton {
font-size: 10px; font-weight: bold; color: #000000; background-color: 
#B4C6D2; height: 15px; width: 50px; border: 1px #B4C6D2 solid
}
--> 
</style>
</head>
<body bottommargin="0" leftmargin="0" marginheight="0"   marginwidth="0" 

rightmargin="0" topmargin="0" bgcolor="999999">

<table width="100%" height="100%" cellpadding="0" cellspacing="0" 

align="center">
<tr>
<td align="center">
<table height="100%" cellpadding="0" cellspacing="0" align="center">
    <tr>
        <td></td>
        
        <td id="vert"></td>
        
        <td width="846" valign="top" align="left" 

id="everything">
        
        <?php include "header.php"?>
        
        <?php include "maincontent.php"?>
        
        
        <?php include "footer.php"?>
        
        </td>
        
        <td id="vert"></td>
        
        <td></td>
    </tr>
</table>
</td>
</tr>
</table>

</body>
</html>
Reply With Quote
  #4  
Old 06-05-2004, 02:49 AM
TYorke TYorke is offline
 
Join Date: Dec 2001
Location: Toronto, ON
Posts: 88
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Any fix for this? I am having the same problem with the login on non-vb page
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 02: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.03567 seconds
  • Memory Usage 2,222KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (3)bbcode_php
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (4)post_thanks_box
  • (4)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (4)post_thanks_postbit_info
  • (4)postbit
  • (4)postbit_onlinestatus
  • (4)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete