묻고답하기
xe 설치 오류 도와주세요
2015.03.05 03:12
Parse error: parse error, unexpected '{' in /free/home/mk1go/html/xe/xe/index.php on line 56
xe 설치가 않되네요 ㅠㅠ
두번이나 다운 받아서 업로드 해보았는데 위에 에러메세지만 뜨네요 ㅠㅠ
무엇이 잘못 된것일까요?
<?php
/* Copyright (C) NAVER <http://www.navercorp.com> */
/**
* @file index.php
* @author NAVER (developers@xpressengine.com)
* @brief Start page
*
* @mainpage XpressEngine
* @section intro introduction
*
* "XpressEngine (XE)" is an opensource and being developed in the opensource project.\n
* For more information, please see the link below.
* - Official website: http://www.xpressengine.com
* - Offcial Repository: https://github.com/xpressengine/xe-core
* \n
* "XpressEngine (XE)" is free software; you can redistribute it and/or \n
* modify it under the terms of the GNU Lesser General Public \n
* License as published by the Free Software Foundation; either \n
* version 2.1 of the License, or (at your option) any later version. \n
* \n
* This software is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
* \n
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*
**/
/**
* @brief Declare constants for generic use and for checking to avoid a direct call from the Web
**/
define('__XE__', TRUE);
/**
* @brief Include the necessary configuration files
**/
require dirname(__FILE__) . '/config/config.inc.php';
/**
* @brief Initialize by creating Context object
* Set all Request Argument/Environment variables
**/
$oContext = Context::getInstance();
$oContext->init();
/**
* @brief If default_url is set and it is different from the current url, attempt to redirect for SSO authentication and then process the module
**/
if($oContext->checkSSO())
{
$oModuleHandler = new ModuleHandler();
try
{
if($oModuleHandler->init())
{
$oModuleHandler->displayContent($oModuleHandler->procModule());
}
}
catch(Exception $e)
{
htmlHeader();
echo Context::getLang($e->getMessage());
htmlFooter();
}
}
$oContext->close();
/* End of file index.php */
/* Location: ./index.php */
서버에 ZIP 올린 후 UNZIP 으로 압축 해제 하셨나요?