jimboh Posted March 28, 2013 Share Posted March 28, 2013 (edited) Hi guys, I tried to install the new release 1.5.4 and I failed at the following error message, see below the red marked text. We are currently checking PrestaShop compatibility with your system environment If you have any questions, please visit our documentation and community forum. Oops! Please correct the item(s) below, and then click "Refresh information" to test the compatibility of your new system. PHP parameters: Your PHP sessions path is not writable - check with your hosting provider: /tmp Your help is greatly appreciated. Thanks in advance. I already contacted the hosting provider and he said it´s a issue with the script and the temp path?! Edited March 28, 2013 by jimboh (see edit history) Link to comment Share on other sites More sharing options...
shacker Posted March 28, 2013 Share Posted March 28, 2013 maybe, is the tmp folder with 777 permissons? Link to comment Share on other sites More sharing options...
jimboh Posted March 29, 2013 Author Share Posted March 29, 2013 Hi shacker, I tried the 755 and the 777 permissions, if you mean the tmp folder in prestashop/img/tmp, it did not work. Link to comment Share on other sites More sharing options...
shacker Posted March 29, 2013 Share Posted March 29, 2013 no, in the root directory of prestashop, if dont have, create one Link to comment Share on other sites More sharing options...
jimboh Posted March 29, 2013 Author Share Posted March 29, 2013 Ok, I create now a folder and it looks like the foolowing_ html/prestashop/tmp and I tried different permissions but it doesn´t work. Link to comment Share on other sites More sharing options...
El Patron Posted March 29, 2013 Share Posted March 29, 2013 sounds to me like your hosting may not run your site as user (as it concerns permissions). this for any permissions less that 777... when you post that you created a new folder, please tell us the permissions that you see.... Link to comment Share on other sites More sharing options...
jimboh Posted March 29, 2013 Author Share Posted March 29, 2013 (edited) 755 is preseted, if I created the folder tmp in the folder pestashop. I also tried 777. Edited March 29, 2013 by jimboh (see edit history) Link to comment Share on other sites More sharing options...
El Patron Posted March 29, 2013 Share Posted March 29, 2013 why I did not google this is beyond me http://forge.prestashop.com/browse/PSCFV-8474 Link to comment Share on other sites More sharing options...
tdr170 Posted March 29, 2013 Share Posted March 29, 2013 You can not just create a temp folder in the root and expect it to work, you need to edit your PHP.ini file and give a path to the temp file under sessions.save_path. ; where MODE is the octal representation of the mode. Note that this ; does not overwrite the process's umask. session.save_path = /home/users/web/b1447/ipg.youraccount/cgi-bin/tmp You probably should call your host and ask them to do this for you Link to comment Share on other sites More sharing options...
jimboh Posted March 29, 2013 Author Share Posted March 29, 2013 Hi guys, first I tried the tip of elpatron, I edited the two scripts but nothing changed. Than I contact my host and this was the answer: Access to the / tmp folder is in a shared hosting environment not possible. You can only access folders in your directory structure, so it is necessary to adjust the path in the script itself. What I have to do now or better which file should be edited in which row? Thanks for your help. 1 Link to comment Share on other sites More sharing options...
tdr170 Posted March 29, 2013 Share Posted March 29, 2013 I posted this above the trick is to know the correct path from you host to the cgl-bin folder which should be in the root of your directory. The file that need to be edited is the PHP.ini file and is possibly accessible from your control panel if not then call your host again and ask them to set the sessions.save_path in the PHP.ini file. Link to comment Share on other sites More sharing options...
shacker Posted March 29, 2013 Share Posted March 29, 2013 maybe your host support the creation of a ini file in the root directory. you need to ask Link to comment Share on other sites More sharing options...
fng77 Posted March 29, 2013 Share Posted March 29, 2013 Hi guys, first I tried the tip of elpatron, I edited the two scripts but nothing changed. Than I contact my host and this was the answer: Access to the / tmp folder is in a shared hosting environment not possible. You can only access folders in your directory structure, so it is necessary to adjust the path in the script itself. What I have to do now or better which file should be edited in which row? Thanks for your help. I have the exact same problem. 1 Link to comment Share on other sites More sharing options...
jimboh Posted March 29, 2013 Author Share Posted March 29, 2013 Hello guys again, I ask the host support again and they answered the same as I wrote before: "The way of the php.ini file is not possible. Normally, this can be adjusted within the script" Access to the / tmp folder is in a shared hosting environment not possible. You can only access folders in your directory structure, so it is necessary to adjust the path in the script itself. Who can help fng77 and me? 1 Link to comment Share on other sites More sharing options...
fng77 Posted March 29, 2013 Share Posted March 29, 2013 Hello guys again, I ask the host support again and they answered the same as I wrote before: "The way of the php.ini file is not possible. Normally, this can be adjusted within the script" Access to the / tmp folder is in a shared hosting environment not possible. You can only access folders in your directory structure, so it is necessary to adjust the path in the script itself. Who can help fng77 and me? Yes! Please help us to fix this. We want to install 1.5.4! Link to comment Share on other sites More sharing options...
branov Posted March 31, 2013 Share Posted March 31, 2013 We have same problem with our clients. On servers we running memcached for sassion.save_path and installation wont continiu due to write to session problem. We tried to change session.save_path to file but with same error. Link to comment Share on other sites More sharing options...
fng77 Posted April 1, 2013 Share Posted April 1, 2013 Bump Link to comment Share on other sites More sharing options...
shacker Posted April 1, 2013 Share Posted April 1, 2013 check the controllers/http/system.php and you get the @ini_get('session.save_path'); you can configure the route of the session like in the php manual http://www.php.net/manual/en/function.session-save-path.php Link to comment Share on other sites More sharing options...
DreamOn2003 Posted April 1, 2013 Share Posted April 1, 2013 Isn't it simpler to change the install script? My sessions dir is writable, I think: 3 drwxrwxrwt 2 root apache 3072 Apr 1 15:47 session Looking at the date/time the Prestashop installer was in there (?) 1 Link to comment Share on other sites More sharing options...
tdr170 Posted April 1, 2013 Share Posted April 1, 2013 (edited) I gave all of you the answer in my post above, you need to edit your session.save_path and give it a path similar to above. This has worked for others and should work for you, the path as it is in the standard PHP.ini file points to no where and may even be commented out this is the root of the not writable error. ; where MODE is the octal representation of the mode. Note that this ; does not overwrite the process's umask. ; session.save_path = "N;MODE;/path" It needs a path like this: ; where MODE is the octal representation of the mode. Note that this ; does not overwrite the process's umask. session.save_path = /home/users/web/b1447/ipg.teamshepherdusa/cgi-bin/tmp Notice that the path is not my actual url as you would type it into a browser but is the document root given by my host. My actual URL is team-shepherdusa.com, In my case I could not install 1.5 as the install would roll back to Step 1 after clicking next on step 2. I believe they have added script to the install to show this error as so many people were having issues with this. You probably can find this path in your control panel, mine is displayed under system settings with other info about my account and is under the heading Document root. I have written and helped many people with just this fix, if you do a forum search you will find the other post. Edited April 1, 2013 by tdr170 (see edit history) Link to comment Share on other sites More sharing options...
tdr170 Posted April 2, 2013 Share Posted April 2, 2013 Found this today may help some of you with the Install of Prestashop. http://forge.prestashop.com/browse/PSCFV-8474 Link to comment Share on other sites More sharing options...
16mann_de Posted April 7, 2013 Share Posted April 7, 2013 Hello everyone, I solved this issue adding one line of code to install/models/system.php Put this as first line and you should not see the error: ini_set('session.save_path','/var/www/webXXX/phptmp/'); The path '/var/www/webXXX/phptmp/' is different from server to server. Ask your provider or check it with creating a phpinfo.php file: <?php phpinfo(); ?> save this file, open it in your browser and search for " upload_tmp_dir ". Feel free to ask me if there are any errors. Irfan Cütcü Link to comment Share on other sites More sharing options...
markjl Posted April 9, 2013 Share Posted April 9, 2013 (edited) Hello I've got that exact same error right now. Did you get a resolution? Tx I followed instructions above and got 'no value' for upload_tmp_dir Edited April 9, 2013 by markjl (see edit history) Link to comment Share on other sites More sharing options...
16mann_de Posted April 9, 2013 Share Posted April 9, 2013 (edited) For me this works. Try to search for session.save_path or open_basedir in phpinfo.php. There should be the path to your tmp folder as well. Edited April 9, 2013 by 16mann_de (see edit history) Link to comment Share on other sites More sharing options...
shacker Posted April 9, 2013 Share Posted April 9, 2013 nice! Link to comment Share on other sites More sharing options...
benwiggy Posted April 20, 2013 Share Posted April 20, 2013 There needs to be a fix TO PRESTASHOP for this problem, not an alteration of my ISP's config files. I've installed previous versions of 1.5, and 1.4 and 1.3, so this is a problem with Prestashop. Link to comment Share on other sites More sharing options...
threeopus3 Posted April 24, 2013 Share Posted April 24, 2013 Step 2 of the installer script and I'm already pulling my hair out. This is not looking good. Link to comment Share on other sites More sharing options...
bellini13 Posted May 1, 2013 Share Posted May 1, 2013 Found this today may help some of you with the Install of Prestashop. http://forge.prestas...owse/PSCFV-8474 seriously people, read the thread. The solution has been posted twice already in this topic. Prestashop has addressed the issue in the bug report. Link to comment Share on other sites More sharing options...
benjamin utterback Posted May 1, 2013 Share Posted May 1, 2013 Step 2 of the installer script and I'm already pulling my hair out. This is not looking good. Hi, try out the solutions posted in this thread. Let us know if it works for you or if you need additional help. Link to comment Share on other sites More sharing options...
tdr170 Posted May 1, 2013 Share Posted May 1, 2013 Step 2 of the installer script and I'm already pulling my hair out. This is not looking good. Yes, I have posted several times how to fix this along with posting a link to the forge on the same issue. Please take the time to read through the post before pulling your hair out, time will take care of that. 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