Ran into an error when installing - The session.use_trans_sid setting is ON
I'm installing Zen Cart for the first time and using version 3.1.8a. My URL for the store is theotherscene dot com/shop and durring zen cart setup server inspection, I get this "X":
The session.use_trans_sid setting in your server's PHP.INI file is set to ON.
I look at how to fix the problem:
You can disable that feature via a .htaccess file or directly from PHP code.
For a .htaccess file you should add the following line:
php_flag session.use_trans_sid off
And in PHP code:
ini_set('session.use_trans_sid', false);
However there are several .htaccess files and not sure how to fix this. Thank you for your time.
Re: Ran into an error when installing zc
If you're running your store from the /shop/ folder, put your changes in the /shop/.htaccess file ... and if there isn't one, create it.
Re: Ran into an error when installing - The session.use_trans_sid setting is ON
Just to clarify, I need to add to the /shop folder:
.htaccess/ini_set('session.use_trans_sid', false)
Re: Ran into an error when installing - The session.use_trans_sid setting is ON
No, according to the instruction message you would add:
Code:
php_flag session.use_trans_sid off
Re: Ran into an error when installing - The session.use_trans_sid setting is ON
Ok, I added the file:
.htaccess php_flag session.use_trans_sid off
to my /shop folder, but that didn't seem to work. What am I missing please.
Re: Ran into an error when installing - The session.use_trans_sid setting is ON
Since every server is different, the fastest solution is to ask your hosting company for the correct method for the server they've got you on.
And while you're at it, ask them why they've got that setting set wrong in the first place!
Re: Ran into an error when installing - The session.use_trans_sid setting is ON
Ok I'll do that. It's probably for the same reason every single one of their apps is at least a few years out of date... If you know of a better host, I'm all ears.
Re: Ran into an error when installing - The session.use_trans_sid setting is ON
If you're looking for hosting recommendations, see the "Certified Hosts" link at the top of this page.
Re: Ran into an error when installing - The session.use_trans_sid setting is ON