Tag PHP ignorada pelo servidor
Olá!
Estou com um problema jamais visto antes e nunca pensei que se tornaria um algum dia. Estou desenvolvendo um site, porém no arquivo index.php, ao ser enviado para o servidor da Hostgator, tudo que está em uma tag PHP em diante é ignorado, inclusive tags HTML5. No arquivo, há tags PHP antes dessa e são interpretadas tanto no XAMPP quanto na Hostgator, já a "tag problemática", funciona normal no XAMPP, porém não Hostgator. Segue o código, marquei o trecho ignorado pelo servidor, com uma linha de comentário em HTML5.
index.php
<!DOCTYPE html>
<html lang="pt-br">
<head>
<title>Royal Poker</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<!-- ESTILO CSS DO PROGRAMADOR -->
<link rel="stylesheet" href="_css/estilo_adicional.css">
<!-- DEPENDÊNCIAS DO BOOTSTRAP ONLINE DE ESTILO -->
<!--<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css" integrity="sha384-MCw98/SFnGE8fJT3GXwEOngsV7Zt27NXFoaoApmYm81iuXoPkFOJwJ8ERdknLPMO" crossorigin="anonymous">-->
<!-- DEPENDÊNCIAS OFFLINE -->
<link rel="stylesheet" href="node_modules/bootstrap/compiler/bootstrap.css">
<link rel="stylesheet" href="_css/main.css">
</head>
<body>
<div class="container-fluid fixed-top" style="z-index: 9999;">
<ul id="estados" class="navbar-nav fixed-top justify-content-start flex-row" style="background-color: #b4954f; font-size: 12px;">
<li>
<a href="http://www.h2club.com.br" target="_self" class="navigation-link atual">
SÃO PAULO
</a>
</li>
<li>
|
</li>
<li>
<a href="http://campinas.h2club.com.br" target="_self" class="navigation-link ">
CAMPINAS
</a>
</li>
<li>
|
</li>
<li>
<a href="http://curitiba.h2club.com.br" target="_self" class="navigation-link ">
CURITIBA
</a>
</li>
</ul>
</div>
<?php require_once"_include/menu_top.php";?>
<div class="content-fluid" style="margin-top: 6rem;">
<?php require_once"_include/slide_top.php"; ?>
</div>
<div class="content-fluid text-uppercase text-center" style="margin-top: 6rem;">
<img src="_imagens/logo-rewards-meio.png" class="img-fluid" alt="">
<h2>PROGRAMA DE RECOMPENSAS DO H2 CLUB</h2>
<h4>Acumule pontos enquanto joga Poker e troque por
muitos prêmios e benefícios</h4>
</div>
<div class="flex-column w-100 justify-content-center text-uppercase text-justify">
<?php require_once"_include/opcoes_meio.php"; ?>
</div>
<div class="content-fluid justify-content-center">
<img src="_imagens/banner_meio.jpg" class="img-fluid" alt="">
<!-- TUDO É IGNORADO PELA HOSTGATOR E NÃO NO XAMPP -->
<?php require_once"_include/calendario.php"; ?>
</div>
<?php require_once"_include/calendario.php"; ?>
<?php require_once"_include/footer.php"; ?>
<!-- DEPENDÊNCIAS DO BOOTSTRAP ONLINE NESSA ORDEM E AQUI NO FIM DO BODY -->
<!--<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.3/umd/popper.min.js" integrity="sha384-ZMP7rVo3mIykV+2+9J3UJ46jBk0WLaUAdn689aCwoqbBJiSnjAK/l8WvCWPIPm49" crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/js/bootstrap.min.js" integrity="sha384-ChfqqxuZUCnJSK3+MXmPNIyE6ZbWh2IMqE241rYiqJxyMiZ6OW/JmZQ5stwEULTy" crossorigin="anonymous"></script>-->
<!-- DEPENDÊNCIAS DO BOOTSTRAP OFFLINE NESSA ORDEM E AQUI NO FIM DO BODY -->
<script src="_jquery/jquery-3.3.1.slim.min.js"></script>
<script src="_bootstrap4_1_3/popper.js/dist/umd/popper.min.js"></script>
<script src="_bootstrap4_1_3/_js/bootstrap.min.js"></script>
<script>
$(document).ready(function(){
$('[data-toggle="popover"]').popover();
});
</script>
</body>
</html>Discussão (3)
Carregando comentários...