Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

session.save_path unwritable while installing version 2 (again)

  • fourforfore
  • fourforfore's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
11 years 2 months ago #90566 by fourforfore
I am experiencing the same problem that rejeanp experienced in a previous post.

I made the changes recommended in the InstallerController.php file.

Didn't work.

Is there something else I need to do?

Thanks
The topic has been locked.
  • c_schmitz
  • c_schmitz's Avatar
  • Offline
  • LimeSurvey GmbH Employee
  • LimeSurvey GmbH Employee
More
11 years 2 months ago #90567 by c_schmitz
Yes, you need to make sure that your session save path is writable as the error indicates.

Best regards

Carsten Schmitz
LimeSurvey project leader
The topic has been locked.
More
11 years 2 months ago #90577 by Russ
I'm having the same problem, how and where do you set the session save path to writeable?

Thanks
The topic has been locked.
  • c_schmitz
  • c_schmitz's Avatar
  • Offline
  • LimeSurvey GmbH Employee
  • LimeSurvey GmbH Employee
More
11 years 2 months ago #90582 by c_schmitz
It is usually a PHP setting which is unrelated to LimeSurvey.
You will need to google how to correctly configure your PHP session save path or you contact your server/webspace provider.They might be able to to figure out why sessions are not working properly.

Best regards

Carsten Schmitz
LimeSurvey project leader
The topic has been locked.
  • fourforfore
  • fourforfore's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
11 years 2 months ago #90583 by fourforfore
That's weird.

I would think that it would be in the LimeSurvey code, like the tmp upload and application/config files.

I'll check with my hosting company.

Thanks
The topic has been locked.
  • fourforfore
  • fourforfore's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
11 years 2 months ago #90650 by fourforfore
OK,

I asked my hosting company to help me fix this.

Their solution is to create my own php file with the session.save_path = / script.

They couldn't answer my next two questions.

Where do I place the file and where is the path directed to?

Any ideas?
The topic has been locked.
  • fourforfore
  • fourforfore's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
11 years 2 months ago #90701 by fourforfore
Does anybody have a solution here?

I would like to use a survey on my site, but it's getting to look pretty bleak.

Help...maybe?
The topic has been locked.
More
11 years 2 months ago #90702 by Russ
I had to enable SSH on my hosting server then use sftp with filezilla to see the root directory and full path. I created a folder (755) named tmp outside of limesurvey then I created a php5.ini file in the html folder with the full path to the new tmp location.

session.save_path = /home/content/21/21593483/html/tmp

HTH
The topic has been locked.
  • fourforfore
  • fourforfore's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
11 years 2 months ago #90703 by fourforfore
Thanks Russ,

I will give this a try in the morning.

Hope it works. Will let you know.
The topic has been locked.
  • fourforfore
  • fourforfore's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
11 years 2 months ago #90721 by fourforfore
Hi Russ,

I have said this many times "you have to be smarter than what you're working with"

Well, when it comes to php...php is smarter.

A couple of questions.

I enabled SSH (no problem)

I created a tmp folder outside of the survey folder.

I created a php5.ini and placed it inside the survey folder.

Here are the questions:

By HTML Folder, do you mean inside the survey folder? Because I am unable to find an actual folder with the name html.

Secondly, the path that you posted, is that the actual path or do I need to modify it?

Thanks for your patience.
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose