margaridabela margaridabela  • 16.07.15 21:39

CMS está dando o erro na imagem acima. Empty CMS está dando o erro na imagem acima. 16.07.15 21:39

Print de meu erro: prntscr.com/7tleu0

Qual é meu erro: CMS está dando o erro na imagem acima.

CMS Que estou utilizando: aXDR 2.0

SWF que estou utilizando: SWF do Pack Revision 10.8 alpha (xJoao)

Versão de meu hotel: NewCrypto

Se escolheu outros, especifique: Texto aqui

Comentários adicionais: Eu possuo um erro na hora de configurar a CMS aXDR 2.0 que vem no pack do xJoao.. (usei a DB que veio na pasta da cms) erro> prntscr.com/7tleu0

Saigon Saigon  • 16.07.15 21:46

CMS está dando o erro na imagem acima. Empty Re: CMS está dando o erro na imagem acima. 16.07.15 21:46

Você não configurou direito, abra sua fastio.php e vá até a linha que indica o erro e corriga.
Se não conseguir me envie esta página.

Anonymous Convidado  • 16.07.15 21:49

CMS está dando o erro na imagem acima. Empty teste 16.07.15 21:49

Vá até a pagina FastInit.php procure pela linha 52 e coloque um @ na frente dela. Você está usando uma Database compartível com essa CMS?

Mateeus_MD Mateeus_MD  • 16.07.15 23:05

CMS está dando o erro na imagem acima. Empty teste 16.07.15 23:05

a database é a mesma que acompanha a cms...

Anonymous Convidado  • 16.07.15 23:07

CMS está dando o erro na imagem acima. Empty teste 16.07.15 23:07

Você já colocou o @ na frente da linha onde está marcando o erro? nesse caso na frente de tudo que está na linha 52

M3G4 M3G4  • 16.07.15 23:07

CMS está dando o erro na imagem acima. Empty teste 16.07.15 23:07

Você Colocou o @ na linha 52 do arquivo FastInit.php ?

Mateeus_MD Mateeus_MD  • 16.07.15 23:13

CMS está dando o erro na imagem acima. Empty teste 16.07.15 23:13

Coloquei... continuou o msm erro... eu usei o crtl+g para ir na linha ..

margaridabela margaridabela  • 16.07.15 23:23

CMS está dando o erro na imagem acima. Empty teste 16.07.15 23:23

Código:
$_SERVER['HTTP_USER_AGENT'] = isset($_SERVER['HTTP_USER_AGENT']) ? str_replace(['<', '>', '"', '\'', '\\'], ['<', '>', '"', ''', '\'], $_SERVER['HTTP_USER_AGENT']) : '';

Essa é a linha 52, coloquei o @ e mesmo assim n foi..

M3G4 M3G4  • 16.07.15 23:31

CMS está dando o erro na imagem acima. Empty teste 16.07.15 23:31

Poderia Enviar a Pasta para Download para te ajudar melhor ?

Mateeus_MD Mateeus_MD  • 16.07.15 23:42

CMS está dando o erro na imagem acima. Empty teste 16.07.15 23:42

Código:
<?php
/*=========================================================+
|| # Azure Kernel of XDRCMS. All rights reserved.
|| # Copyright © 2014 Xdr.
|| # Azure Kernel 3.0
|+=========================================================+
|| # XDR 2013. The power of Proyects.
|| # Este es un Software de código libre, libre edición.
|+=========================================================+
*/
// Inicio

define('IN_AZURE', TRUE);
if(array_key_exists('HTTP_CLIENT_IP', $_SERVER))
   define('MY_IP', str_replace('::1', '127.0.0.1', $_SERVER['HTTP_CLIENT_IP']));
elseif(array_key_exists('HTTP_X_FORWARDED_FOR', $_SERVER))
   define('MY_IP', str_replace('::1', '127.0.0.1', $_SERVER['HTTP_X_FORWARDED_FOR']));
elseif(array_key_exists('REMOTE_ADDR', $_SERVER))
   define('MY_IP', str_replace('::1', '127.0.0.1', $_SERVER['REMOTE_ADDR']));
else
   exit;


define('DS', DIRECTORY_SEPARATOR);
define('KERNEL', dirname(__FILE__) . DS);
define('LANGUAGES', KERNEL . 'Lang' . DS);
define('Files', KERNEL . 'Files' . DS);

date_default_timezone_set('Europe/Madrid');
ob_start('fatal_error_handler');

function fatal_error_handler($buffer){
    $error = error_get_last();
    if($error['type'] == 1):
      require 'Error500.php';
      return $newBuffer;
   endif;

    return $buffer;
}

ini_set('default_charset', 'ISO-8859-1');
ini_set('expose_php', 0);
ini_set('session.name', 'aXDR-RTM:1');
ini_set('session.gc_probability', 10);
ini_set('session.gc_divisor', 100);
ini_set('session.cookie_httponly', 1);
ini_set('session.gc_maxlifetime', 600);
ini_set('zlib_output_compression', 'On');

//error_reporting(E_ALL & ~E_NOTICE & ~E_DEPRECATED & ~E_WARNING);
$_SERVER['HTTP_USER_AGENT'] = isset($_SERVER['HTTP_USER_AGENT']) ? str_replace(['<', '>', '"', '\'', '\\'], ['&lt;', '&gt;', '&quot;', ''', '\'], $_SERVER['HTTP_USER_AGENT']) : '';
$_SERVER['REQUEST_URI'] = str_replace('.php', '', strtolower($_SERVER['REQUEST_URI']));

define ('URI', (strstr($_SERVER['REQUEST_URI'], '?') !== FALSE ? explode('?', $_SERVER['REQUEST_URI'])[0] : $_SERVER['REQUEST_URI']));

@session_start();

// AntiHTML & SQL Injection
if(count($_POST) > 50 || count($_GET) > 50):
   exit;
endif;

$rKeys = get_html_translation_table(HTML_ENTITIES, ENT_HTML401 | ENT_QUOTES, 'ISO-8859-1');
$rKeys['\\'] = '\';

foreach($_POST as $Key => $Value)
   $_POST[$Key] = str_replace(array_keys($rKeys), array_values($rKeys), mb_convert_encoding($Value, 'ISO-8859-1', mb_detect_encoding($Value, 'UTF-8,ISO-8859-1,ISO-8859-15', true)));
foreach($_GET as $Key => $Value)
   $_GET[$Key] = str_replace(array_keys($rKeys), array_values($rKeys), mb_convert_encoding($Value, 'ISO-8859-1', mb_detect_encoding($Value, 'UTF-8,ISO-8859-1,ISO-8859-15', true)));

$siteBlocked = false;

require 'User.Config.php';

if(empty($_SERVER['SERVER_NAME']))
   exit;

$Config['URL']['Default']['Server'] = strtolower($Config['URL']['Default']['Server']);
$Config['URL']['devPrivateServer'] = strtolower($Config['URL']['devPrivateServer']);
$_Server = str_replace('www.', '', $_SERVER['SERVER_NAME']);

if(!empty($Config['URL']['devPrivateServer']) && ($Config['URL']['devPrivateServer'] === $_SERVER['SERVER_NAME'])):
   $Config['Lang'] = $Config['URL']['Default']['Lang'];
   $_uMaintenance = true;
   define('PATH', 'http://' . $_SERVER['SERVER_NAME']);
   define('www', $_SERVER['SERVER_NAME']);
   define('SPATH', 'http://' . $_SERVER['SERVER_NAME']);
else:
   $sUrl = isset($Config['URL'][$_Server]) ? $_Server : (!empty($Config['URL']['Default']['Server']) ? 'Default' : exit('No tienes acceso a esta web.'));

   define('PATH', ($Config['URL'][$sUrl]['Require.www']) ? 'http://www.' . $Config['URL'][$sUrl]['Server'] : 'http://' . $Config['URL'][$sUrl]['Server']);
   define('www', ($Config['URL'][$sUrl]['Require.www']) ? 'www.' . $_Server : $_Server);
   define('SPATH', ($Config['URL'][$sUrl]['SSL.enabled']) ? 'https://' . www : 'http://' . www);
   if($Config['URL'][$sUrl]['Require.www'] && strpos($_SERVER['SERVER_NAME'], 'www.') === FALSE)
      exit(header('Location: ' . PATH . $_SERVER['REQUEST_URI']));
   
   $Config['Lang'] = $Config['URL'][$sUrl]['Lang'];
endif;

require 'Azure.Cache.php';
require 'Azure.Methods.php';

$_XDRBuild = '63-BUILD2769 - 25.09.2014 23:40 - ' . $Config['Lang'] . ' - aXDR 2.0';
$siteName = $hotelName . ' Hotel';
$charsetm = 'utf-8';

define('HPATH', SPATH . $Config['URL']['dirACP']);
define('LOOK', 'https://www.habbo.com/habbo-imaging/avatarimage?figure=');
define('LOOKHEAD', SPATH . '/habbo-imaging/head?figure=');

if ($GLOBALS['Config']['Cache']['AIO'] === true && file_exists(KERNEL . '/Cache/Site' . $GLOBALS['Config']['Cache']['internalConfig']['extension'] . '.json')):
   $_jsonData = file_get_contents(KERNEL . DS . 'Cache'  . DS . 'Site' . $GLOBALS['Config']['Cache']['internalConfig']['extension'] . '.json');
   $_jsonData = json_decode($_jsonData, true);
   
   $SiteSettings = $_jsonData;
endif;

$defaultGallery = !isset($SiteSettings['defaultStyle'], $SiteSettings['Styles'][$SiteSettings['defaultStyle']]) || $SiteSettings['defaultStyle'] == -1 ? SPATH . '/xdr-web/63_1dc60c6d6ea6e089c6893ab4e0541ee0/2769/web-gallery' : $SiteSettings['Styles'][$SiteSettings['defaultStyle']]['PATH']; //V2

if(isset($_COOKIE['customStyle']) && is_numeric($_COOKIE['customStyle'])):
   if(!isset($SiteSettings['Styles'][$_COOKIE['customStyle']]) || !$SiteSettings['Styles'][$_COOKIE['customStyle']]['Actived']):
      unset($_COOKIE['customStyle']);
      define ('webgallery', $defaultGallery);
   else:
      define ('webgallery', $SiteSettings['Styles'][$_COOKIE['customStyle']]['PATH']);
   endif;
else:
   define ('webgallery', $defaultGallery);
endif;
define ('xdrweb', SPATH . '/xdr-web/20140910-104535-9c6006223ff588e8d4fd8a3b88c378867d8ac0c1/'); // V3
define ('imagesFolder', SPATH . '/xdr-web/'); // V3

if($Restrictions['Country']['Action'] > 0 && MY_IP != '127.0.0.1'):
   if(isset($_SESSION['Country'])):
      $Code = $_SESSION['Country'];
   else:
      $Code = file_get_contents('http://api.hostip.info/country.php?ip=' . $_SERVER['REMOTE_ADDR']);
      $_SESSION['Country'] = $Code;
   endif;

   if($Restrictions['Country']['Strict'] && $Code == 'XX'):
      $siteBlocked = true;
   elseif($Restrictions['Country']['Action'] == '1' && isset($Restrictions['Country']['List'][$Code])):
      $siteBlocked = true;
   elseif($Restrictions['Country']['Action'] == '2' && !isset($Restrictions['Country']['List'][$Code])):
      $siteBlocked = true;
   endif;
endif;

if($Restrictions['Maintenance']['Active'] && !isset($_uMaintenance)):
   require Files . $Config['Lang'] . DS . 'HTMLs' . DS . 'Maintenance.html';
   exit;
endif;

//LOL
header('X-Origin-Id: resin-fe-4');

###############################LoadFILES###################################
DEFINE('SCRIPT', Files . $Config['Lang'] . DS . 'Scripts' . DS);
DEFINE('HEADER', Files . $Config['Lang'] . DS . 'Templates' . DS . 'Headers' . DS);
DEFINE('FOOTER', Files . $Config['Lang'] . DS . 'Templates' . DS . 'Footers' . DS);
DEFINE('HTML', Files . $Config['Lang'] . DS . 'HTMLs' . DS);
DEFINE('ACP', Files . $Config['Lang'] . DS . 'ACP' . DS);

function __ENDSCRIPT(){
}
?>

Para download e foda, mais ta ai a pasta...

Anonymous Convidado  • 17.07.15 8:46

CMS está dando o erro na imagem acima. Empty teste 17.07.15 8:46

Olá amigo,você já viu se sua plataforma é compartível com essa CMS?. Tente mudar sua FastInit.php por uma destes 2 arquivos logo a baixo

Código:
<?php
/*=========================================================+
|| # Azure Kernel of XDRCMS. All rights reserved.
|| # Copyright © 2014 Xdr.
|| # Azure Kernel 3.0
|+=========================================================+
|| # XDR 2013. The power of Proyects.
|| # Este es un Software de código libre, libre edición.
|+=========================================================+
*/
// Inicio

define('IN_AZURE', TRUE);
if(array_key_exists('HTTP_CLIENT_IP', $_SERVER))
  define('MY_IP', str_replace('::1', '127.0.0.1', $_SERVER['HTTP_CLIENT_IP']));
elseif(array_key_exists('HTTP_X_FORWARDED_FOR', $_SERVER))
  define('MY_IP', str_replace('::1', '127.0.0.1', $_SERVER['HTTP_X_FORWARDED_FOR']));
elseif(array_key_exists('REMOTE_ADDR', $_SERVER))
  define('MY_IP', str_replace('::1', '127.0.0.1', $_SERVER['REMOTE_ADDR']));
else
  exit;


define('DS', DIRECTORY_SEPARATOR);
define('KERNEL', dirname(__FILE__) . DS);
define('LANGUAGES', KERNEL . 'Lang' . DS);
define('Files', KERNEL . 'Files' . DS);

date_default_timezone_set('Europe/Madrid');
ob_start('fatal_error_handler');

function fatal_error_handler ($buffer){
    $error = error_get_last();
    if($error['type'] == 1):
      require 'Error500.php';
      return $newBuffer;
  endif;

    return $buffer;
}

ini_set('default_charset', 'ISO-8859-1');
ini_set('expose_php', 0);
ini_set('session.name', 'aXDR-RTM:1');
ini_set('session.gc_probability', 10);
ini_set('session.gc_divisor', 100);
ini_set('session.cookie_httponly', 1);
ini_set('session.gc_maxlifetime', 600);
ini_set('zlib_output_compression', 'On');

//error_reporting(E_ALL & ~E_NOTICE & ~E_DEPRECATED & ~E_WARNING);
$_SERVER['HTTP_USER_AGENT'] = isset($_SERVER['HTTP_USER_AGENT']) ? str_replace(['<', '>', '"', '\'', '\\'], ['&lt;', '&gt;', '&quot;', ''', '\'], $_SERVER['HTTP_USER_AGENT']) : '';
$_SERVER['REQUEST_URI'] = str_replace('.php', '', strtolower($_SERVER['REQUEST_URI']));

define ('URI', (strstr($_SERVER['REQUEST_URI'], '?') !== FALSE ? explode('?', $_SERVER['REQUEST_URI'])[0] : $_SERVER['REQUEST_URI']));

@session_start();

// AntiHTML & SQL Injection
if(count($_POST) > 50 || count($_GET) > 50):
  exit;
endif;

$rKeys = get_html_translation_table(HTML_ENTITIES, ENT_HTML401 | ENT_QUOTES, 'ISO-8859-1');
$rKeys['\\'] = '\';

foreach($_POST as $Key => $Value)
  $_POST[$Key] = str_replace(array_keys($rKeys), array_values($rKeys), mb_convert_encoding($Value, 'ISO-8859-1', mb_detect_encoding($Value, 'UTF-8,ISO-8859-1,ISO-8859-15', true)));
foreach($_GET as $Key => $Value)
  $_GET[$Key] = str_replace(array_keys($rKeys), array_values($rKeys), mb_convert_encoding($Value, 'ISO-8859-1', mb_detect_encoding($Value, 'UTF-8,ISO-8859-1,ISO-8859-15', true)));

$siteBlocked = false;

require 'User.Config.php';

if(empty($_SERVER['SERVER_NAME']))
  exit;

$Config['URL']['Default']['Server'] = strtolower($Config['URL']['Default']['Server']);
$Config['URL']['devPrivateServer'] = strtolower($Config['URL']['devPrivateServer']);
$_Server = str_replace('www.', '', $_SERVER['SERVER_NAME']);

if(!empty($Config['URL']['devPrivateServer']) && ($Config['URL']['devPrivateServer'] === $_SERVER['SERVER_NAME'])):
  $Config['Lang'] = $Config['URL']['Default']['Lang'];
  $_uMaintenance = true;
  define('PATH', 'http://' . $_SERVER['SERVER_NAME']);
  define('www', $_SERVER['SERVER_NAME']);
  define('SPATH', 'http://' . $_SERVER['SERVER_NAME']);
else:
  $sUrl = isset($Config['URL'][$_Server]) ? $_Server : (!empty($Config['URL']['Default']['Server']) ? 'Default' : exit('No tienes acceso a esta web.'));

  define('PATH', ($Config['URL'][$sUrl]['Require.www']) ? 'http://www.' . $Config['URL'][$sUrl]['Server'] : 'http://' . $Config['URL'][$sUrl]['Server']);
  define('www', ($Config['URL'][$sUrl]['Require.www']) ? 'www.' . $_Server : $_Server);
  define('SPATH', ($Config['URL'][$sUrl]['SSL.enabled']) ? 'https://' . www : 'http://' . www);
  if($Config['URL'][$sUrl]['Require.www'] && strpos($_SERVER['SERVER_NAME'], 'www.') === FALSE)
      exit(header('Location: ' . PATH . $_SERVER['REQUEST_URI']));
 
  $Config['Lang'] = $Config['URL'][$sUrl]['Lang'];
endif;

require 'Azure.Cache.php';
require 'Azure.Methods.php';

$_XDRBuild = '63-BUILD2769 - 25.09.2014 23:40 - ' . $Config['Lang'] . ' - aXDR 2.0';
$siteName = $hotelName . ' Hotel';
$charsetm = 'utf-8';

define('HPATH', SPATH . $Config['URL']['dirACP']);
define('LOOK', 'https://www.habbo.com/habbo-imaging/avatarimage?figure=');
define('LOOKHEAD', SPATH . '/habbo-imaging/head?figure=');

if ($GLOBALS['Config']['Cache']['AIO'] === true && file_exists(KERNEL . '/Cache/Site' . $GLOBALS['Config']['Cache']['internalConfig']['extension'] . '.json')):
  $_jsonData = file_get_contents(KERNEL . DS . 'Cache'  . DS . 'Site' . $GLOBALS['Config']['Cache']['internalConfig']['extension'] . '.json');
  $_jsonData = json_decode($_jsonData, true);
 
  $SiteSettings = $_jsonData;
endif;

$defaultGallery = !isset($SiteSettings['defaultStyle'], $SiteSettings['Styles'][$SiteSettings['defaultStyle']]) || $SiteSettings['defaultStyle'] == -1 ? SPATH . '/xdr-web/63_1dc60c6d6ea6e089c6893ab4e0541ee0/2769/web-gallery' : $SiteSettings['Styles'][$SiteSettings['defaultStyle']]['PATH']; //V2

if(isset($_COOKIE['customStyle']) && is_numeric($_COOKIE['customStyle'])):
  if(!isset($SiteSettings['Styles'][$_COOKIE['customStyle']]) || !$SiteSettings['Styles'][$_COOKIE['customStyle']]['Actived']):
      unset($_COOKIE['customStyle']);
      define ('webgallery', $defaultGallery);
  else:
      define ('webgallery', $SiteSettings['Styles'][$_COOKIE['customStyle']]['PATH']);
  endif;
else:
  define ('webgallery', $defaultGallery);
endif;
define ('xdrweb', SPATH . '/xdr-web/20140910-104535-9c6006223ff588e8d4fd8a3b88c378867d8ac0c1/'); // V3
define ('imagesFolder', SPATH . '/xdr-web/'); // V3

if($Restrictions['Country']['Action'] > 0 && MY_IP != '127.0.0.1'):
  if(isset($_SESSION['Country'])):
      $Code = $_SESSION['Country'];
  else:
      $Code = file_get_contents('http://api.hostip.info/country.php?ip=' . $_SERVER['REMOTE_ADDR']);
      $_SESSION['Country'] = $Code;
  endif;

  if($Restrictions['Country']['Strict'] && $Code == 'XX'):
      $siteBlocked = true;
  elseif($Restrictions['Country']['Action'] == '1' && isset($Restrictions['Country']['List'][$Code])):
      $siteBlocked = true;
  elseif($Restrictions['Country']['Action'] == '2' && !isset($Restrictions['Country']['List'][$Code])):
      $siteBlocked = true;
  endif;
endif;

if($Restrictions['Maintenance']['Active'] && !isset($_uMaintenance)):
  require Files . $Config['Lang'] . DS . 'HTMLs' . DS . 'Maintenance.html';
  exit;
endif;

//LOL
header('X-Origin-Id: resin-fe-4');

###############################LoadFILES###################################
DEFINE('SCRIPT', Files . $Config['Lang'] . DS . 'Scripts' . DS);
DEFINE('HEADER', Files . $Config['Lang'] . DS . 'Templates' . DS . 'Headers' . DS);
DEFINE('FOOTER', Files . $Config['Lang'] . DS . 'Templates' . DS . 'Footers' . DS);
DEFINE('HTML', Files . $Config['Lang'] . DS . 'HTMLs' . DS);
DEFINE('ACP', Files . $Config['Lang'] . DS . 'ACP' . DS);

function __ENDSCRIPT(){
}
?>


OU

Código:
<?php
/*=========================================================+
|| # Azure Kernel of XDRCMS. All rights reserved.
|| # Copyright © 2014 Xdr.
|| # Azure Kernel 3.0
|+=========================================================+
|| # XDR 2013. The power of Proyects.
|| # Este es un Software de código libre, libre edición.
|+=========================================================+
*/
// Inicio

define('IN_AZURE', TRUE);
if(array_key_exists('HTTP_CLIENT_IP', $_SERVER))
  define('MY_IP', str_replace('::1', '127.0.0.1', $_SERVER['HTTP_CLIENT_IP']));
elseif(array_key_exists('HTTP_X_FORWARDED_FOR', $_SERVER))
  define('MY_IP', str_replace('::1', '127.0.0.1', $_SERVER['HTTP_X_FORWARDED_FOR']));
elseif(array_key_exists('REMOTE_ADDR', $_SERVER))
  define('MY_IP', str_replace('::1', '127.0.0.1', $_SERVER['REMOTE_ADDR']));
else
  exit;


define('DS', DIRECTORY_SEPARATOR);
define('KERNEL', dirname(__FILE__) . DS);
define('LANGUAGES', KERNEL . 'Lang' . DS);
define('Files', KERNEL . 'Files' . DS);

date_default_timezone_set('Europe/Madrid');
ob_start('fatal_error_handler');
function fatal_error_handler($buffer){
    $error = error_get_last();
    if($error['type'] == 1):
      require 'Error500.php';
      return $newBuffer;
  endif;

    return $buffer;
}

ini_set('default_charset', 'ISO-8859-1');
ini_set('expose_php', 0);
ini_set('session.name', 'aXDR-RTM:1');
ini_set('session.gc_probability', 10);
ini_set('session.gc_divisor', 100);
ini_set('session.cookie_httponly', 1);
ini_set('session.gc_maxlifetime', 600);
ini_set('zlib_output_compression', 'On');

//error_reporting(E_ALL & ~E_NOTICE & ~E_DEPRECATED & ~E_WARNING);
$_SERVER['HTTP_USER_AGENT'] = isset($_SERVER['HTTP_USER_AGENT']) ? str_replace(['<', '>', '"', '\'', '\\'], ['&lt;', '&gt;', '&quot;', ''', '\'], $_SERVER['HTTP_USER_AGENT']) : '';
$_SERVER['REQUEST_URI'] = str_replace('.php', '', strtolower($_SERVER['REQUEST_URI']));

define ('URI', (strstr($_SERVER['REQUEST_URI'], '?') !== FALSE ? explode('?', $_SERVER['REQUEST_URI'])[0] : $_SERVER['REQUEST_URI']));

@session_start();

// AntiHTML & SQL Injection
if(count($_POST) > 50 || count($_GET) > 50):
  exit;
endif;

$rKeys = get_html_translation_table(HTML_ENTITIES, ENT_HTML401 | ENT_QUOTES, 'ISO-8859-1');
$rKeys['\\'] = '\';

foreach($_POST as $Key => $Value)
  $_POST[$Key] = str_replace(array_keys($rKeys), array_values($rKeys), mb_convert_encoding($Value, 'ISO-8859-1', mb_detect_encoding($Value, 'UTF-8,ISO-8859-1,ISO-8859-15', true)));
foreach($_GET as $Key => $Value)
  $_GET[$Key] = str_replace(array_keys($rKeys), array_values($rKeys), mb_convert_encoding($Value, 'ISO-8859-1', mb_detect_encoding($Value, 'UTF-8,ISO-8859-1,ISO-8859-15', true)));

$siteBlocked = false;

require 'User.Config.php';

if(empty($_SERVER['SERVER_NAME']))
  exit;

$Config['URL']['Default']['Server'] = strtolower($Config['URL']['Default']['Server']);
$Config['URL']['devPrivateServer'] = strtolower($Config['URL']['devPrivateServer']);
$_Server = str_replace('www.', '', $_SERVER['SERVER_NAME']);

if(!empty($Config['URL']['devPrivateServer']) && ($Config['URL']['devPrivateServer'] === $_SERVER['SERVER_NAME'])):
  $Config['Lang'] = $Config['URL']['Default']['Lang'];
  $_uMaintenance = true;
  define('PATH', 'http://' . $_SERVER['SERVER_NAME']);
  define('www', $_SERVER['SERVER_NAME']);
  define('SPATH', 'http://' . $_SERVER['SERVER_NAME']);
else:
  $sUrl = isset($Config['URL'][$_Server]) ? $_Server : (!empty($Config['URL']['Default']['Server']) ? 'Default' : exit('No tienes acceso a esta web.'));

  define('PATH', ($Config['URL'][$sUrl]['Require.www']) ? 'http://www.' . $Config['URL'][$sUrl]['Server'] : 'http://' . $Config['URL'][$sUrl]['Server']);
  define('www', ($Config['URL'][$sUrl]['Require.www']) ? 'www.' . $_Server : $_Server);
  define('SPATH', ($Config['URL'][$sUrl]['SSL.enabled']) ? 'https://' . www : 'http://' . www);
  if($Config['URL'][$sUrl]['Require.www'] && strpos($_SERVER['SERVER_NAME'], 'www.') === FALSE)
      exit(header('Location: ' . PATH . $_SERVER['REQUEST_URI']));
 
  $Config['Lang'] = $Config['URL'][$sUrl]['Lang'];
endif;

require 'Azure.Cache.php';
require 'Azure.Methods.php';

$_XDRBuild = '63-BUILD2769 - 25.09.2014 23:40 - ' . $Config['Lang'] . ' - aXDR 2.0';
$siteName = $hotelName . ' Hotel';
$charsetm = 'utf-8';

define('HPATH', SPATH . $Config['URL']['dirACP']);
define('LOOK', 'https://www.habbo.com/habbo-imaging/avatarimage?figure=');
define('LOOKHEAD', SPATH . '/habbo-imaging/head?figure=');

if ($GLOBALS['Config']['Cache']['AIO'] === true && file_exists(KERNEL . '/Cache/Site' . $GLOBALS['Config']['Cache']['internalConfig']['extension'] . '.json')):
  $_jsonData = file_get_contents(KERNEL . DS . 'Cache'  . DS . 'Site' . $GLOBALS['Config']['Cache']['internalConfig']['extension'] . '.json');
  $_jsonData = json_decode($_jsonData, true);
 
  $SiteSettings = $_jsonData;
endif;

$defaultGallery = !isset($SiteSettings['defaultStyle'], $SiteSettings['Styles'][$SiteSettings['defaultStyle']]) || $SiteSettings['defaultStyle'] == -1 ? SPATH . '/xdr-web/63_1dc60c6d6ea6e089c6893ab4e0541ee0/2769/web-gallery' : $SiteSettings['Styles'][$SiteSettings['defaultStyle']]['PATH']; //V2

if(isset($_COOKIE['customStyle']) && is_numeric($_COOKIE['customStyle'])):
  if(!isset($SiteSettings['Styles'][$_COOKIE['customStyle']]) || !$SiteSettings['Styles'][$_COOKIE['customStyle']]['Actived']):
      unset($_COOKIE['customStyle']);
      define ('webgallery', $defaultGallery);
  else:
      define ('webgallery', $SiteSettings['Styles'][$_COOKIE['customStyle']]['PATH']);
  endif;
else:
  define ('webgallery', $defaultGallery);
endif;
define ('xdrweb', SPATH . '/xdr-web/20140910-104535-9c6006223ff588e8d4fd8a3b88c378867d8ac0c1/'); // V3
define ('imagesFolder', SPATH . '/xdr-web/'); // V3

if($Restrictions['Country']['Action'] > 0 && MY_IP != '127.0.0.1'):
  if(isset($_SESSION['Country'])):
      $Code = $_SESSION['Country'];
  else:
      $Code = file_get_contents('http://api.hostip.info/country.php?ip=' . $_SERVER['REMOTE_ADDR']);
      $_SESSION['Country'] = $Code;
  endif;

  if($Restrictions['Country']['Strict'] && $Code == 'XX'):
      $siteBlocked = true;
  elseif($Restrictions['Country']['Action'] == '1' && isset($Restrictions['Country']['List'][$Code])):
      $siteBlocked = true;
  elseif($Restrictions['Country']['Action'] == '2' && !isset($Restrictions['Country']['List'][$Code])):
      $siteBlocked = true;
  endif;
endif;

if($Restrictions['Maintenance']['Active'] && !isset($_uMaintenance)):
  require Files . $Config['Lang'] . DS . 'HTMLs' . DS . 'Maintenance.html';
  exit;
endif;

//LOL
header('X-Origin-Id: resin-fe-4');

###############################LoadFILES###################################
DEFINE('SCRIPT', Files . $Config['Lang'] . DS . 'Scripts' . DS);
DEFINE('HEADER', Files . $Config['Lang'] . DS . 'Templates' . DS . 'Headers' . DS);
DEFINE('FOOTER', Files . $Config['Lang'] . DS . 'Templates' . DS . 'Footers' . DS);
DEFINE('HTML', Files . $Config['Lang'] . DS . 'HTMLs' . DS);
DEFINE('ACP', Files . $Config['Lang'] . DS . 'ACP' . DS);

function __ENDSCRIPT(){
}
?>

lai0n lai0n  • 17.07.15 11:22

CMS está dando o erro na imagem acima. Empty teste 17.07.15 11:22

[quote=TomJack]Vá até a pagina FastInit.php procure pela linha 52 e coloque um @ na frente dela. Você está usando uma Database compartível com essa CMS?[/quote]
Eu não li isso

Anonymous Convidado  • 19.07.15 12:15

CMS está dando o erro na imagem acima. Empty teste 19.07.15 12:15

@Suporte.
O Autor deste tópico tem 24 horas para apresentar uma resposta.



@Suporte.
Tópico fechado pois o autor abandonou o tópico.
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.