Exception: FLEA_Exception_CacheDisabled
Message: 缓存功能被禁用,通常这是因为没有指定应用程序设置 internalCacheDir 选项,或者 internalCacheDir 设置指定的目录不可写入文件.
Filename: /usr/home/xyu4880150001/htdocs/apps/boot.php [59]
#4 FLEA::writeCache('config.front.development', array(36), 1)
ARGS:
Array
(
[0] => config.front.development
[1] => Array
(
[company] => 最优网络(www.zui88.com)
[appName] => 最优网站后台系统
[appVersion] => 3.0
[customer] =>
[defaultLanguage] => cn
[languages] => Array
(
[cn] => 简体中文
)
[productPhoto] => Array
(
[otherPicture] => 0
[hasPrice] =>
)
[catePhoto] => Array
(
[thumbWidth] => 222
[thumbHeight] => 128
)
[file] => Array
(
[fileType] => .rar/.zip/.doc/.xls/.txt/.pdf/.ppt/.gif/.png/.jpg
[maxsize] => 3145728
)
[urlLowerChar] => 1
[urlAlwaysUseAccessor] =>
[internalCacheDir] => /usr/home/xyu4880150001/htdocs/cache/runtime
[logFileDir] => /usr/home/xyu4880150001/htdocs/cache/log
[webControlsExtendsDir] => Array
(
[0] => /usr/home/xyu4880150001/htdocs/apps/common/WebControl
[1] => /usr/home/xyu4880150001/htdocs/apps/front/WebControl
)
[uploadDir] => uploads/
[uploadPath] => /usr/home/xyu4880150001/htdocs/uploads/
[dataDir] => data/
[dataPath] => /usr/home/xyu4880150001/htdocs/data/
[logFilename] => front_access.log
[logEnabled] =>
[responseCharset] => utf-8
[dbDSN] => Array
(
[driver] => mysql
[host] => xdm699132530.my3w.com
[login] => xdm699132530
[password] => As123456
[database] => xdm699132530_db
[port] => 3306
[charset] => utf8
)
[dbTablePrefix] => youtingquan_
[displayErrors] => 1
[friendlyErrorsMessage] => 1
[lifetime] => 0
[defaultController] => Home
[controllerAccessor] => mod
[actionAccessor] => do
[autoSessionStart] => 1
[themeDir] => themes/default
[view] => FLEA_View_Smarty
[viewConfig] => Array
(
[smartyDir] => /usr/home/xyu4880150001/htdocs/libs/Smarty
[template_dir] => /usr/home/xyu4880150001/htdocs/themes/default
[compile_dir] => /usr/home/xyu4880150001/htdocs/cache/tmp
[left_delimiter] => {{
[right_delimiter] => }}
)
[multiLanguageSupport] => 1
[languageFilesDir] => /usr/home/xyu4880150001/htdocs/data/language
[urlAlwaysUseBootstrap] =>
)
[2] => 1
)
SOURCE CODE:
49 |
$files[] = ROOT_DIR . '/config/' . $app . '/modules.php';
|
50 |
}
|
51 |
|
52 |
$config = array();
|
53 |
foreach ($files as $filename) {
|
54 |
if (!file_exists($filename)) { continue; }
|
55 |
$contents = include $filename;
|
56 |
$config = array_merge_recursive($config, $contents);
|
57 |
}
|
58 |
|
59 |
FLEA::writeCache($cacheid, $config, true);
|
60 |
|
61 |
return $config;
|
62 |
}
|
63 |
|
Filename: /usr/home/xyu4880150001/htdocs/apps/application.php [53]
#3 load_config('front')
ARGS:
Array
(
[0] => front
)
SOURCE CODE:
43 |
* 载入库文件
|
44 |
*/
|
45 |
include_once(ROOT_DIR . '/libs/FLEA/FLEA.php');
|
46 |
/**
|
47 |
* 载入配置文件
|
48 |
*/
|
49 |
require_once ROOT_DIR . '/apps/boot.php';
|
50 |
/**
|
51 |
* 写入配置
|
52 |
*/
|
53 |
FLEA::setAppInf( load_config( $this->_app ) );
|
54 |
/**
|
55 |
* 设置搜索目录
|
56 |
*/
|
57 |
FLEA::import( ROOT_DIR . '/apps/' . $app );
|
58 |
FLEA::import( ROOT_DIR . '/apps/common' );
|
59 |
FLEA::init();
|
60 |
FLEA::register( $this, 'application' );
|
61 |
}
|
62 |
|
63 |
/**
|
Filename: /usr/home/xyu4880150001/htdocs/apps/application.php [70]
#2 application::application('front')
ARGS:
Array
(
[0] => front
)
SOURCE CODE:
60 |
FLEA::register( $this, 'application' );
|
61 |
}
|
62 |
|
63 |
/**
|
64 |
* 以工厂方式实例化一个应用
|
65 |
*
|
66 |
* @param string $app
|
67 |
*/
|
68 |
static function factory($app)
|
69 |
{
|
70 |
return new application($app);
|
71 |
|
72 |
}
|
73 |
|
74 |
/**
|
75 |
* 运行框架
|
76 |
*
|
77 |
*/
|
78 |
function run()
|
79 |
{
|
80 |
FLEA::runMVC();
|
Filename: /usr/home/xyu4880150001/htdocs/index.php [27]
#1 application::factory('front')
ARGS:
Array
(
[0] => front
)
SOURCE CODE:
17 |
/**
|
18 |
* 载入应用入口
|
19 |
*/
|
20 |
require_once './apps/application.php';
|
21 |
/**
|
22 |
* 运行应用
|
23 |
*/
|
24 |
|
25 |
|
26 |
|
27 |
application::factory('front')->run();
|
28 |
|
29 |
|