Jump to content

Path to tmp folder ?


Bjarstal

Recommended Posts

Hi

 

I moved my 1.7 installation to an other path on the server, and now it thorws an error as it can't find the tmp folder. I can' t figure out where to change the path to the tmp folder.  Can any one tell where to do it?

 

Below is the error

 

(1/1) ContextErrorException
Warning: session_start(): open(/home/shop/tmp/sess_3lfhjkm13582u7avutjfhm77l8, O_RDWR) failed: No such file or directory (2)

 

Link to comment
Share on other sites

  • 1 year later...

I had the same problem when importing a project to local development and i resolved with looking for the `session.save_path` variable in these files:

  • check if there's a user.ini that override your php.ini (comment the line `session.save_path = "/tmp"` wih #)
  • look in .htaccess for all lines like `php_value session.save_path "/tmp"` and comment it wih #
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...