Home >Backend Development >PHP Tutorial >Solution to the problem of failure to create an administrator account when installing Ecshop on this machine_PHP tutorial

Solution to the problem of failure to create an administrator account when installing Ecshop on this machine_PHP tutorial

WBOY
WBOYOriginal
2016-07-13 10:55:391147browse

This is a problem I encountered. This morning when I was developing something with an ec, I found that the administrator account failed to be created when installing Ecshop on my local machine. Let’s look at the solution below.

Modified line 411 or 412 of install/includes/lib_installer.php, remember the path must be correct
                         

The code is as follows
 代码如下 复制代码

include(ROOT_PATH . 'install/languages/' . $system_lang . '.php');
 替换成

include(ROOT_PATH . 'install/languages/zh_cn.php');

Copy code
include(ROOT_PATH . 'install/languages/' . $system_lang . '.php'); Replace with

include(ROOT_PATH . 'install/languages/zh_cn.php'); http://www.bkjia.com/PHPjc/632239.html
www.bkjia.comtrue
http: //www.bkjia.com/PHPjc/632239.htmlTechArticleThis is a problem I encountered. This morning when I was developing something with an ec, I found that it appeared when Ecshop was installed on the local machine. Failed to create an administrator account. See the solution below. Modified install/includes...
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn