Hi there,
Once I was done extracting files, the main link http://opencats.thejobswitch.com/ is not working. I get 'CATS Error: session.auto_start must be set to 0 in php.ini.' However, when I try http://opencats.thejobswitch.com/installwizard.php, it worked just fine and went all the way to the end and installation was done. The main page gives this error, so I cannot log in.
Can you help, please? Many thanks in advance for all the help.
Regards
Surabhi
PHP.ini Issue on install [SOLVED]
Forum rules
Just please remember to play nicely once you walk through the door. You can disagree with us, or any other commenters in this forum, but respect our space and keep your comments directed to the topic at hand.
Just please remember to play nicely once you walk through the door. You can disagree with us, or any other commenters in this forum, but respect our space and keep your comments directed to the topic at hand.
- RussH
- Site Admin
- Posts: 824
- Joined: 12 Apr 2008, 08:28
- what is two(2) plus three(3) ?: 5
- Location: UK
- Contact:
Re: PHP.ini Issue on install [SOLVED]
Hi Surabhi,
is do you have session.auto_start = 1 in php.ini for some particular reason?
It's considered 'best practise' to have it set to 0, and opencats requires it too.
is do you have session.auto_start = 1 in php.ini for some particular reason?
It's considered 'best practise' to have it set to 0, and opencats requires it too.
RussH
Report your issues and feature requests;
https://github.com/opencats/opencats/issues
Please CLICK THE TICK to accept the answer!
Report your issues and feature requests;
https://github.com/opencats/opencats/issues
Please CLICK THE TICK to accept the answer!
-
- Posts: 6
- Joined: 12 Mar 2015, 15:26
- what is two(2) plus three(3) ?: 5
Re: PHP.ini Issue on install
Well Well.. i'm back.. they always come back..
Ok so i just grabbed the latest code and i'm getting this error also.
CATS Error: session.auto_start must be set to 0 in php.ini.
I confirmed with phpinfo and its set to 0..
BTW running Centos 6 for this build.
Ok so i just grabbed the latest code and i'm getting this error also.
CATS Error: session.auto_start must be set to 0 in php.ini.
I confirmed with phpinfo and its set to 0..
BTW running Centos 6 for this build.
- RussH
- Site Admin
- Posts: 824
- Joined: 12 Apr 2008, 08:28
- what is two(2) plus three(3) ?: 5
- Location: UK
- Contact:
Re: PHP.ini Issue on install
Hi Alain..
did you grab the code from Master or one of the releases? I guess you ran composer to get the dependencies (of course!). What version of php / mysql are you running?
...and CentOS 6?! That's a bit old
The 'normal code' check for that is in index.php, line 107;
..or the installation test is at line 212 in OpenCATS/lib/InstallationTests.php
Don't see why that wouldn't work - however if you're sure you have it set to 0 then comment it out
did you grab the code from Master or one of the releases? I guess you ran composer to get the dependencies (of course!). What version of php / mysql are you running?
...and CentOS 6?! That's a bit old
The 'normal code' check for that is in index.php, line 107;
Code: Select all
/* Objects can't be stored in the session if session.auto_start is enabled. */
if (ini_get('session.auto_start') !== '0' &&
ini_get('session.auto_start') !== 'Off')
{
die('CATS Error: session.auto_start must be set to 0 in php.ini.');
}
Don't see why that wouldn't work - however if you're sure you have it set to 0 then comment it out
RussH
Report your issues and feature requests;
https://github.com/opencats/opencats/issues
Please CLICK THE TICK to accept the answer!
Report your issues and feature requests;
https://github.com/opencats/opencats/issues
Please CLICK THE TICK to accept the answer!