【发布时间】:2010-06-15 00:05:31
【问题描述】:
我正在尝试为我正在使用的网站生成 .po 文件。当我从控制台目录中运行此命令时:
Warning: 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 'America/Los_Angeles' for 'PDT/-7.0/DST' instead in /Users/bkelly/Development/[redacted]/www/trunk/about/trunk/cake/libs/cache.php on line 570
Warning: 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 'America/Los_Angeles' for 'PDT/-7.0/DST' instead in /Users/bkelly/Development/[redacted]/www/trunk/about/trunk/cake/libs/cache.php on line 570
Error: Class Il8nShell could not be loaded.
如果我发出 ./cake il8n help 也会发生这种情况。 bake 控制台似乎可以正常加载(没有错误,将我带到预期的菜单)。我在 Mac OSX 10.6(使用 MAMP)下运行 CakePHP 1.3.0。否则蛋糕似乎运作正常。
谢谢!
【问题讨论】:
标签: php cakephp internationalization cakephp-1.3