cake-php@googlegroups.com
[Top] [All Lists]

Re: Fatal Error and warnings on cakephp core with PHP 5.3

Subject: Re: Fatal Error and warnings on cakephp core with PHP 5.3
From: cricket
Date: Sat, 13 Nov 2010 14:57:09 -0500
On Sat, Nov 13, 2010 at 9:12 AM, marco.rizzetto@xxxxxxxxx
<marco.rizzetto@xxxxxxxxx> wrote:
> Hi
> I have downloaded cakephp 1.3.5.0 and I have PHP 5.3.3
> I have unzip cake and I try to see if it works correctly and I get
> this errors :
>
> 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 'Europe/Paris' for '1.0/no DST' instead [CORE\cake\libs
> \cache.php, line 570]
>
> Notice: Trying to get property of non-object in C:\htdocs\cakephp
> \cake_1.3.5.0\cake\libs\cache\file.php on line 248
>
> Fatal error: Call to a member function cd() on a non-object in C:
> \htdocs\cakephp\cake_core\cake_1.3.5.0\cake\libs\cache\file.php on
> line 248
>
> Can someone give me any suggestions about what kind of errors are
> these?
> Many Thanks

What are the Cache::config(...) lines you have in core.php? If you're
using the defaults, you probably have timezone settings mis-configured
in your OS. I can't help you with Windows, though.

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@xxxxxxxxxxxxxxxx
To unsubscribe from this group, send email to
cake-php+unsubscribe@xxxxxxxxxxxxxxxx For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en

<Prev in Thread] Current Thread [Next in Thread>