my bad i forgot to mention that find php.ini file set  Timezone and i
had the same issue

On Sep 18, 1:18 pm, Simon <[email protected]> wrote:
> try this
>
> go to c/xampp/apache/conf/  open file name httpd.conf  find this
> #LoadModule rewrite_module modules/mod_rewrite.so  remove the # and
> find
>
> <Directory />
>     Options FollowSymLinks
>     AllowOverride none
>     Order deny,allow
>     Deny from all
> </Directory>
>
> set  AllowOverride to all form none
>
> On Sep 18, 9:35 am, brian <[email protected]> wrote:
>
>
>
> > Raghu, it appears to me that this is a PHP--not CakePHP--warning. it's
> > possible that your computer has a misconfiguration. Although, I admit
> > that I'm not familiar with this warning, so that's just a guess. I'm
> > also not very familiar with Windows timezone settings.
>
> > Try creating a regular PHP script with the following:
>
> > <?php
> > error_reporting(E_ALL);
> > ini_set('display_errors', '1');
> > echo strtotime('+10 seconds');
>
> > If you see a similar warning, I suggest you post this question to the
> > PHP mailing list (use a more descriptive subject, though, or you may
> > not receive many responses).
>
> >http://www.php.net/mailing-lists.php
>
> > On Fri, Sep 18, 2009 at 9:46 AM, Raghu <[email protected]> wrote:
>
> > > Hi Fnds,
>
> > > I'm new to cakephp, and I'm able to setup cake env. But while
> > > developing blog app, I'm getting the follwoing warnings with no
> > > result.
> > > I'm using Cake 1.2.5 and XAMP 1.7.2(PHP 5.3)  , Please let me know any
> > > clue to resolve this issue.
>
> > > One more thing point is  , I worked on RubyOnRail long time back. The
> > > docs,command scaffold creation is very simple and easy to understand.
> > > I home Cake also will reach much easier levels soon.
>
> > > ============
> > > Warning: 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 in J:\PHP
> > > \cake_1.2.5\cake\libs\cache.php on line 429
>
> > > 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 429]
>
> > > Code | Context
>
> > > $settings       =       array(
> > >        "engine" => "File",
> > >        "path" => "J:\xampp\htdocs\blog\myapp\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 429
> > > FileEngine::init() - CORE\cake\libs\cache\file.php, line 84
> > > Cache::set() - CORE\cake\libs\cache.php, line 195
> > > Cache::config() - CORE\cake\libs\cache.php, line 131
> > > Configure::__loadBootstrap() - CORE\cake\libs\configure.php, line 684
> > > Configure::getInstance() - CORE\cake\libs\configure.php, line 137
> > > include - CORE\cake\bootstrap.php, line 47
> > > [main] - APP\webroot\index.php, line 81
>
> > > Warning: date() [function.date]: 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 in J:\PHP
> > > \cake_1.2.5\cake\libs\cake_log.php on line 94
> > > css('default'); ?>
> > > (default) 0 query took ms Nr    Query   Error   Affected        Num. rows 
> > >       Took (ms)- Hide quoted text -
>
> > - Show quoted text -- Hide quoted text -
>
> - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to