묻고답하기

xe를 재설치하려고 ftp로 업로드후 에 이런 에러문구가 뜹니다

어떻게 해야 됩니까 도와주십시요

Parse error: syntax error, unexpected '{' in /home/song1003/html/index.php on line 57

 

아래는 index.php

 

<?php
/**
 * @file  index.php
 * @author NHN (developers@xpressengine.com)
 * @brief Start page
 *
 * Find and create module object by mif, act in Request Argument \n
 * Set module information
 *
 * @mainpage XpressEngine
 * @section intro introduction
 * 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(korean), http://www.xpressengine.org(english)
 * - SVN Repository: http://xe-core.googlecode.com/svn/
 * \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 library 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())
  {
   $oModule = &$oModuleHandler->procModule();
   $oModuleHandler->displayContent($oModule);
  }
 }
 catch(Exception $e)
 {
  htmlHeader();
  echo Context::getLang($e->getMessage());
  htmlFooter();
 }
}

$oContext->close();

/* End of file index.php */
/* Location: ./index.php */

글쓴이 제목 최종 글
XE 공지 글 쓰기,삭제 운영방식 변경 공지 [16] 2019.03.05 by 남기남
노에르 XE404 에러 페이지 변경은 어떻게 하나요?! [2] file 2014.10.22 by 노에르
초가을 xe 메인페이지 로그인이 안돼요. [1] 2014.10.22 by 하한만
이온디 슬라이드 토글 제이쿼리인데 두 개 차이를 좀 알려주실 수 있나요? [6] 2014.10.22 by 이온디
처리낭군 회원정보보기에서 '소셜설정'을 로그인 스킨에서 볼 수는 없나요? [3] 2014.10.22 by 숭숭군
죽방망이 구글웹마스터 작동중단가능성이 있음니다 뜨시는분? [7] 2014.10.22 by 죽방망이
죠이풀 mysql 백업 및 복구 관련 질문입니다.  
Punkkid [제발도와주세요.급ㅠㅠ]관리자페이지 서버에요청중 무한메세지 [13] 2014.10.22 by 스케이트보드
스쿨맘관리자임 저번에 질문드렸는데ㅠㅠ 관리자페이지 목록이 뜨질 않습니다 도와주세요 file  
super333 스케치북스킨의 댓글과 모바일화면에서 XENARA 스티커 삽입 애드온 사용하기 [2] 2014.10.22 by 숭숭군
slkaw 스케치북5 게시판사용하는데;; 글이안써집니다. [9] file 2014.10.22 by lifeto
오작교뉴스 홈에서 페이지 수정이 안되요 도와주세요 [4] file 2014.10.22 by 오작교뉴스
monet [스마트폰] 요청한 기능을 실행할수 있는 권한이 없습니다 [3] file 2014.10.22 by 오작교뉴스
lifeto if($.browser.msie 콘솔오류 에러. [1] 2014.10.22 by treasurej
i지니i 스케치북5 게시판에서 글씨크기를 변경하고 싶은데요.. [2] 2014.10.22 by i지니i
PASTEL DB.class.php on line 320 에러 [5] 2014.10.22 by 휘즈
라디오스테이션 업데이트가 왜 안될까요? [4] 2014.10.22 by 라디오스테이션
윤테디 표(table)안에 삽입된 그림이 IE10에서는 너무 크게 나와요  
lifeto XE 기본 레이아웃 페이지에서.. [1] 2014.10.22 by lifeto
처리낭군 소셜 설정이나 소셜 로그인이 메인페이지 아래로 표시됩니다. [2] 2014.10.21 by 처리낭군
크레커 회원가입이 안되네요.. 도와주세요 [2] 2014.10.22 by 맙소사컴퍼니