묻고답하기

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 남기남
BonaSera 댓글 등록 후 '성공' 메세지 띄우는 법 알고 싶어요 [1] 2013.10.09 by KS
윤디 기본게시판 스킨에서 비밀글 기본체크 방법 @딸꾹질 [1] 2013.10.09 by KS
지우빠 리스트에서 확장변수 내용이 중앙정렬인데 왼쪽으로 정렬을 바꾸고 싶습니다 [1] file 2013.10.09 by sejin7940
느낌아니까 xe 최신버전 사용후 홈페이지 상단에 여백이 생겼습니다..ㅠㅠ file  
JIWOO 위젯 내용직접추가에서 이미지를 넣으면 여백이 생깁니다. [1] file 2013.10.09 by 투씨
원숭이짱 xe 업데이트 오류 ㅠㅠ [1] 2013.10.09 by Okanari
최영석222 호스팅 서버에 error_log 문제? [1] file 2013.10.09 by Ruatic™
늅늅이 익명 닉네임 색상 [1] 2013.10.09 by Okanari
맛이간넘 재설치후 오류 [1] 2013.10.09 by Okanari
나의해 배너위젯 질문드립니다 !! [1] 2013.10.09 by Okanari
중복의달인 게시판의 첨부파일용량제한 일괄변경이가능한가요? [1] 2013.10.09 by 투씨
박인영647 모듈 리스트파일에 검색기능 만듣는법쫌 알려주세요~ㅠ.,ㅠ [1] file 2013.10.09 by boonma
쌤비 게시판 확장 변수를 입력하라고 하는데, 이 확장변수가 어떤거죠? [1] 2013.10.09 by sejin7940
중복의달인 부츠트랩 최근글보기위젯 질문합니다.궁금한게 넘많네요.. file  
구름나무바위 내부 코드를 변경한 경우 업데이트는 어떻게 하나요? [1] 2013.10.09 by 투씨
홍길동친구 사이트맵 2개 일 경우 호출하는 방법? [1] 2013.10.09 by 투씨
레테123 현재 버전 업데이트후 빈페이지만 나옵니다. [1] 2013.10.08 by sejin7940
dwdw 상단 admin 바 없애는 방법? [1] file 2013.10.08 by sejin7940
따뜻한오후 최근게시글 상단 제로보드 타이틀 [1] file 2013.10.08 by sejin7940
시온의영광 http 오류 500.0 해결이 너무 어렵네요...  
veam XE 갤러리 위젯에서 게시판 본문에 추가된 이미지만 띄우는 방법 [1] 2013.10.08 by veam
연뒤 [ 찾고있어요 ] html 소스 자동 생성 페이지 - 네이버제공  
starlee3 분류관리 도와주세요~!!파이어폭스에서도 안됨!! [2] 2013.10.08 by Kimㅇ.ㅅ
낭만구미호 loop를 돌릴때 값이 1개이면 오류가 납니다.  
느낌아니까 XE 버전업을 하려고 합니다. [1] 2013.10.08 by 컴매냐
스비라 htaccess, mod_rewrite 도움부탁해요  
박진410 예약폼을 어떻게 만들까요? [1] 2013.10.08 by sejin7940
서령 로그인이 되어있는데 로그인창이 회원정보창으로 뜨질 않아요.  
Larki IE9에서 상단탭이 깨집니다. [2] 2013.10.07 by uoou
라피에르 최신탭 설정에서 댓글숫자도 나오게 출력하고 싶은데요 [1] 2013.10.07 by 투씨