rimokafukudo Posted December 12, 2015 Share Posted December 12, 2015 (edited) I downloaded the latest version 1.6.1.3 of PrestaShop, then put it in the htdocs. Then I get the url localhost/prestashop. It shows the install folder: http://localhost/prestashop/install. But the installation doesn't appear as the installation guide of prestashop.com. When I try to access the wordpress: localhost/wordpress. It shows the installation normally. What's wrong with my steps? Edited December 12, 2015 by rimokafukudo (see edit history) Link to comment Share on other sites More sharing options...
rimokafukudo Posted December 12, 2015 Author Share Posted December 12, 2015 PROBLEM SOLVED OMG, after an hour traveling around the forum, I finally find the reasons and the solution of my problem. 1. Find this file: $_PATH\config\defines.inc.php Open this defines.inc.php file, modify line 29: from define('_PS_MODE_DEV_', false); to define('_PS_MODE_DEV_', true); It will show the problem on the webpage. In my situation, The webpage is blank, actually It has error as follow: 2. Find this file: $_PATH\classes\PrestaShopAutoload.php Open the PrestaShopAutoload.php file, modify line 168 (in my situation): from: Tools::error_log('Cannot write temporary file '.$filename_tmp); to: //Tools::error_log('Cannot write temporary file '.$filename_tmp); Then, the installation now shows itself normally. I don't know what happen to this problem, maybe PrestaShop should fix this problem. 1 Link to comment Share on other sites More sharing options...
rimokafukudo Posted December 12, 2015 Author Share Posted December 12, 2015 Recursive write permissions for Apache user Solution for that problem when installing the PrestaShop: 1. You need to know what user/groups using in apache server: Open Terminal User: $ APACHE_USER=$(ps axho user,comm|grep -E "httpd|apache"|uniq|grep -v "root"|awk 'END {if ($1) print $1}') $ echo $APACHE_USER It shows the apache user: for example: admin Group: $ APACHE_GROUP=$(ps axho group,comm|grep -E "httpd|apache"|uniq|grep -v "root"|awk 'END {if ($1) print $1}') $ echo $APACHE_GROUP It shows the apache group: for example: admin 2. Access to your prestashop project, for example: $ cd /Applications/XAMPP/xamppfiles/htdocs/prestashop/ $ sudo chown -R admin:admin * Now the problem is solved. You can now continuing your installation. Link to comment Share on other sites More sharing options...
awiwi Posted January 21, 2017 Share Posted January 21, 2017 (edited) Hello!! i had the same problem but now im stuck in the terminal stepts, for some reason my terminal dont detects the $ command :/ what can i do? Edited January 21, 2017 by awiwi (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now