benwiggy Posted April 19, 2013 Share Posted April 19, 2013 When I try to install Prestashop 1.5.4.0, I get the following error: Your PHP sessions path is not writable - check with your hosting provider: 1;/var/lib/php/session From Googling, I understand that this might be a bug in the installer, but it's not clear what the solution is. I've seen: adding a line to some of the installer scripts creating a tmp folder changing permissions on your website's "var" folder. The first two didn't work and I can't do the third because there is no var folder I can access. So what is the correct process? I've tried several versions of Prestashop and there's always something that stops it from working properly. Link to comment Share on other sites More sharing options...
tdr170 Posted April 19, 2013 Share Posted April 19, 2013 (edited) You need to edit a create a sessions.save_path in your PHP.ini file, if you can not edit the file yourself call your provider and ask them to do it for you. The section that needs to be edited is shown below and the actual path to your temp file may differ as this is from Ipage. ; 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 Edited April 19, 2013 by tdr170 (see edit history) Link to comment Share on other sites More sharing options...
benwiggy Posted April 20, 2013 Author Share Posted April 20, 2013 (edited) Where is this file supposed to be? I won't be able to contact my ISP until Monday. There's nothing that can be edited in the Prestashop files themselves? How come every other version of PS has managed to install itself on my ISP's system? Can I download 1.5.3 from somewhere, or some other version that works? Or can I expect this to be fixed in 1.5.5...? Edited April 20, 2013 by benwiggy (see edit history) Link to comment Share on other sites More sharing options...
tdr170 Posted April 20, 2013 Share Posted April 20, 2013 Your ISP does not have 24/7 support ??, the PHP.ini file is part of your ISP's default settings and on some host can be found in their control panel. Look for PHP config or in my case CGI & Scripting support. Link to comment Share on other sites More sharing options...
benwiggy Posted April 21, 2013 Author Share Posted April 21, 2013 (edited) My web host won't modify the php.ini file as I am on a "shared hosting platform", and the configuration applies to the entire user base. As pointed out elsewhere, the problem has been mentioned here: http://forge.prestashop.com/browse/PSCFV-8474 What is not clear is that you then have to follow the two links and modify two files (deleting the red lines, adding the green.) Prestashop has now gone passed the configuration test point. (Though it did say something else about not being able to access external URLs.) Edited April 21, 2013 by benwiggy (see edit history) Link to comment Share on other sites More sharing options...
tdr170 Posted April 21, 2013 Share Posted April 21, 2013 Strange I am on a shared host and have full editing privileges of the PHP.ini file. If they told you this I would find a new host, there are many that offer far better support. I use Ipage, both HostGator and BlueHost also offer PHP.ini editing. Link to comment Share on other sites More sharing options...
benwiggy Posted April 21, 2013 Author Share Posted April 21, 2013 If you read the other thread on this topic, you will see lots of other people whose webhosts also did not let them modify php.ini. http://www.prestashop.com/forums/topic/235770-php-sessions-path-is-not-writable/ I doubt it would be easy to find out whether an hosting company would let you modify this file before signing up. In any case, my web hosts offers many other benefits (for not much money). Link to comment Share on other sites More sharing options...
tdr170 Posted April 21, 2013 Share Posted April 21, 2013 Some host such as bluehost offer a demo control panel so you can see what you get for those that do not they are just a phone call away. If you are like most of us you were not sure of what was needed for an ecommerce site and as you get more familiar with Prestashop you figure out the short commings of your host. For instance while Ipage offers full editing of the PHP.ini file they do not have Cron jobs or support for PHP soap (needed for FedEx module). First create a file named phpinfo.php and place this inside and upload to the root of your shop. Then enter the url on your browser to the file ie: www.yourdomian.com/phpinfo.php and look through the list for sessions.save_path and copy the url, then paste that in the path below. <?php phpinfo(); ?> Now create a file named php5.ini and place the code below with the path you found in the php info file and se if the install will proceed with out the error. If this works you can use your own PHP.ini file for things like memory limits, magic quotes, fopen urls and more. would look like this: [color=#a9a9a9][font=Arial, Helvetica, sans-serif][size=3]; where MODE is the octal representation of the mode. Note that this[/size][/font][font=Arial, Helvetica, sans-serif][size=3]; does not overwrite the process's umask.[/size][/font][/color][color=#343943][font=Arial, Helvetica, sans-serif][size=3]session.save_path = /home/users/web/b1447/ipg.youraccount/cgi-bin/tmp[/size][/font][/color] Link to comment Share on other sites More sharing options...
benwiggy Posted April 21, 2013 Author Share Posted April 21, 2013 As I've said, I fixed the installer check by modifying some lines of code, as shown in the forge link. So I don't know what good this would do. I have created a file called php5.ini with the line: session.save_path = 1;/var/lib/php/session I'm not sure whether that does anything or not. Link to comment Share on other sites More sharing options...
degrejtest Posted April 13, 2014 Share Posted April 13, 2014 As I've said, I fixed the installer check by modifying some lines of code, as shown in the forge link. So I don't know what good this would do. I have created a file called php5.ini with the line: session.save_path = 1;/var/lib/php/session I'm not sure whether that does anything or not. is this file has to be uploaded then? if yes , so it didnt work for me:( what are the other options, changing hosting provider ? is it the same on recomended by prestashop inmotion or it will work with no problem? i have to use version 1.5.4.0 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