Nope - sorry the locale changed because I tried changing it to see if it
will fix anything. But it didn't. It sounds like the problem is during
generation of the translations cache.
On Thursday, January 15, 2015 at 7:27:49 AM UTC-8, José Lorenzo wrote:
>
> But I guess the problem is not the cache, just that a random locale is
> being selected, no?
>
> On Thursday, January 15, 2015 at 3:36:48 PM UTC+1, HVan wrote:
>>
>> Yeah I've tried keeping it at en_US, and putting it blank. Neither
>> worked. Putting it blank would give me the en_US_POSIX locale (which is by
>> default).
>>
>> I've checked /tmp/cache/persistent and these files are generated and
>> exist when the error comes up.
>>
>> myapp_cake_core_translations_cake_en__u_us
>> myapp_cake_core_translations_debug_kit_en__u_us
>> myapp_cake_core_translations_default_en__u_us
>>
>> Though, at debug=true, those files are generated everytime.
>>
>> I went to bootstrap and set the default cache
>> (Configure::write(Cache._cake_model_.duration) and
>> Configure::write(Cache._cake_core_.duration) to +99 years even when in
>> debug mode but can't get those core translation files to cache; they are
>> still regenerated each time. I'm trying ot narrow down whether it's an
>> error when those 3 files are beign generated. Anyone know how to turn off
>> the cache for them?
>>
>> On Thursday, January 15, 2015 at 4:38:53 AM UTC-8, José Lorenzo wrote:
>>>
>>> Are you changing the default locale anywhere?
>>>
>>> If not I'd suggest setting ini_set('intl.default_locale', 'en_US'); in
>>> your bootstrap.php file
>>>
>>> On Wednesday, January 14, 2015 at 11:59:35 PM UTC+1, HVan wrote:
>>>>
>>>> Can't figure why I'm having this problem:
>>>>
>>>> Aura\Intl\Exception: Package 'cake' with locale 'en_US' is not
>>>> registered. in /vendor/aura/intl/src/Aura/Intl/PackageLocator.php on line
>>>> *96*
>>>>
>>>> I'm having that problem with debug_kit as well. I've just literally
>>>> created a project from scratch with composer. I also couldn't get plugin
>>>> routes working but that's a different story.
>>>>
>>>> Any clue what this could be? I've looked at everything and couldn't
>>>> figure it out.
>>>>
>>>> Thanks
>>>>
>>>
--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
---
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/d/optout.