- Code: Select all
Notice: Trying to get property of non-object in /srv/www/htdocs/cake/libs/cache/file.php on line 248 Fatal error: Call to a member function cd() on a non-object in /srv/www/htdocs/cake/libs/cache/file.php on line 248
Bent
Moderators: ChriThor, LXF moderators
Notice: Trying to get property of non-object in /srv/www/htdocs/cake/libs/cache/file.php on line 248 Fatal error: Call to a member function cd() on a non-object in /srv/www/htdocs/cake/libs/cache/file.php on line 248
I don't even get the green bars when I try to do the tutorial. I'm using CakePHP 1.3.6 and get a warning on timezone setting, which I ignore for the time being. Worse is this:
Warning (2): strtotime() [http://php.net/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 'Europe/Berlin' for 'CET/1.0/no DST' instead [CORE/cake/libs/cache.php, line 570]
Code | Context
$settings = array(
"engine" => "File",
"path" => "/srv/www/htdocs/app/tmp/cache/persistent/",
"prefix" => "cake_core_",
"lock" => false,
"serialize" => true,
"isWindows" => false,
"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
require - APP/webroot/index.php, line 76
[main] - CORE/index.php, line 55
Notice: Trying to get property of non-object in /srv/www/htdocs/cake/libs/cache/file.php on line 248 Fatal error: Call to a member function cd() on a non-object in /srv/www/htdocs/cake/libs/cache/file.php on line 248
bbagger wrote:Thanks a lot for your help
bbagger wrote:...I discovered that I did not have mod_rewrite loaded. Once I got that done, I got my controller working and am now down to the 'real' coding errors
Users browsing this forum: No registered users and 1 guest