Warning: session_start() []: Cannot send session cookie - headers already sent by (output started at C:\AppServ\www\index.php:1) in C:\AppServ\www\index.php on line 2
Warning: session_start() []: Cannot send session cache limiter - headers already sent (output started at C:\AppServ\www\index.php:1) in C:\AppServ\www\index.php on line 2
Fatal error: Call to undefined function mssql_pconnect() in C:\AppServ\www\public\config.php on line 2
To com esse problema no web site... e ñ estou conseguindo resolver...
alguem poderia me ajudar?
vo postar o arquivo index
> segui abaixo:
<?php
session_start();
include'public/config.php';
include'public/class/conexao.class.php';
include'public/class/noticia.class.php';
include'public/class/bbcode.class.php';
include'public/class/funcoes.class.php';
include'public/class/url.class.php';
include'public/class/captcha.class.php';
include'public/class/cadastro.class.php';
include'public/class/avisos.class.php';
include'public/class/tempo.class.php';
$sql = new connect();
$code = new code();
$query = new funcoes();
$url = new url();
$time = new tempo();
$time->start();
?>
<?php session_start();
$playeron = mssql_num_rows(mssql_query("select memb___id from memb_stat where connectstat >= 1"));
$Contas=mssql_fetch_row(mssql_query("select count(*) from memb_info"));
$Chars=mssql_fetch_row(mssql_query("select count(*) from character"));
$Jogando=mssql_fetch_row(mssql_query("select count(*) from memb_stat where connectstat>0"));
$Guilds=mssql_fetch_row(mssql_query("select count(*) from guild"));
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<!-- Mirrored from by HTTrack Website Copier/3.x [XR&CO'2010], Tue, 14 Sep 2010 11:59:46 GMT -->
<head>
<script type="text/javascript" src="public/templates/default/scripts/jquery-1.3.1.min.js"></script>
<script type="text/javascript" src="public/templates/default/scripts/jquery.easing.1.3.js"></script>
<script type="text/javascript" src="public/templates/default/scripts/sexyalertbox.v1.2.jquery.js"></script>
<script type="text/javascript" src="public/templates/default/scripts/sexy-tooltips.v1.1.jquery.js"></script>
<script type="text/javascript" src="public/templates/default/scripts/ajaxRequests.js"></script>
<script type="text/javascript" src="public/templates/default/scripts/popup.js"></script>
<script type="text/javascript" src="public/templates/default/scripts/uploads/jquery.fileupload.js"></script>
<script type="text/javascript" src="public/templates/default/scripts/jqFancyTransitions735f.js?u=1"></script>
<script type="text/javascript" src="public/templates/default/scripts/jquery.lightbox-0.5.js"></script>
<script>
function abrefecha(obj){
var el = document.getElementById(obj);
if(el.style.display != "block"){
el.style.display = "block";
}else{
el.style.display = "none";
}
}
</script>
<title><? echo constant("nome"); ?> </title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="Description" content="MuCronos Server" />
<meta name="Keywords" content="MuOnline, Private Servers, Mu, MuOnline, MuServer, WebSite, Server mu, Mu Novo, Mu Antigo, HuGo" />
<meta name="Author" content="HuGo" />
<meta name="Robots" content="index,follow" />
<link href="public/templates/default/images/favicon.ico" rel="shortcut icon" type="image/x-icon">
<link href="public/templates/default/style735f.css?u=1" rel="stylesheet" type="text/css" />
<link rel="stylesheet" type="text/css" media="all" href="public/templates/default/sexyalertbox.css"/>
<link rel="stylesheet" href="public/templates/default/images/sexy-tooltips/blue.css" type="text/css" media="all" id="theme"/>
<link rel="stylesheet" href="public/templates/default/images/sexy-tooltips/dark.css" type="text/css" media="all" id="theme"/>
<link rel="stylesheet" href="public/templates/default/images/chaosmachine/chaosmachine.css" type="text/css" media="all" />
<link rel="stylesheet" href="public/templates/default/scripts/uploads/fileupload.css" type="text/css" media="all" id="theme"/>
<link rel="stylesheet" href="public/templates/default/images/lightbox/jquery.lightbox-0.5.css" type="text/css" media="all" id="theme"/>
<!--[if IE 6]>
<link href="public/templates/default/ie6hack.css" rel="stylesheet" type="text/css" />
<![endif]-->
<script type="text/javascript">
/*$(document).ready(function(){
$('#onlinesDiv').tooltip('text here... accept html...', { hook: true, width: 200, style: 'alert'});
});*/
</script>
<style type="text/css">
<!--
.style1 {
font-family: Arial, Helvetica, sans-serif;
color: #FFFF00;
font-weight: bold;
}
#Layer1 {
position:absolute;
width:200px;
height:115px;
z-index:1;
left: 166px;
top: 499px;
}
-->
</style>
</head>
<body id="page1">
<div id="main">
<!--header -->
<div id="header">
<div class="row1"></div>
<div class="menu">
<ul>
<li class="active"></li>
</ul>
</div>
<div class="submenu">
<ul>
<li><a href="go.php?indo=1">Home</a></li>
<li><a href="go.php?indo=3" target="iframe">Cadastrar</a></li>
<li><a href="go.php?indo=5" target="iframe">Downloads</a></li>
<li><a href="go.php?indo=6" target="iframe">Ranking</a></li>
<li><a href="<? echo constant("forum"); ?>">Forúm</a></li>
<li><a href="<? echo constant("shop"); ?>">Shopping</a></li>
<li><a href="go.php?indo=10" target="iframe">Forma de Deposito </a></li>
</ul>
</div>
</div>
<!--header end-->
<div id="content">
<div class="container2">
<div class="col-1 col-pad padding1">
<div class="box1">
<div class="tail-right">
<div class="corner-right-bottom">
<div class="corner-left-bottom">
<div class="corner-right-top">
<div class="corner-left-top">
<div class="indent">
<ul class="menu2">
<li><a href="go.php?indo=8" target="iframe"><span><span><strong>Ajuda (F.A.Q) </strong></span></span></a></li>
<li><a href="go.php?indo=10" target="iframe"><span><span><strong>Forma de Deposito </strong></span></span></a></li>
<li><a href="go.php?indo=7" target="iframe"><span><span><strong>Informações</strong></span></span></a></li>
<li><a href="go.php?indo=9" target="iframe"><span><span><strong>Equipe</strong></span></span></a></li>
<li><a href="<? echo constant("orkut"); ?>" target="_blank"><span><span><strong>Orkut </strong></span></span></a></li>
<li><a href="<? echo constant("twitter"); ?>" target="_blank"><span><span><strong>FaceBook </strong></span></span></a></li>
</ul>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="box1 margin1">
<div class="tail-right">
<div class="corner-right-bottom">
<div class="corner-left-bottom">
<div class="corner-right-top">
<div class="corner-left-top">
<div class="container">
<div class="indent">
<h3><span><span> Painel do usuário</span></span></h3>
<div class="indent2">
<div id="loginResult"></div>
<strong>
<div><span><span><strong><img src="public/templates/default/images/login.jpg" usemap="#eae" style="border: none;" />
<map name="eae" id="eae">
<area shape="rect" coords="6,90,52,105" href="public/painel/" target="iframe">
<area shape="rect" coords="6,45,162,65" href="public/painel/" target="iframe">
<area shape="rect" coords="4,3,160,23" href="public/painel/" target="iframe">
</map>
</strong></span></span></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="box2 margin1">
<div class="tail-right">
<div class="corner-right-bottom">
<div class="corner-left-bottom">
<div class="corner-right-top">
<div class="corner-left-top">
<div class="indent">
<img src="public/templates/default/images/bannerShopping.gif" usemap="#bannerShop" style="border: none;" />
<map name="bannerShop" id="bannerShop">
<area shape="rect" coords="6,49,165,68" href="public/painel/" target="_blank" alt="" />
<area shape="rect" coords="1,111,218,262" href="<? echo constant("shop"); ?>" target="_blank" alt="" />
<area shape="rect" coords="5,4,169,23" href="public/painel/" target="_blank" alt="" />
</map>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div id="mainSite">
<iframe align="center" frameborder="0" src="pages/home.php" name="iframe" width="73%" height="750"></iframe>
</div>
<div class="clear"></div>
</div>
</div>
<!--footer -->
<div id="footer">
<div class="left-bg">
<div class="container">
<div class="col-1 col-pad" id="onlinesDiv">
Status do Server: <strong style="color: #00FF00;"> ON </strong><br />
Usuários online:<span class="style1"> Indefinido </span></div>
<div class="col-2">
<div class="menu">
<ul>
<li><A href="javascript: alert('## CASO DE BUGS ENTRE NO NOSSO FORÚM E PESSE AJUDA ##')">Tutoriais</a></li>
<li><a href="javascript: alert('## TERMOS: NÃO USE HACKERS! ##')">Termos</a></li>
<li><a href="javascript: alert('## Imagem MU
Introdução ao MU: MU, um jogo online 3D produzido pela Webzen é um MMORPG (Multi Massively Online Role Playing Game) o qual é o primeiro do tipo desenvolvido na Coréia. MU é altamente envolvido na fantasia do RPG e baseado nas lendárias terras de MU. é dada a chance de escolher uma de cinco classes, Darque Lorde (DL),Cavalero Negro (Dark Knight), Elfa (Elf), Feiticeiro Negro (Dark Wizard) e Gladiador Mago (Magic Gladiator), e assim se tornar um audaz aventureiro nas buscas para salvar as terras de MU. O belo cenário feito em um completo e glorioso mundo 3D era desconhecido e dificilmente imaginável, mas com a implementação da tecnologia Open GL Full 3D Engine desenvolvida pela Webzen torna o impossível possível. O MuAway, atualmente pode ser jogado em qualquer computador de qualquer configuração, fazendo o jogo cada vez mais acessível a muito mais jogadores. ##')">MuOnline</a></li>
<li><a href="javascript: alert('## NA SESSÃO DE SCREENSHOTS ##')">Wallpapers</a></li>
<li><a href="javascript: alert('## <? echo constant("email"); ?> ##')">Contato</a><a href="javascript: alert('## ##')"></a></li>
</ul>
</div>
</div>
</div>
</div>
</div>
<div class="webMaster">
<table style="width: 100%">
<tr>
<td style="width: 50%; text-align: left;">"O Senhor te abençoe e te guarde" (Nm 6:24)</td><head><script>
function abrefecha(obj){
var el = document.getElementById(obj);
if(el.style.display != "block"){
el.style.display = "block";
}else{
el.style.display = "none";
}
}
</script></head>
<td style="width: 50%; text-align: right;">Powered by ®</a> | Site programado por ADMCronos </a></div>
</tr>
</table>
</div>
</div>
<!--footer end-->
</div>
<noscript>
<div class="noscript">
<strong>Leia com atenção:</strong><br />
O navegador que você está usando não dá suporte a JavaScript ou talvez esteja desativado.
</div>
</noscript>
</body>
</html>
Warning: session_start() []: Cannot send session cache limiter - headers already sent (output started at C:\AppServ\www\index.php:1) in C:\AppServ\www\index.php on line 2
Fatal error: Call to undefined function mssql_pconnect() in C:\AppServ\www\public\config.php on line 2
To com esse problema no web site... e ñ estou conseguindo resolver...
alguem poderia me ajudar?
vo postar o arquivo index
> segui abaixo:
<?php
session_start();
include'public/config.php';
include'public/class/conexao.class.php';
include'public/class/noticia.class.php';
include'public/class/bbcode.class.php';
include'public/class/funcoes.class.php';
include'public/class/url.class.php';
include'public/class/captcha.class.php';
include'public/class/cadastro.class.php';
include'public/class/avisos.class.php';
include'public/class/tempo.class.php';
$sql = new connect();
$code = new code();
$query = new funcoes();
$url = new url();
$time = new tempo();
$time->start();
?>
<?php session_start();
$playeron = mssql_num_rows(mssql_query("select memb___id from memb_stat where connectstat >= 1"));
$Contas=mssql_fetch_row(mssql_query("select count(*) from memb_info"));
$Chars=mssql_fetch_row(mssql_query("select count(*) from character"));
$Jogando=mssql_fetch_row(mssql_query("select count(*) from memb_stat where connectstat>0"));
$Guilds=mssql_fetch_row(mssql_query("select count(*) from guild"));
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<!-- Mirrored from by HTTrack Website Copier/3.x [XR&CO'2010], Tue, 14 Sep 2010 11:59:46 GMT -->
<head>
<script type="text/javascript" src="public/templates/default/scripts/jquery-1.3.1.min.js"></script>
<script type="text/javascript" src="public/templates/default/scripts/jquery.easing.1.3.js"></script>
<script type="text/javascript" src="public/templates/default/scripts/sexyalertbox.v1.2.jquery.js"></script>
<script type="text/javascript" src="public/templates/default/scripts/sexy-tooltips.v1.1.jquery.js"></script>
<script type="text/javascript" src="public/templates/default/scripts/ajaxRequests.js"></script>
<script type="text/javascript" src="public/templates/default/scripts/popup.js"></script>
<script type="text/javascript" src="public/templates/default/scripts/uploads/jquery.fileupload.js"></script>
<script type="text/javascript" src="public/templates/default/scripts/jqFancyTransitions735f.js?u=1"></script>
<script type="text/javascript" src="public/templates/default/scripts/jquery.lightbox-0.5.js"></script>
<script>
function abrefecha(obj){
var el = document.getElementById(obj);
if(el.style.display != "block"){
el.style.display = "block";
}else{
el.style.display = "none";
}
}
</script>
<title><? echo constant("nome"); ?> </title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="Description" content="MuCronos Server" />
<meta name="Keywords" content="MuOnline, Private Servers, Mu, MuOnline, MuServer, WebSite, Server mu, Mu Novo, Mu Antigo, HuGo" />
<meta name="Author" content="HuGo" />
<meta name="Robots" content="index,follow" />
<link href="public/templates/default/images/favicon.ico" rel="shortcut icon" type="image/x-icon">
<link href="public/templates/default/style735f.css?u=1" rel="stylesheet" type="text/css" />
<link rel="stylesheet" type="text/css" media="all" href="public/templates/default/sexyalertbox.css"/>
<link rel="stylesheet" href="public/templates/default/images/sexy-tooltips/blue.css" type="text/css" media="all" id="theme"/>
<link rel="stylesheet" href="public/templates/default/images/sexy-tooltips/dark.css" type="text/css" media="all" id="theme"/>
<link rel="stylesheet" href="public/templates/default/images/chaosmachine/chaosmachine.css" type="text/css" media="all" />
<link rel="stylesheet" href="public/templates/default/scripts/uploads/fileupload.css" type="text/css" media="all" id="theme"/>
<link rel="stylesheet" href="public/templates/default/images/lightbox/jquery.lightbox-0.5.css" type="text/css" media="all" id="theme"/>
<!--[if IE 6]>
<link href="public/templates/default/ie6hack.css" rel="stylesheet" type="text/css" />
<![endif]-->
<script type="text/javascript">
/*$(document).ready(function(){
$('#onlinesDiv').tooltip('text here... accept html...', { hook: true, width: 200, style: 'alert'});
});*/
</script>
<style type="text/css">
<!--
.style1 {
font-family: Arial, Helvetica, sans-serif;
color: #FFFF00;
font-weight: bold;
}
#Layer1 {
position:absolute;
width:200px;
height:115px;
z-index:1;
left: 166px;
top: 499px;
}
-->
</style>
</head>
<body id="page1">
<div id="main">
<!--header -->
<div id="header">
<div class="row1"></div>
<div class="menu">
<ul>
<li class="active"></li>
</ul>
</div>
<div class="submenu">
<ul>
<li><a href="go.php?indo=1">Home</a></li>
<li><a href="go.php?indo=3" target="iframe">Cadastrar</a></li>
<li><a href="go.php?indo=5" target="iframe">Downloads</a></li>
<li><a href="go.php?indo=6" target="iframe">Ranking</a></li>
<li><a href="<? echo constant("forum"); ?>">Forúm</a></li>
<li><a href="<? echo constant("shop"); ?>">Shopping</a></li>
<li><a href="go.php?indo=10" target="iframe">Forma de Deposito </a></li>
</ul>
</div>
</div>
<!--header end-->
<div id="content">
<div class="container2">
<div class="col-1 col-pad padding1">
<div class="box1">
<div class="tail-right">
<div class="corner-right-bottom">
<div class="corner-left-bottom">
<div class="corner-right-top">
<div class="corner-left-top">
<div class="indent">
<ul class="menu2">
<li><a href="go.php?indo=8" target="iframe"><span><span><strong>Ajuda (F.A.Q) </strong></span></span></a></li>
<li><a href="go.php?indo=10" target="iframe"><span><span><strong>Forma de Deposito </strong></span></span></a></li>
<li><a href="go.php?indo=7" target="iframe"><span><span><strong>Informações</strong></span></span></a></li>
<li><a href="go.php?indo=9" target="iframe"><span><span><strong>Equipe</strong></span></span></a></li>
<li><a href="<? echo constant("orkut"); ?>" target="_blank"><span><span><strong>Orkut </strong></span></span></a></li>
<li><a href="<? echo constant("twitter"); ?>" target="_blank"><span><span><strong>FaceBook </strong></span></span></a></li>
</ul>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="box1 margin1">
<div class="tail-right">
<div class="corner-right-bottom">
<div class="corner-left-bottom">
<div class="corner-right-top">
<div class="corner-left-top">
<div class="container">
<div class="indent">
<h3><span><span> Painel do usuário</span></span></h3>
<div class="indent2">
<div id="loginResult"></div>
<strong>
<div><span><span><strong><img src="public/templates/default/images/login.jpg" usemap="#eae" style="border: none;" />
<map name="eae" id="eae">
<area shape="rect" coords="6,90,52,105" href="public/painel/" target="iframe">
<area shape="rect" coords="6,45,162,65" href="public/painel/" target="iframe">
<area shape="rect" coords="4,3,160,23" href="public/painel/" target="iframe">
</map>
</strong></span></span></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="box2 margin1">
<div class="tail-right">
<div class="corner-right-bottom">
<div class="corner-left-bottom">
<div class="corner-right-top">
<div class="corner-left-top">
<div class="indent">
<img src="public/templates/default/images/bannerShopping.gif" usemap="#bannerShop" style="border: none;" />
<map name="bannerShop" id="bannerShop">
<area shape="rect" coords="6,49,165,68" href="public/painel/" target="_blank" alt="" />
<area shape="rect" coords="1,111,218,262" href="<? echo constant("shop"); ?>" target="_blank" alt="" />
<area shape="rect" coords="5,4,169,23" href="public/painel/" target="_blank" alt="" />
</map>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div id="mainSite">
<iframe align="center" frameborder="0" src="pages/home.php" name="iframe" width="73%" height="750"></iframe>
</div>
<div class="clear"></div>
</div>
</div>
<!--footer -->
<div id="footer">
<div class="left-bg">
<div class="container">
<div class="col-1 col-pad" id="onlinesDiv">
Status do Server: <strong style="color: #00FF00;"> ON </strong><br />
Usuários online:<span class="style1"> Indefinido </span></div>
<div class="col-2">
<div class="menu">
<ul>
<li><A href="javascript: alert('## CASO DE BUGS ENTRE NO NOSSO FORÚM E PESSE AJUDA ##')">Tutoriais</a></li>
<li><a href="javascript: alert('## TERMOS: NÃO USE HACKERS! ##')">Termos</a></li>
<li><a href="javascript: alert('## Imagem MU
Introdução ao MU: MU, um jogo online 3D produzido pela Webzen é um MMORPG (Multi Massively Online Role Playing Game) o qual é o primeiro do tipo desenvolvido na Coréia. MU é altamente envolvido na fantasia do RPG e baseado nas lendárias terras de MU. é dada a chance de escolher uma de cinco classes, Darque Lorde (DL),Cavalero Negro (Dark Knight), Elfa (Elf), Feiticeiro Negro (Dark Wizard) e Gladiador Mago (Magic Gladiator), e assim se tornar um audaz aventureiro nas buscas para salvar as terras de MU. O belo cenário feito em um completo e glorioso mundo 3D era desconhecido e dificilmente imaginável, mas com a implementação da tecnologia Open GL Full 3D Engine desenvolvida pela Webzen torna o impossível possível. O MuAway, atualmente pode ser jogado em qualquer computador de qualquer configuração, fazendo o jogo cada vez mais acessível a muito mais jogadores. ##')">MuOnline</a></li>
<li><a href="javascript: alert('## NA SESSÃO DE SCREENSHOTS ##')">Wallpapers</a></li>
<li><a href="javascript: alert('## <? echo constant("email"); ?> ##')">Contato</a><a href="javascript: alert('## ##')"></a></li>
</ul>
</div>
</div>
</div>
</div>
</div>
<div class="webMaster">
<table style="width: 100%">
<tr>
<td style="width: 50%; text-align: left;">"O Senhor te abençoe e te guarde" (Nm 6:24)</td><head><script>
function abrefecha(obj){
var el = document.getElementById(obj);
if(el.style.display != "block"){
el.style.display = "block";
}else{
el.style.display = "none";
}
}
</script></head>
<td style="width: 50%; text-align: right;">Powered by ®</a> | Site programado por ADMCronos </a></div>
</tr>
</table>
</div>
</div>
<!--footer end-->
</div>
<noscript>
<div class="noscript">
<strong>Leia com atenção:</strong><br />
O navegador que você está usando não dá suporte a JavaScript ou talvez esteja desativado.
</div>
</noscript>
</body>
</html>