我正在尝试为我正在使用的网站生成 .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。蛋糕似乎在其他方面正常运作。
谢谢!