Welcome to the nuBuilder forums!

Please register and login to view forums and other content only available to registered users.

ini_set() error

Post Reply
gib
Posts: 11
Joined: Thu Aug 18, 2016 9:28 pm

ini_set() error

Unread post 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
kev1n
nuBuilder Team
Posts: 3801
Joined: Sun Oct 14, 2018 6:43 pm
nuBuilder Version: 4.5
Has thanked: 2 times
Been thanked: 9 times
Contact:

Re: ini_set() error

Unread post 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();
gib
Posts: 11
Joined: Thu Aug 18, 2016 9:28 pm

Re: ini_set() error

Unread post 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.
Post Reply