vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Unable to add cookies, Header Already Sent WON'T go away. (https://vborg.vbsupport.ru/showthread.php?t=64827)

Curll 05-07-2004 02:07 AM

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 :(

Zachery 05-07-2004 02:12 AM

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?

Curll 05-07-2004 02:29 AM

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>


TYorke 06-05-2004 02:49 AM

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


All times are GMT. The time now is 02:11 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.01003 seconds
  • Memory Usage 1,759KB
  • 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
  • (3)bbcode_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)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