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

What am I doing wrong?

Bent

Last edited by bbagger on Wed Dec 15, 2010 6:49 pm, edited 1 time in total.

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

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

Glad to help. I have to confess, I was stuck in exactly the same position as you were just on Monday this week, and once I decided to get rid of the warning message, I found the error message went away as well.

My next problem is that I can't get any of my controllers to work! I just get a 404 page not found. Sigh!

Good luck. Happy christmas.

Cheers,
Norm.

If at first you don't succeed, sky diving is probably not the sport for you.

I was very tempted to answer "That makes two of us", but then 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