Index não aparece

+3
MtsCRVG
Bet4
Hitman™
7 participantes

Hitman™ Hitman™  • 26.01.14 1:13

Index não aparece Empty Index não aparece 26.01.14 1:13

Print de meu erro: https://imgur.com/O1EtCgS

Qual é meu erro: Index não aparece

CMS Que estou utilizando: Qual CMS está utilizando

SWF que estou utilizando: Qual SWF está utilizando

Versão de meu hotel: NewCrypto

Se escolheu outros, especifique: Texto aqui

Comentários adicionais: Eu estava até pouco tempo, entrando normal, ela carregava perfeitamente, só que do nada eu fui fazer uma edição nela, e ela bugou, e agora as imagens não aparece
Coloquei tudo denovo coloquei a db novamente e nada
Continua a mesma coisa

Bet4 Bet4  • 26.01.14 1:19

Index não aparece Empty Re: Index não aparece 26.01.14 1:19

Você deve ter configurado, algo errado, no caso ela não encontra as imagens, se você não manja de programação,
recomendo reinstalar a client, ou se prefirir a CMS!

Hitman™ Hitman™  • 26.01.14 1:27

Index não aparece Empty Re: Index não aparece 26.01.14 1:27

Olá.
Se você não sabe ler
"Coloquei tudo denovo coloquei a db novamente e nada
Continua a mesma coisa"
No caso, eu já reinstalei a cms, E Continua na mesma.

MtsCRVG MtsCRVG  • 26.01.14 3:30

Index não aparece Empty Re: Index não aparece 26.01.14 3:30

Coloque a index antiga e vê se o erro continua. Vá na sua db> cms_settings e vê se o IP/site do seu hotel está lá.

The Flash The Flash  • 26.01.14 5:30

Index não aparece Empty Re: Index não aparece 26.01.14 5:30

Isso é problema na cms_settings de sua DB.

Dino Dino  • 26.01.14 11:28

Index não aparece Empty Re: Index não aparece 26.01.14 11:28

Olá,

Vejá se sua cms_settings de sua DB, Está configurada corretament, ou a data_classes > server-data.php_data_classes-config.php ......


Até.

Hitman™ Hitman™  • 26.01.14 14:03

Index não aparece Empty Re: Index não aparece 26.01.14 14:03

Claro, que está.
Não estou conseguindo entender por esse motivo
Está tudo certo, já reinstalei a cms toda e continua na mesma!

Whiskey Whiskey  • 26.01.14 14:54

Index não aparece Empty Re: Index não aparece 26.01.14 14:54

Se estiver com Skype aberto Fecha.
Renicia o Apache.

Example Example  • 26.01.14 15:06

Index não aparece Empty Re: Index não aparece 26.01.14 15:06

Olá

Li o tópico eu acho que é bug de codificação se puder colocar a index.php aqui irei tentar arrumar.

utilize [code] [/code*] sem *


Atenciosamente
Example

Hitman™ Hitman™  • 26.01.14 16:05

Index não aparece Empty Re: Index não aparece 26.01.14 16:05

Aqui está Example!
Código:
<?php
#############################################################################
#|-| |-| Index desenvolvida por Daniel Tenorio e por Matheus Silva   |-| |-|#
#|-| |-| Index desenvolvida por Daniel Tenorio e por Matheus Silva   |-| |-|#
#|-| |-| Index desenvolvida por Daniel Tenorio e por Matheus Silva   |-| |-|#
# ------------------------------------------------------------------------- #
#|-| |-| Index desenvolvida por Daniel Tenorio e por Matheus Silva   |-| |-|#
#|-| |-| Index desenvolvida por Daniel Tenorio e por Matheus Silva   |-| |-|#
#|-| |-| Index desenvolvida por Daniel Tenorio e por Matheus Silva   |-| |-|#
#############################################################################

require_once('./data_classes/server-data.php_data_classes-core.php.php');

session_start();

if(isset($_GET['registerCancel']) && FilterText($_GET['registerCancel'] == "true")){
session_unset();
}

if(!session_is_registered(username)){

    if(isset($_POST['username']) && isset($_POST['password'])){
    $username = FilterText($_POST['username']);
    $password = HoloHash($_POST['password'], $username);
    $password2 = HoloHashMD5($_POST['password'], $username);

        if(empty($username) || empty($_POST['password'])){
            $login_error = "Usuário ou senha incorretos!";
        } else {
            $sql = mysql_query("SELECT id FROM users WHERE username = '".$username."' AND password = '".$password."' OR username = '".$username."' AND password = '".$password2."' LIMIT 1") or die(mysql_error());
            if(mysql_num_rows($sql) < 1){
                $login_error = "Usuário ou senha incorretos!";
            } else {
                $userdata = mysql_fetch_assoc($sql);
                $userid = $userdata['id'];
                $ban = mysql_query("SELECT * FROM bans WHERE value = '".$username."' AND bantype = 'user' or value = '".$remote_ip."' AND bantype = 'ip' LIMIT 1") or die(mysql_error());
                if(mysql_num_rows($ban) < 1){

                    mysql_query("UPDATE users SET password = '".$password2."', ip_last = '".$remote_ip."' WHERE username = '".$username."'");

                    $_SESSION['username'] = $username;
                    $_SESSION['password'] = $password2;
                        if ($_POST['_login_remember_me'] == "true"){
                            setcookie("remember", "remember", time()+60*60*24*100, "/");
                            setcookie("rusername", $_SESSION['username'], time()+60*60*24*100, "/");
                            setcookie("rpassword", $_SESSION['password'], time()+60*60*24*100, "/");
                        }
                    header("location: $path/me"); exit;
                } else {
                    $bandata = mysql_fetch_assoc($ban);
                    $timestamp = time();
                    if($bandata['expire'] > $timestamp){
                        $login_error = "Você foi banido por: \"" . $bandata['reason'] . "\" e acaba em: " . date('d.m.Y - H:i:s', $bandata['expire']) . ".";
                    } else {
                        mysql_query("DELETE FROM bans WHERE value = '".$username."' AND bantype = 'user' OR value = '".$remote_ip."' AND bantype = 'ip' LIMIT 1") or die(mysql_error());
                        mysql_query("UPDATE users SET password = '".$password2."', ip_last = '".$remote_ip."' WHERE username = '".$username."'");

                    $_SESSION['username'] = $username;
                    $_SESSION['password'] = $password2;
                            if ($_POST['_login_remember_me'] == "true"){
                                setcookie("remember", "remember", time()+60*60*24*100, "/");
                                setcookie("rusername", $_SESSION['username'], time()+60*60*24*100, "/");
                                setcookie("rpassword", $_SESSION['password'], time()+60*60*24*100, "/");
                            }
                        header("location: $path/me"); exit;
                    }
                }
            }
        }
    }



$body_id = "index";


?>


<!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>
   

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />

<title><?php echo $shortname; ?> -  </title>

<script type="text/javascript">
var andSoItBegins = (new Date()).getTime();
</script>



<link rel="stylesheet" href="/css/style.css" type="text/css" />


<div id="overlay"></div>


<div id="header-container">
    <div id="header" class="clearfix">
        <h1><a href="index"></a></h1>

<a href="<?php echo $path;?>/me">
            <div class="logo">
            </div>
        </a>
            
<ul>

</ul>



<p>
<p>

        </div>
</div>


        

</head>
<body>
    <center>
        <div id="container-border">
            <div id="container">
                <div id="logo-container">
                    <a class="logo" style="width: 123px;height: 80px;margin: 5px;float: left;"></a>
                    <div class="count">
                        

                    </div>
                </div>
                <div class="content_box" style="float:right;margin-right:20px;">
                    <div class="content_padding smaller">
                        
<div id="contentTitle" class="blue">Faça seu Login </div>

                        <div class="content_padding">
                                                        <form action="" method="post" autocomplete="off">
                                <div class="input_div">
                                    <label>Nome de usuário</label><br>
                                    <input type="text" class="input_form" name="username" value="">
                                </div>
                                <div class="input_div" style="position:relative;">
                                    <label>Senha</label><br>
                                    <input type="password" class="input_form" name="password" value="">
                                    <input type="submit" class="button black index" name="iLogin" value="Entrar">
                                </div>
<?php

                } else {
                header("location:me.php");
                }

                ?>

                            </form>
                            <div class="input_div">
                                <center>
                                                                        <b>Cadastre-se</b> e junte-se aos <b><?php echo $online_count; ?></b> usuários online!
                                </center>
                            </div>
                                <a href="../quickregister/start" style="text-decoration:none;">
                                    <div class="content_title green index">Crie uma conta! Gratuitamente;</div>
                                </a>
                            </div>
                        </div>
                    </div>
                </div>
            </div>

<p>
<div style="text-shadow:0 1px 1px #CCC;font-size:16px;font-family:Arial, Helvetica, sans-serif;margin-top:15px;font-size:11px;text-align:center;"><p class="copyright">© <?php echo $shortname; ?>  2013 - 2014 Todos os direitos reservados.  Este site não possui fins comerciais oy. <br> <b>mani0nsCMS</b> v2 Criada e Programa por: <b>nadi0s</b> e <b>Houshed</b>. <br></a></p></div>

        </center>
    </body>
</html>


 

Example Example  • 26.01.14 16:11

Index não aparece Empty Re: Index não aparece 26.01.14 16:11

Olá

Tente assim:
Código:
<?php
#############################################################################
#|-| |-| Index desenvolvida por Daniel Tenorio e por Matheus Silva  |-| |-|#
#|-| |-| Index desenvolvida por Daniel Tenorio e por Matheus Silva  |-| |-|#
#|-| |-| Index desenvolvida por Daniel Tenorio e por Matheus Silva  |-| |-|#
# ------------------------------------------------------------------------- #
#|-| |-| www.power-pixel.net                                        |-| |-|#
#############################################################################

require_once('./data_classes/server-data.php_data_classes-core.php.php');

session_start();

if(isset($_GET['registerCancel']) && FilterText($_GET['registerCancel'] == "true")){
session_unset();
}

if(!session_is_registered(username)){

    if(isset($_POST['username']) && isset($_POST['password'])){
    $username = FilterText($_POST['username']);
    $password = HoloHash($_POST['password'], $username);
    $password2 = HoloHashMD5($_POST['password'], $username);

        if(empty($username) || empty($_POST['password'])){
            $login_error = "Usuário ou senha incorretos!";
        } else {
            $sql = mysql_query("SELECT id FROM users WHERE username = '".$username."' AND password = '".$password."' OR username = '".$username."' AND password = '".$password2."' LIMIT 1") or die(mysql_error());
            if(mysql_num_rows($sql) < 1){
                $login_error = "Usuário ou senha incorretos!";
            } else {
                $userdata = mysql_fetch_assoc($sql);
                $userid = $userdata['id'];
                $ban = mysql_query("SELECT * FROM bans WHERE value = '".$username."' AND bantype = 'user' or value = '".$remote_ip."' AND bantype = 'ip' LIMIT 1") or die(mysql_error());
                if(mysql_num_rows($ban) < 1){

                    mysql_query("UPDATE users SET password = '".$password2."', ip_last = '".$remote_ip."' WHERE username = '".$username."'");

                    $_SESSION['username'] = $username;
                    $_SESSION['password'] = $password2;
                        if ($_POST['_login_remember_me'] == "true"){
                            setcookie("remember", "remember", time()+60*60*24*100, "/");
                            setcookie("rusername", $_SESSION['username'], time()+60*60*24*100, "/");
                            setcookie("rpassword", $_SESSION['password'], time()+60*60*24*100, "/");
                        }
                    header("location: $path/me"); exit;
                } else {
                    $bandata = mysql_fetch_assoc($ban);
                    $timestamp = time();
                    if($bandata['expire'] > $timestamp){
                        $login_error = "Você foi banido por: \"" . $bandata['reason'] . "\" e acaba em: " . date('d.m.Y - H:i:s', $bandata['expire']) . ".";
                    } else {
                        mysql_query("DELETE FROM bans WHERE value = '".$username."' AND bantype = 'user' OR value = '".$remote_ip."' AND bantype = 'ip' LIMIT 1") or die(mysql_error());
                        mysql_query("UPDATE users SET password = '".$password2."', ip_last = '".$remote_ip."' WHERE username = '".$username."'");

                    $_SESSION['username'] = $username;
                    $_SESSION['password'] = $password2;
                            if ($_POST['_login_remember_me'] == "true"){
                                setcookie("remember", "remember", time()+60*60*24*100, "/");
                                setcookie("rusername", $_SESSION['username'], time()+60*60*24*100, "/");
                                setcookie("rpassword", $_SESSION['password'], time()+60*60*24*100, "/");
                            }
                        header("location: $path/me"); exit;
                    }
                }
            }
        }
    }



$body_id = "index";


?>


<!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>
   

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />

<title><?php echo $shortname; ?> -  </title>

<script type="text/javascript">
var andSoItBegins = (new Date()).getTime();
</script>



<link rel="stylesheet" href="css/style.css" type="text/css" />


<div id="overlay"></div>


<div id="header-container">
    <div id="header" class="clearfix">
        <h1><a href="index"></a></h1>

<a href="<?php echo $path;?>/me">
            <div class="logo">
            </div>
        </a>
           
<ul>

</ul>



<p>
<p>

        </div>
</div>


       

</head>
<body>
    <center>
        <div id="container-border">
            <div id="container">
                <div id="logo-container">
                    <a class="logo" style="width: 123px;height: 80px;margin: 5px;float: left;"></a>
                    <div class="count">
                       

                    </div>
                </div>
                <div class="content_box" style="float:right;margin-right:20px;">
                    <div class="content_padding smaller">
                       
<div id="contentTitle" class="blue">Faça seu Login </div>

                        <div class="content_padding">
                                                        <form action="" method="post" autocomplete="off">
                                <div class="input_div">
                                    <label>Nome de usuário</label><br>
                                    <input type="text" class="input_form" name="username" value="">
                                </div>
                                <div class="input_div" style="position:relative;">
                                    <label>Senha</label><br>
                                    <input type="password" class="input_form" name="password" value="">
                                    <input type="submit" class="button black index" name="iLogin" value="Entrar">
                                </div>
<?php

                } else {
                header("location:me.php");
                }

                ?>

                            </form>
                            <div class="input_div">
                                <center>
                                                                        <b>Cadastre-se</b> e junte-se aos <b><?php echo $online_count; ?></b> usuários online!
                                </center>
                            </div>
                                <a href="../quickregister/start" style="text-decoration:none;">
                                    <div class="content_title green index">Crie uma conta! Gratuitamente;</div>
                                </a>
                            </div>
                        </div>
                    </div>
                </div>
            </div>

<p>
<div style="text-shadow:0 1px 1px #CCC;font-size:16px;font-family:Arial, Helvetica, sans-serif;margin-top:15px;font-size:11px;text-align:center;"><p class="copyright">© <?php echo $shortname; ?>  2013 - 2014 Todos os direitos reservados.  Este site não possui fins comerciais oy. <br> <b>mani0nsCMS</b> v2 Criada e Programa por: <b>nadi0s</b> e <b>Houshed</b>. <br></a></p></div>

        </center>
    </body>
</html>

copie manualmente sem usar o copiar do fórum.

Atenciosamente
Example

Hitman™ Hitman™  • 26.01.14 16:21

Index não aparece Empty Re: Index não aparece 26.01.14 16:21

Infelizmente, não deu certo! ;s

The Flash The Flash  • 27.01.14 4:53

Index não aparece Empty Re: Index não aparece 27.01.14 4:53

Olá.
Veja se sua cms possui a seguinte pasta e arquivo: /css/style.css

Se não possuir, crie a respectiva pasta e arquino.
E dentro do aquivo ponha isso:
Código:

@charset "utf-8";
/*
|==========================|
| Développé par BeatScript |
|==========================|
*/
body
{
background: url('../img/bg.png') repeat-x top center #2979A5;
font-family: 'Ubuntu', sans-serif;
font-size: 15px;
color: #111;
}

#page
{
min-height: 20px;
margin-top: 80px;
}

.top_geral {
margin-bottom:20px;
width:410px;
display:inline-block;
}

#logo
{
background: url('../img/logo.png');
width: 104px;
height: 39px;
float:left;
margin-right:10px;
}

.msg {
background:url(../img/msg.png);
width: 296px;
height: 36px;
line-height:36px;
float:left;
}

#marqueetext
{
color: #FFF;
font-family: "Tahoma";
font-weight: bold;
font-size: 13px;
left: 500px;
height: 36px;
width: 280px;
}

#chat
{
width: 570px;
margin: auto;
}

/*
#chat #text1
{
background: url('../img/chat/text1.png');
width: 433px;
height: 26px;
position: absolute;
display: none;
top: -30px;
boder:: 6;
}

#chat #text2
{
background: url('../img/chat/text2.png');
width: 213px;
height: 26px;
position: absolute;
display: none;
top: -30px;
boder:: 6;
}
*/

#twitter { margin: auto; width: 300px }
#twitter1 { height: 200px; }

#text1
{
position: absolute;
top: -30px;
boder:: 6;
}

#text2
{
position: absolute;
top: -30px;
boder:: 6;
}

.bulle {
height:24px;
width:auto;
font-size:13px;
color:#111!important;
}

.bulle img {
margin-top:0px!important;
margin-left:2px;
margin-right:8px;
float:left;
}

.bulle p {
float:left;
margin-top:3px;
padding:0;
margin-right:5px;
}

.bulle div {
background:url('../img/chat/1.png') no-repeat;
height:24px;
width:auto;
float:left;
}

.bulle i {
background:url('../img/chat/3.png') no-repeat;
width:10px;
height:24px;
float:left;
}

#chat #habbo
{
background: url('../img/maria.png');
width: 40px;
height: 100px;
position: absolute;
top: -30px;
margin-left: 70px;
boder:: 5;
}

#form
{
display: none;
boder:: 10;
position: relative;
}

#form #bg
{
background: url('../img/form/form.png');
width: 623px;
height: 76px;
margin: auto;
margin-top: 15px;
font-weight: bold;
font-size: 14px;
color: #444;
}

#form #bg #username
{
width: 186px;
float: left;
margin-left: 18px;
margin-top: 11px;
}

#form #bg #password
{
width: 196px;
float: left;
margin-left: 8px;
margin-top: 11px;
}

#form #bg #submit
{
width: 186px;
float: left;
margin-left: 0px;
margin-top: 16px;
}

.tbox_style {
background: url("../img/form/text.png") no-repeat transparent;
border: 0px;
font-family: 'Ubuntu', sans-serif;
padding-left: 4px;
padding-right: 3px;
width: 179px;
height: 24px;
margin-bottom: 4px;
font-size: 13px;
text-align: left;
color: #333;
margin-top: 5px;
}

.bouton {
background: url("../img/form/bouton.png") no-repeat transparent;
font-family: 'Ubuntu', sans-serif;
border: 0px;
width: 196px;
height: 44px;
font-size: 15px;
color: #FFF;
text-shadow: 0px 2px #444;
cursor: pointer;
}

.bouton:hover {
background-position: 0px -44px;
}

#inscription
{
width: 622px;
height: 216px;
margin: auto;
}

#inscription #image
{
background: url('../img/inscription/image.png');
width: 260px;
height: 165px;
float: left;
margin-left: 30px;
margin-top: 20px;
boder:: 4;
position: relative;
display: none;
}

#inscription #bouton
{
background: url('../img/inscription/bouton_register.png');
width: 226px;
height: 114px;
float: right;
margin-right: 30px;
margin-top: 50px;
cursor: pointer;
display: none;
text-align: center;
text-shadow: 0px 2px #444;
color: #FFF;
}

#inscription #bouton:hover
{
background-position: 0px -114px;
}

#inscription #bouton #bouton_titre
{
font-size: 20px;
font-weight: bold;
padding: 20px;
}

#inscription #bouton #bouton_soustitre
{
font-size: 15px;
padding: 5px;
}

.credits, .credits a {
  text-align:center;
  margin-top:18px;
  color: #FFF;
  font-family: tahoma;
  font-size: 11px;
  padding: 4px 10px 2px 10px;
  text-shadow: #333 1px 1px;
}

Example Example  • 05.02.14 5:32

Index não aparece Empty Re: Index não aparece 05.02.14 5:32

MODERAÇÃO

Finalizado.



@Fechado.
@Movido.

Conteúdo patrocinado  • 

Index não aparece Empty Re: Index não aparece

Permissões neste sub-fórum
Não podes responder a tópicos

BH Servers

Recomendamos a BH Servers com proteção DDOS gratuita em Cloud Server de alta performance. Entrega imediata.