Forums / Installing on a Linux/Unix Server / Ran into an error when installing - The session.use_trans_sid setting is ON

Ran into an error when installing - The session.use_trans_sid setting is ON

Locked

Started by gypsynightshade on 31 Jan 2009, 5:39 PM · Views: 1,824

Results 1 to 9 of 9
This thread is locked. New replies are disabled.
31 Jan 2009, 5:39 PM
#1
gypsynightshade avatar

gypsynightshade

New Zenner

Join Date:
Jan 2009
Posts:
11
Plugin Contributions:
0

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.

31 Jan 2009, 11:13 PM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,511
Plugin Contributions:
176

Re: Ran into an error when installing - The session.use_trans_sid setting is ON

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.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

31 Jan 2009, 11:36 PM
#3
gypsynightshade avatar

gypsynightshade

New Zenner

Join Date:
Jan 2009
Posts:
11
Plugin Contributions:
0

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)

31 Jan 2009, 11:58 PM
#4
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,511
Plugin Contributions:
176

Re: Ran into an error when installing - The session.use_trans_sid setting is ON

No, according to the instruction message you would add:

php_flag session.use_trans_sid off

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

1 Feb 2009, 12:10 AM
#5
gypsynightshade avatar

gypsynightshade

New Zenner

Join Date:
Jan 2009
Posts:
11
Plugin Contributions:
0

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.

1 Feb 2009, 4:10 AM
#6
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,511
Plugin Contributions:
176

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!

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

1 Feb 2009, 4:15 AM
#7
gypsynightshade avatar

gypsynightshade

New Zenner

Join Date:
Jan 2009
Posts:
11
Plugin Contributions:
0

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.

1 Feb 2009, 4:28 AM
#8
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,511
Plugin Contributions:
176

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.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

1 Feb 2009, 4:58 AM
#9
gypsynightshade avatar

gypsynightshade

New Zenner

Join Date:
Jan 2009
Posts:
11
Plugin Contributions:
0

Re: Ran into an error when installing - The session.use_trans_sid setting is ON

Thank you =)