1 (edited by cleal 10/26/2018 06:50:01 pm)

Topic: ini_set(): A session is active. You cannot change the session module's

Hi!

I have this error:

session.inc:455:[before upgrade] ini_set(): A session is active. You cannot change the session module's ini settings at this time

I tried differente solutions, but neither is useful.

Someone have an idea?

Thank you

cleal

2 (edited by poncho1234 10/25/2018 05:10:47 pm)

Re: ini_set(): A session is active. You cannot change the session module's

Are you using any extensions?

What FA version?
Type of Server?
PHP version?

The FrontAccounting Wiki(Manual, examples, tips, setup info, links to accounting sites, etc) https://frontaccounting.com/fawiki/

Re: ini_set(): A session is active. You cannot change the session module's

I am using FA 243, Xampp under windows and PHP 7.2.11

cleal

Re: ini_set(): A session is active. You cannot change the session module's

Do a clean install, still have bug?
If not it's probably a change you have made.

The FrontAccounting Wiki(Manual, examples, tips, setup info, links to accounting sites, etc) https://frontaccounting.com/fawiki/

Re: ini_set(): A session is active. You cannot change the session module's

I already have a new installation, the problem persist.  What can I do? or, what see in FA?.

0::session.inc:432:[before upgrade] ini_set(): A session is active. You cannot change the session module's ini settings at this time

FA works fine, but that is the only issue.

cleal

6 (edited by poncho1234 10/25/2018 08:42:45 pm)

Re: ini_set(): A session is active. You cannot change the session module's

I've just installed 2.4.4 on wamp 3.1.3 and getting a similar error:-

ini_set(): A session is active. You cannot change the session module's ini settings at this time in file: E:\wamp64\www\FA_ATESTV44\includes\session.inc at line 432
E:\wamp64\www\FA_ATESTV44\includes\session.inc:432:     ini_set('session.gc_maxlifetime','36000')
E:\wamp64\www\FA_ATESTV44\index.php:18:     include_once('E:\wamp64\www\FA_ATESTV44\includes\session.inc')

The part I do not understand is it was working last week?

No errors in PHP, apache and mysql error logs

The FrontAccounting Wiki(Manual, examples, tips, setup info, links to accounting sites, etc) https://frontaccounting.com/fawiki/

Re: ini_set(): A session is active. You cannot change the session module's

I have the error in errors.log, everything else works fine.

cleal

Re: ini_set(): A session is active. You cannot change the session module's

The FA errorss.log logs all errors

I have down graded from PHP 7.2.4 to 7.1.16 - this has resolved the error, @cleal can you confim please?

The FrontAccounting Wiki(Manual, examples, tips, setup info, links to accounting sites, etc) https://frontaccounting.com/fawiki/

Re: ini_set(): A session is active. You cannot change the session module's

@poncho1234 in 7.1.12 works fine, then the problem for me is PHP 7.2.11.  Deprecated functions maybe? or something else....  I don't know.

cleal

Re: ini_set(): A session is active. You cannot change the session module's

I think this is connected to this bug here

The FrontAccounting Wiki(Manual, examples, tips, setup info, links to accounting sites, etc) https://frontaccounting.com/fawiki/

Re: ini_set(): A session is active. You cannot change the session module's

That solution works fine!

cleal