I
I
IgorBond2015-07-10 18:37:40
Prestashop
IgorBond, 2015-07-10 18:37:40

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:
1b433e4af8f1435fab4d089505112a56.png
Here are the OpenServer settings:
91508927353e41c98b5de336ea27fd71.pngWhat 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

2 answer(s)
V
Vladislav Rybakov, 2016-08-08
@vladrybak

It's a pity that there is no answer, I faced the same problem.

N
Nazar Kostiv, 2017-05-31
@nazarkostiv

click again a few times, it helped me

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question