Senteevs Posted October 7, 2009 Share Posted October 7, 2009 Hello.I'm desperately trying to install Prestashop but I'm running into two problems during setup.1. At Step 2 I get only one error, which is at "Allowed to create new files and folders". I've read all topics regarding this problem but found no solution. All directories have been chmod'ed to 777 without any results. My web host assures me that PHP scripts can write and create files. I've run a script to check if that is true and the result was positive.I was able to circumvent the problem by edditing the ConfigurationTest.php file and changing the lines: static function test_system($funcs) { foreach ($funcs AS $func) if (!function_exists($func)) return false; return true; } to static function test_system($funcs) { foreach ($funcs AS $func) if (!function_exists($func)) return true; return true; } This "hack" allows me to continue the installation to Spet 3 where the second problem appears.2. When i click the Next button to advance to Step 4, i get the error that "Can't write settings file, please create a file named settings.inc.php in config directory." I created the file manually ad chmod'ed it to 777. It still won't write the data. I noticed that, once i press the Next button and it should save the configuration, the settings.inc.php files' permissions ar set to 644 and the can't write error appears once again. What's up with that?Hope to get a solution.Thanks. Link to comment Share on other sites More sharing options...
TropischBruin Posted October 7, 2009 Share Posted October 7, 2009 Whatever your host is saying, it is still a rights issue.I have an host who has 755 on dirs and 644 on files and no problems with the install-script.It could be that the user you check the rights on is NOT the same user that installs PS.Sometimes this problem happens and is known as php-safe-mode, talk to your hoster. Link to comment Share on other sites More sharing options...
Senteevs Posted October 7, 2009 Author Share Posted October 7, 2009 As far as I know PHP Safe-Mode is enabled. Is this a deal breaker of is there still a way to install prestashop? Link to comment Share on other sites More sharing options...
TropischBruin Posted October 7, 2009 Share Posted October 7, 2009 As far as I know PHP Safe-Mode is enabled. Is this a deal breaker of is there still a way to install prestashop? If php-safe-mode is enabled this could be your probleem....., but I'm not sure if PS is php-safe-mode friendly.Talk to you hoster. 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