묻고답하기
page_full_width" class="col-xs-12" |cond="$__Context->page_full_width">
이렇게 뜨는 이유가 뭐일까요?
2013.02.17 00:24
<?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);
define('__ZBXE__', TRUE); // deprecated : __ZBXE__ will be removed. Use __XE__ instead.
/**
* @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();
if($oModuleHandler->init())
{
$oModule = &$oModuleHandler->procModule();
$oModuleHandler->displayContent($oModule);
}
}
$oContext->close();
/* End of file index.php */
/* Location: ./index.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);
define('__ZBXE__', TRUE); // deprecated : __ZBXE__ will be removed. Use __XE__ instead.
/**
* @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();
if($oModuleHandler->init())
{
$oModule = &$oModuleHandler->procModule();
$oModuleHandler->displayContent($oModule);
}
}
$oContext->close();
/* End of file index.php */
/* Location: ./index.php */
댓글 1
-
DynamicLaser
2013.02.18 01:59
-
CM(OEZ)
2013.02.19 17:54
phpinfo는 문제가 없는데 간혹가다 저렇게 떠서 문제이며 저렇게 뜰때 INDEX.PHP가 아닌 ?mid=모듈 이렇게 들어가면 정상이라는게 문제입니다..ㅠㅠ
인덱스를 열면 그렇게 뜬다는 말씀이신가요?
php가 제대로 설정되지 않았을수도 있고, php자체가 설치되지 않았을수도 있습니다.
phpinfo.php라는 파일을 만들어 <?php phpinfo(); ?> 라는 내용을 넣어 브라우저상에서 열어보세요.
케이스는 2개입니다.
1. phpinfo라는 내용이 제대로 정상적으로 쫙 출력된다
문제가 없습니다. 웹호스팅 혹은 서버상의 문제일 수 있습니다.
2. 출력되지 않는다
php파일에 대한 연결이 이루어지지 않은겁니다. php연결을 확인해보세요