support

Critical Error re language code - need help in fixing

Started by buddahboy, December 08, 2013, 06:55:07 PM

Previous topic - Next topic

buddahboy

Greetings,

Today I got the following error in message manager:

Error! Default language with code "en" is not available or disabled. Loading English language to keep system operating. Check your settings for default language. in /home/*****/public_html/core/engine/language.php on line 279


These are lines 276 - 280 but don't know how to proceed - would appreciate a hand please. 

// check if is code of enabled language
      if (!isset($languages[$lang_code])) {
         $lang_code = key($languages);
         $error = new AError('Error! Default language with code "' . $lang_code . '" is not available or disabled. Loading ' . $languages[$lang_code]['name'] . ' language to keep system operating. Check your settings for default language.');
         $error->toLog()->toDebug()->toMessages();

I have not had this error since launching, only happened today - site has been online since 11/26. 

Thank you in advance, as always I greatly appreciate the assistance received here. 

All the best
Ron
AbanteCart is one hell of a shopping cart.  Donate once in a while and keep the development plus support going.  --  That's my opinion and I'm stickin' to it!

abolabo

hm...did you disabled english language on admin side?
"No one is useless in this world who lightens the burdens of another."
― Charles Dickens

buddahboy

Good Day Abolabo - no changes were made, no.  Shop has been working perfectly and this just cropped up.  I must say that this error has, so far, just shown up once - yesterday 2013-12-08 13:40:36

Do you have any suggestions or do you think it was just an isolated occurrence? 

Thanks much once more

Ron
AbanteCart is one hell of a shopping cart.  Donate once in a while and keep the development plus support going.  --  That's my opinion and I'm stickin' to it!

abantecart

Check that English language was not disabled by accident.
Please  rate your experience or leave your review
We need your help to build better free open source ecommerce platform for everyone. See how you can help

buddahboy

Hello again abantecart - no, the english language is not disabled, checked it when i first noticed that message and checked it again.  This is a doozy ain't it? 

Thank you
Ron
AbanteCart is one hell of a shopping cart.  Donate once in a while and keep the development plus support going.  --  That's my opinion and I'm stickin' to it!

buddahboy

Good day - I'm just following up on this with information in case it will be useful to somebody one day. 

This notification of an app error happened on 12/8 and has not reoccured since.  I think it may just be a fluke and not a permanent error.  Anyway, I've not seen any other errors to date - and it's been nearly one week. 

That's it - report over and out.

All the best and thanks
Ron
AbanteCart is one hell of a shopping cart.  Donate once in a while and keep the development plus support going.  --  That's my opinion and I'm stickin' to it!

Forum Rules Code of conduct
AbanteCart.com 2010 -