묻고답하기
xe 1.7.3 DB경로에 문제 좀 찾아주세요.
2013.04.02 16:31
저는 xe 1.7.3 을 사용하고 있는데, 관리자 페이지 설정<일반 에서 언어선택이라던지, 모바일 체크를 하고 저장할 때 저장이 안되는데 이것은 config파일 경로에 문제가 있는 거라고 하는데 아직 초보라 무엇이 문제인지 잘 모르겠습니다. 고수님 좀 알려주세요.
config.php 소스입니다.
<?php
/**
* set the include of the class file and other environment configurations
*
* @file config/config.inc.php
* @author NHN (developers@xpressengine.com)
*/
if(version_compare(PHP_VERSION, '5.4.0', '<'))
{
@error_reporting(E_ALL ^ E_NOTICE ^ E_DEPRECATED);
}
else
{
@error_reporting(E_ALL ^ E_NOTICE ^ E_DEPRECATED ^ E_STRICT);
}
if(!defined('__XE__'))
{
exit();
}
/**
* @deprecated __ZBXE__ will be removed. Use __XE__ instead.
*/
define('__ZBXE__', __XE__);
/**
* Display XE's full version.
* The version should be revised when releasing even if no change is made.
* XE core's version name is designated development stage. Basically consist of 4 numbers. For example X.X.X.X.
* First position number means 'major' update.
* Second position number means 'minor' update.
* Third position number '0, 1, 2, 3' means 'status' update.
* Forth position number means 'patch' update.
* Third position number for status display is consist of 0~3 numbers.
* '0' means 'alpha' status.
* '1' means 'beta' status.
* '2' means 'release candidate' status.
* '3' means 'final' status.
*/
define('__XE_VERSION__', '1.7.3.0');
/**
* @deprecated __ZBXE_VERSION__ will be removed. Use __XE_VERSION__ instead.
*/
define('__ZBXE_VERSION__', __XE_VERSION__);
/**
* The base path to where you installed zbXE Wanted
*/
define('_XE_PATH_', str_replace('config/config.inc.php', '', str_replace('\\', '/', __FILE__)));
// Set can use other method instead cookie to store session id(for file upload)
ini_set('session.use_only_cookies', 0);
if(file_exists(_XE_PATH_ . 'config/package.inc.php'))
{
require _XE_PATH_ . 'config/package.inc.php';
}
else
{
/**
* Package type
*/
define('_XE_PACKAGE_', 'XE');
/**
* Location
*/
define('_XE_LOCATION_', 'en');
/**
* Location site
*/
define('_XE_LOCATION_SITE_', 'http://www.xpressengine.org/');
/**
* Download server
*/
define('_XE_DOWNLOAD_SERVER_', 'http://en.download.xpressengine.org/');
}
/*
* user configuration files which override the default settings
* save the following information into config/config.user.inc.php
* <?php
* define('__DEBUG__', 0);
* define('__DEBUG_OUTPUT__', 0);
* define('__DEBUG_PROTECT__', 1);
* define('__DEBUG_PROTECT_IP__', '127.0.0.1');
* define('__DEBUG_DB_OUTPUT__', 0);
* define('__LOG_SLOW_QUERY__', 0);
* define('__OB_GZHANDLER_ENABLE__', 1);
* define('__ENABLE_PHPUNIT_TEST__', 0);
* define('__PROXY_SERVER__', 'http://domain:port/path');
* define('__XE_CDN_PREFIX__', 'http://yourCdnDomain.com/path/');
* define('__XE_CDN_VERSION__', 'yourCdnVersion');
*/
if(file_exists(_XE_PATH_ . 'config/config.user.inc.php'))
{
require _XE_PATH_ . 'config/config.user.inc.php';
}
if(!defined('__DEBUG__'))
{
/**
* output debug message(bit value)
*
* <pre>
* 0: generate debug messages/not display
* 1: display messages through debugPrint() function
* 2: output execute time, Request/Response info
* 4: output DB query history
* </pre>
*/
define('__DEBUG__', 0);
}
if(!defined('__DEBUG_OUTPUT__'))
{
/**
* output location of debug message
*
* <pre>
* 0: connect to the files/_debug_message.php and output
* 1: HTML output as a comment on the bottom (when response method is the HTML)
* 2: Firebug console output (PHP 4 & 5. Firebug/FirePHP plug-in required)
* </pre>
*/
define('__DEBUG_OUTPUT__', 0);
}
if(!defined('__DEBUG_PROTECT__'))
{
/**
* output comments of the firePHP console and browser
*
* <pre>
* 0: No limit (not recommended)
* 1: Allow only specified IP addresses
* </pre>
*/
define('__DEBUG_PROTECT__', 1);
}
if(!defined('__DEBUG_PROTECT_IP__'))
{
/**
* Set a ip address to allow debug
*/
define('__DEBUG_PROTECT_IP__', '127.0.0.1');
}
if(!defined('__DEBUG_DB_OUTPUT__'))
{
/**
* DB error message definition
*
* <pre>
* 0: No output
* 1: files/_debug_db_query.php connected to the output
* </pre>
*/
define('__DEBUG_DB_OUTPUT__', 0);
}
if(!defined('__LOG_SLOW_QUERY__'))
{
/**
* Query log for only timeout query among DB queries
*
* <pre>
* 0: Do not leave a log
* = 0: leave a log when the slow query takes over specified seconds
* Log file is saved as ./files/_db_slow_query.php file
* </pre>
*/
define('__LOG_SLOW_QUERY__', 0);
}
if(!defined('__DEBUG_QUERY__'))
{
/**
* Leave DB query information
*
* <pre>
* 0: Do not add information to the query
* 1: Comment the XML Query ID
* </pre>
*/
define('__DEBUG_QUERY__', 0);
}
if(!defined('__OB_GZHANDLER_ENABLE__'))
{
/**
* option to enable/disable a compression feature using ob_gzhandler
*
* <pre>
* 0: Not used
* 1: Enabled
* Only particular servers may have a problem in IE browser when sending a compression
* </pre>
*/
define('__OB_GZHANDLER_ENABLE__', 1);
}
if(!defined('__ENABLE_PHPUNIT_TEST__'))
{
/**
* decide to use/not use the php unit test (Path/tests/index.php)
*
* <pre>
* 0: Not used
* 1: Enabled
* </pre>
*/
define('__ENABLE_PHPUNIT_TEST__', 0);
}
if(!defined('__PROXY_SERVER__'))
{
/**
* __PROXY_SERVER__ has server information to request to the external through the target server
* FileHandler:: getRemoteResource uses the constant
*/
define('__PROXY_SERVER__', NULL);
}
if(!defined('__XE_CDN_PREFIX__'))
{
/**
* CDN prefix
*/
define('__XE_CDN_PREFIX__', 'http://static.xpressengine.com/core/');
}
if(!defined('__XE_CDN_VERSION__'))
{
/**
* CDN version
*/
define('__XE_CDN_VERSION__', 'treat');
}
// Require specific files when using Firebug console output
if((__DEBUG_OUTPUT__ == 2) && version_compare(PHP_VERSION, '6.0.0') === -1)
{
require _XE_PATH_ . 'libs/FirePHPCore/FirePHP.class.php';
}
// Set Timezone as server time
if(version_compare(PHP_VERSION, '5.3.0') >= 0)
{
date_default_timezone_set(@date_default_timezone_get());
}
if(!defined('__XE_LOADED_CLASS__'))
{
// Require a function-defined-file for simple use
require(_XE_PATH_ . 'config/func.inc.php');
if(__DEBUG__)
define('__StartTime__', getMicroTime());
// include the class files
//TODO When _autoload() can be used for PHP5 based applications, it will be removed.
if(__DEBUG__)
define('__ClassLoadStartTime__', getMicroTime());
require(_XE_PATH_ . 'classes/object/Object.class.php');
require(_XE_PATH_ . 'classes/extravar/Extravar.class.php');
require(_XE_PATH_ . 'classes/handler/Handler.class.php');
require(_XE_PATH_ . 'classes/xml/XmlParser.class.php');
require(_XE_PATH_ . 'classes/xml/XmlGenerator.class.php');
require(_XE_PATH_ . 'classes/xml/XmlJsFilter.class.php');
require(_XE_PATH_ . 'classes/xml/XmlLangParser.class.php');
require(_XE_PATH_ . 'classes/cache/CacheHandler.class.php');
require(_XE_PATH_ . 'classes/context/Context.class.php');
require(_XE_PATH_ . 'classes/db/DB.class.php');
require(_XE_PATH_ . 'classes/file/FileHandler.class.php');
require(_XE_PATH_ . 'classes/widget/WidgetHandler.class.php');
require(_XE_PATH_ . 'classes/editor/EditorHandler.class.php');
require(_XE_PATH_ . 'classes/module/ModuleObject.class.php');
require(_XE_PATH_ . 'classes/module/ModuleHandler.class.php');
require(_XE_PATH_ . 'classes/display/DisplayHandler.class.php');
require(_XE_PATH_ . 'classes/template/TemplateHandler.class.php');
require(_XE_PATH_ . 'classes/mail/Mail.class.php');
require(_XE_PATH_ . 'classes/page/PageHandler.class.php');
require(_XE_PATH_ . 'classes/mobile/Mobile.class.php');
require(_XE_PATH_ . 'classes/validator/Validator.class.php');
require(_XE_PATH_ . 'classes/frontendfile/FrontEndFileHandler.class.php');
require(_XE_PATH_ . 'classes/security/Security.class.php');
if(__DEBUG__)
$GLOBALS['__elapsed_class_load__'] = getMicroTime() - __ClassLoadStartTime__;
}
/* End of file config.inc.php */
/* Location: ./config/config.inc.php */
댓글 0
글쓴이 | 제목 | 최종 글 |
---|---|---|
XE | 공지 글 쓰기,삭제 운영방식 변경 공지 [16] | 2019.03.05 by 남기남 |
태rry | 게시판 모듈 생성후 list 말고 write_from.html 먼저 호출하기 | |
야마돌끼 | 테이블 내부에 테이블 넣기 질문입니다. | |
아빠별 | bodex 게시판 본문은 레이아웃 설정안되게.. | |
릭키님 | 스케치북5 게시판 본문 제목이 안뜨네요.. | |
ling733 | xe 1.7.3 DB경로에 문제 좀 찾아주세요. | |
byJW |
이 부분을 편집하고 싶은데 어디서 건드려야 하나요?
[1]
![]() | 2013.04.02 by 송동우 |
DJ쿤타 | 레이아웃을 PXE_clio 배경 어떻게 바꾸는지요.. [1] | 2013.04.02 by 송동우 |
서기에요 |
info 질문이요~~
[1]
![]() | 2013.04.02 by 송동우 |
야마돌끼 | 유동적 테이블생성 질문입니다. | |
매직헌터 | 1.7.3.0 업데이트 후 기본레이아웃 ie9에서 서브메뉴 오류 [1] | 2013.04.02 by 서기에요 |
rosery | 홈페이지 접속이 안 됩니다.. | |
손주사랑 | ftp에서 삭제한폴더 어떻게 찾나요? [1] | 2013.04.02 by KANTSOFT |
허당마스터 | XE 설치환경 중에. 궁금증... [1] | 2013.04.02 by KANTSOFT |
콩씨 | 타이틀 제목 고정하는법 [1] | 2013.04.02 by KANTSOFT |
심정운 | files- caches 폴더에 대해서 궁금해요~ [2] | 2013.04.02 by pentopen |
어렵당Uyou | 송동우님 팁중에.. | |
오락실주인 |
모바일 동영상사이즈 질문
![]() | |
yung09 |
xe 1.7.3.0, 게시판1.7.0에서 카테고리 설정..
![]() | |
Allon | 1.7버전을 올려보았는데 [1] | 2013.04.02 by yung09 |
Allon | xe core 설치시. [1] | 2013.04.02 by KANTSOFT |