묻고답하기
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 */
홈페이지 접속시 이런 에러가 뜹니다..
홈페이지 주소는 http://reminis.cnu.ac.kr/COMe/입니다..
왜 이런지 모르겠습니다
COMe 페이지의 인덱스는
<?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 */
다음과 같습니다.. 어디서 문제가 있는 것 일까요 .ㅠㅠ
댓글 2
-
퍼니엑스이
2014.08.15 09:38
PHP 연동이 안되어서 소스가 그대로 보이는 듯합니다. 웹 서버와 PHP가 제대로 연동되어 있는지 확인해보시기 바랍니다. -
XESniper
2014.08.15 14:48
PHP가 올바르게 작동하지 않고 소스가 그대로 출력되는거 같습니다.
웹서버에 PHP 연동이 재대로 되어 있는지 확인하시기 바랍니다.
Nginx의 경우 Fast-CGI 연동이 잘 되어 있는데, Apache 의 경우 php5_module.so 가 올바르게 로드 되었고, AddHandler 에서 PHP가 올바르게 매핑되어 있는지 확인하시기 바랍니다.