Nowa podstrona - ERR_CONTENT_DECODING_FAILED

Założony przez  Qwizi.

Witam, robie taki prosty panel gracza, i wszystko dobrze działa na localhost ale jak już przenoszę na moje forum to jak się zaloguje przez steam wywala błąd ERR_CONTENT_DECODING_FAILED.

panel.php
<?php
define
("IN_MYBB"1);
define("THIS_SCRIPT""panel.php");

require_once 
"./global.php";
require 
"steamauth/dbconnect.php";
require 
"steamauth/steamauth.php";
require 
"steamauth/functions.php";

add_breadcrumb("Panel Gracza""panel.php");

if(
$mybb->user['uid'] == || $mybb->usergroup['canusercp'] == 0)
{
 
  error_no_permission();
}

if(!isset(
$_SESSION['steamid']))
{
 
  $content "
   <table border=\"0\" cellspacing=\"1\" cellpadding=\"4\" align=\"center\" class=\"tborder\">
 <tr>
 <td class=\"tcat\">Panel gracza - połącz konto</td>
 </tr>
   <tr>
   <td class=\"trow\"><h1><center>Zaloguj się poprzez konto <a href=\"?login\">steam</a></h1></center></td>
   </tr>
</table>"
;
 
  eval("\$page = \"".$templates->get("panel_index_login")."\";");
}
else
{
 
  include ('steamauth/userInfo.php');
 
  $steam32 get_steamid_community($steamprofile['steamid']);
 
  $content "
   <table border=\"0\" cellspacing=\"1\" cellpadding=\"4\" align=\"center\" class=\"tborder\">
   <tr>
   <td class=\"tcat\">Panel gracza - wybierz serwer</td>
   </tr>
      <tr>
         <td>
            <center>
               <div class=\"player-block\">
               <img src=\""
.$steamprofile['avatarfull']."\"/><br/>
               <h2>
{$steamprofile['personaname']}</h2>
               <b>STEAM ID 32:</b><br/>
               
{$steam32} <br/>
               <b>STEAM ID 64:</b><br/>
               
{$steamprofile['steamid']}<br/></br/>
               <form action=\"\" method=\"get\"><button name=\"logout\" type=\"submit\">Wyloguj</button></form>
               </div>
            </center>
         </td>
      </tr>
      <tr>
         <td>
            <center>
            <h1><b>Wybierz serwer</b></h1>
               <div class=\"server-block\">
               <h2><a href=\"panel.php?serwer=jailbreak\">JailBreak</a></h2>
               </div>
               <div class=\"server-block\">
               <h2><a href=\"\">DeathRun</a></h2>
               </div>
            </center>
         </td>
      </tr>
</table>"
;

 
  eval("\$page = \"".$templates->get("panel_index")."\";");

 
  if($_GET['serwer'] == "jailbreak")
 
  {
 
     add_breadcrumb("Serwer JailBreak""panel.php?serwer=jailbreak");
 
     $content "
      <table border=\"0\" cellspacing=\"1\" cellpadding=\"4\" align=\"center\" class=\"tborder\">
       <tr>
       <td class=\"tcat\">Panel gracza - serwer jailbreak</td>
       </tr>
         <tr>
            <td>
               <center>
                  <div class=\"player-block\">
                  <img src=\""
.$steamprofile['avatarfull']."\"/><br/>
                  <h2>
{$steamprofile['personaname']}</h2>
                  <b>STEAM ID 32:</b><br/>
                  
{$steam32} <br/>
                  <b>STEAM ID 64:</b><br/>
                  
{$steamprofile['steamid']}<br/></br/>
                  <form action=\"\" method=\"get\"><button name=\"logout\" type=\"submit\">Wyloguj</button></form>
                  </div>
               </center>
            </td>
         </tr>
         <tr>
            <td>
            <center>
            <div class=\"item-block\">
               Kredytów: <br/>
            </div>
            <div class=\"item-block\">
               Gang: <br/>
            </div>
            <div class=\"item-block\">
               Shark?: <br/>
            </div>
            </center>
            </td>
         </tr>
         </table>
      "
;
 
     eval("\$page = \"".$templates->get("panel_jailbreak_index")."\";");
 
  }
}
output_page($page);
 
?>


panel_index
<html>
<head>
{$headerinclude}
</head>
<body>
{$header}
{$content}
{$footer}
</body>
</html>

Mógłby mi ktoś powiedzieć co mam źle w tym kodzie? Jak będzie trzeba to podam też zawartość tych dołączonych plików.
Emm zmieniłem nazwę pliku userInfo.php na userInfoo.php i zadziałało nie rozumiem tego.



Użytkownicy przeglądający ten wątek:

1 gości