【发布时间】:2010-12-13 11:56:18
【问题描述】:
Warning (2): strtotime() [function.strtotime]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Asia/Calcutta' for '5.5/no DST' instead [CORE\cake\libs\cache.php, line 570]
Code | Context
$settings = array(
"engine" => "File",
"path" => "C:\xampp\htdocs\cakephp\app\tmp\cache\persistent\",
"prefix" => "cake_core_",
"lock" => false,
"serialize" => true,
"isWindows" => true,
"duration" => "+10 seconds",
"probability" => 100
)
strtotime - [internal], line ??
CacheEngine::init() - CORE\cake\libs\cache.php, line 570
FileEngine::init() - CORE\cake\libs\cache\file.php, line 81
Cache::_buildEngine() - CORE\cake\libs\cache.php, line 151
Cache::config() - CORE\cake\libs\cache.php, line 126
Configure::__loadBootstrap() - CORE\cake\libs\configure.php, line 421
Configure::getInstance() - CORE\cake\libs\configure.php, line 52
include - CORE\cake\bootstrap.php, line 38
[main] - APP\webroot\index.php, line 76
Notice: Trying to get property of non-object in C:\xampp\htdocs\cakephp\cake\libs\cache\file.php on line 248
Fatal error: Call to a member function cd() on a non-object in C:\xampp\htdocs\cakephp\cake\libs\cache\file.php on line 248
【问题讨论】:
-
……是吗?你也想提出一个问题吗?
-
幸运的是,我能够从其他无用的错误消息转储中得出问题,我可以理解为什么普通人可能会遇到麻烦 :-) 也许,鉴于 SO 是一个问答网站,你应该问一个问题。
标签: cakephp