AbanteCart Community
Shopping Cart Operations => Support => General Support => Topic started by: buddahboy 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
-
hm...did you disabled english language on admin side?
-
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
-
Check that English language was not disabled by accident.
-
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
-
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