Welcome to the LimeSurvey Community Forum

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

CHttpSession.php on line 240 after installation

  • carmojos
  • carmojos's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
6 years 2 months ago #162862 by carmojos
After upgrading to 2.05 (and putting config.php into debug) I am getting the following message.

Fatal error: Call to undefined function session_get_cookie_params() in /usr/local/www/apache24/data/framework/web/CHttpSession.php on line 240

Not sure where to start fixing this issue.
The topic has been locked.
  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
6 years 2 months ago #162864 by holch
To which version are you actually updating? Because you also posted to a post that was about upgrading to 2.5, not 2.05.

These differences are quite important. Because 2.05 is a really old version. I don't know why you would like to "upgrade" to this.

I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.

The topic has been locked.
  • carmojos
  • carmojos's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
6 years 2 months ago #162866 by carmojos
Sorry, I inherited the system. According to the release notes I upgraded from 2.05 to 2.06+.
The topic has been locked.
More
6 years 2 months ago #162869 by jelo
Looks like a issue with your php installation.
What OS and what php version is used?

The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
The topic has been locked.
  • carmojos
  • carmojos's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
6 years 2 months ago #162956 by carmojos
The php version is 5.6.32.

OS is FreeBSD 10.1 presently.
The topic has been locked.
More
6 years 2 months ago #162964 by jelo
Sorry, I don't use FreeBSD that often. FreeBSD is not Linux. I don't see much testing oder use under FreeBSD.

But you might check if your PHP installation has all ports together.
E.g. /usr/ports/www/php5-session
pkg install php56-session

Could be a Suhosin extension as well, which prevent session.

Depending on your setup you might need to restart the php-server too.
service php-fpm restart

Take a look at easyos.net/articles/bsd/freebsd/installi...xtensions_on_freebsd for some ideas to check.

The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose