خطأ في تحميل وحدة التحكم IL8N في CakePhP 1.3
-
27-09-2019 - |
سؤال
أحاول إنشاء ملفات .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
يبدو أن وحدة التحكم تعمل بشكل جيد (لا توجد أخطاء ، تأخذني إلى القائمة المتوقعة). أقوم بتشغيل CakePhP 1.3.0 تحت Mac OSX 10.6 (باستخدام MAMP). يبدو أن الكعكة تعمل بشكل طبيعي خلاف ذلك.
شكرًا!
المحلول
سيكون ذلك لأنه يسمى i18n (AI-eighteen-enn) ، وليس IL8N (AI-Eight-Enn). :)
قد يساعد في معرفة أن هذا أ اسم العدد من تدويل, ، استبدال الوسط 18 حرفًا مع "18". L10N يقف ل الموقع.
لا تنتمي إلى StackOverflow