Ver Mensaje Individual
  #5 (permalink)  
Antiguo 10/03/2014, 14:17
laygounas
 
Fecha de Ingreso: enero-2014
Mensajes: 3
Antigüedad: 10 años, 4 meses
Puntos: 0
Respuesta: Como poner LANG aqui

hola tio tengo un problema que me esta matando estoy intentando instalar un script pero cuando lo subo el mi servidor me sale un error como este Parse error: syntax error, unexpected $end in /home/u809841048/public_html/system/init.php on line 1 pero cuando abro el archivo no veo error y no se que hacer ayudae tio si puedes
tengo todo el codigo aqui para que lo veas

este es el codigo


<?php
/*
+--------------------------------------------------------------------------
|
| -----------------------------------------------------------------------
|
|
|
| -----------------------------------------------------------------------
|
|
+--------------------------------------------------------------------------
*/

define('IN_TANKYACDMS', TRUE);
define('ENVIRONMENT_PHP_VERSION', '5.2.2');

if (version_compare(PHP_VERSION, ENVIRONMENT_PHP_VERSION, '<'))
{
die('Error: TanyaCMS require PHP version ' . ENVIRONMENT_PHP_VERSION . ' or newer');
}

if (version_compare(PHP_VERSION, '6.0', '>='))
{
die('Error: TanyaCMS not support PHP version 6 currently');
}

define('START_TIME', microtime(TRUE));

if (function_exists('memory_get_usage'))
{
define('MEMORY_USAGE_START', memory_get_usage());
}

error_reporting(E_ALL & ~E_NOTICE & ~E_STRICT);

if (! defined('ASK_PATH'))
{
define('ASK_PATH', dirname(__FILE__) . '/');
}

define('ROOT_PATH', dirname(dirname(__FILE__)) . '/');
define('TEMP_PATH', dirname(dirname(__FILE__)) . '/tmp/');

if (function_exists('get_magic_quotes_gpc'))
{
if (@get_magic_quotes_gpc()) // GPC Reverse process
{
if (! function_exists('stripslashes_gpc'))
{
function stripslashes_gpc(&$value)
{
$value = stripslashes($value);
}
}

array_walk_recursive($_GET, 'stripslashes_gpc');
array_walk_recursive($_POST, 'stripslashes_gpc');
array_walk_recursive($_COOKIE, 'stripslashes_gpc');
array_walk_recursive($_REQUEST, 'stripslashes_gpc');
}
}

if (@ini_get('register_globals'))
{
if ($_REQUEST)
{
foreach ($_REQUEST AS $name => $value)
{
unset($$name);
}
}
}

require_once(ROOT_PATH . 'version.php');
require_once(ASK_PATH . 'functions.inc.php');

if (file_exists(ASK_PATH . 'gz_config.inc.php'))
{
rename(ASK_PATH . 'gz_config.inc.php', ASK_PATH . 'config.inc.php');
}

if (file_exists(ASK_PATH . 'config.inc.php'))
{
require_once(ASK_PATH . 'config.inc.php');
}

load_class('core_autoload');

date_default_timezone_set('Etc/GMT-7');