Solutions for installing ecshop Common Errors

Source: Internet
Author: User
Example1 (Data Installation failed ):

Warning: date_default_timezone_get (): it is not safe to rely on the system's timezone settings. you are * required * to use the date. timezone setting or the date_default_timezone_set () function. in case you used any of those methods and you are still
Getting this warning, you most likely misspelled the timezone identifier. we selected 'utc' for '8. 0/No DST 'Instead in D: \ wapm \ www \ ecshop \ upload \ install \ des \ lib_installer.php on line 223
Warning: date_default_timezone_get (): it is not safe to rely on the system's timezone settings. you are * required * to use the date. timezone setting or the date_default_timezone_set () function. in case you used any of those methods and you are still getting
This warning, you most likely misspelled the timezone identifier. we selected 'utc' for '8. 0/No DST 'Instead in D: \ wapm \ www \ ecshop \ upload \ install \ des \ lib_installer.php on line 223

My error should be that there is no default time zone. It can be seen from the warning that it is due to a time zone problem. I found the \ upload \ install \ mongodes \ lib_installer.php file and added date_default_timezone_set ('Asia/Shanghai'). Then the installation was successful. You can use ecshop immediately.

 

Example2 (solution to ecshop Administrator Account creation failure ):

(1) modified lines 411 or 412 of install/cmddes/lib_installer.php. Remember that the path must be correct.

Include (root_path. 'Install/ages/'. $ system_lang.'. php ');

Replace

Include (root_path. 'Install/ages/zh_cn.php ');

And later.

(2) Modify PHP. ini. Open php5.ini to search for date. timezone. Remove the semicolon and change it to: Date. timezone = PRC.

 

Conclusion: Compared with discuz and Wordpress, the installation of ecshop is more complicated and is recorded here.

 

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.