Answer the question
In order to leave comments, you need to log in
Why does an error appear when installing PrestaShop 1.6.1.0 on OpenServer?
I downloaded the latest version of CMS PrestaShop 1.6.1.0 from the official site, unpacked the contents of the archive, into the OpenServer -> ../domains/sitename folder, opened the browser, started the installation, and at the last moment at 72%, the PrestaShop installation terminated with an error message.
Here it is:
Here are the OpenServer settings:
What I tried to do:
Re-downloaded the PestaShop archive and unpacked it into the desired OpenServer folder;
Changed OpenServer settings (versions of PHP, MySQL, Apache);
A trace appears in the PHP logs. line:
[10-Jul-2015 18:19:28 Europe/Moscow] PHP Warning: array_key_exists() expects parameter 2 to be array, null given in D:\OpenServer\domains\sitename\classes\Language.php on line 610
In the Language.php file, line 610 contains the following:
public static function getLanguage($id_lang)
{
if (!array_key_exists((int)$id_lang, self::$_LANGUAGES)) // 610 строка
return false;
return self::$_LANGUAGES[(int)($id_lang)];
}
Answer the question
In order to leave comments, you need to log in
It's a pity that there is no answer, I faced the same problem.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question