Author Topic: Critical Error re language code - need help in fixing  (Read 13696 times)

Offline buddahboy

  • Full Member
  • ***
  • Posts: 234
  • Karma: +32/-0
    • View Profile
Critical Error re language code - need help in fixing
« on: December 08, 2013, 06:55:07 PM »
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!

Offline abolabo

  • core-developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 2174
  • Karma: +345/-13
  • web for all, all for web!
    • View Profile
    • AbanteCart
Re: Critical Error re language code - need help in fixing
« Reply #1 on: December 09, 2013, 11:39:14 AM »
hm...did you disabled english language on admin side?
“No one is useless in this world who lightens the burdens of another.”
― Charles Dickens

Offline buddahboy

  • Full Member
  • ***
  • Posts: 234
  • Karma: +32/-0
    • View Profile
Re: Critical Error re language code - need help in fixing
« Reply #2 on: December 09, 2013, 11:52:18 AM »
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!

Offline abantecart

  • Administrator
  • Hero Member
  • *****
  • Posts: 4367
  • Karma: +302/-10
    • View Profile
    • Ideal Open Source Ecommerce Solution
Re: Critical Error re language code - need help in fixing
« Reply #3 on: December 09, 2013, 10:54:03 PM »
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

Offline buddahboy

  • Full Member
  • ***
  • Posts: 234
  • Karma: +32/-0
    • View Profile
Re: Critical Error re language code - need help in fixing
« Reply #4 on: December 09, 2013, 11:12:08 PM »
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!

Offline buddahboy

  • Full Member
  • ***
  • Posts: 234
  • Karma: +32/-0
    • View Profile
Re: Critical Error re language code - need help in fixing
« Reply #5 on: December 14, 2013, 10:10:40 AM »
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!

 

Powered by SMFPacks Social Login Mod