Page 1 of 1

ini_set() error

Posted: Mon Nov 11, 2019 10:20 pm
by gib
Hello:

Today, I am getting the following error when loading my nuBuilder site:

Code: Select all

Warning: ini_set(): A session is active. You cannot change the session module's ini settings at this time in /usr/home/gveconi/public_html/160818_members/nudatabase.php on line 29
I have made no changes to my nuBuilder front end in some time. What does this error mean, and how do I fix it?

Thanks,

Gib

Re: ini_set() error

Posted: Tue Nov 12, 2019 12:13 am
by kev1n
Hi,

Is your question really for nuBuilder v2? What's your PHP version and have you updated it recently?

If there's a ini_set(), try calling it before session_start();

Re: ini_set() error

Posted: Tue Nov 12, 2019 3:35 am
by gib
I'm not sure the version of nuBuilder as it's been a while since I deployed. How can I find it?

My ISP suggested creating a .user.ini file in the root of the nuBuilder directory with the line

Code: Select all

display_errors = Off
That seems to have removed the error and I can now access the site.