Results 1 to 9 of 9
  1. #1
    Join Date
    Jan 2009
    Posts
    11
    Plugin Contributions
    0

    Default 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.

  2. #2
    Join Date
    Jan 2004
    Posts
    66,350
    Blog Entries
    7
    Plugin Contributions
    271

    Default 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.
    .

    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.

  3. #3
    Join Date
    Jan 2009
    Posts
    11
    Plugin Contributions
    0

    Default 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)

  4. #4
    Join Date
    Jan 2004
    Posts
    66,350
    Blog Entries
    7
    Plugin Contributions
    271

    Default 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
    .

    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.

  5. #5
    Join Date
    Jan 2009
    Posts
    11
    Plugin Contributions
    0

    Default 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.

  6. #6
    Join Date
    Jan 2004
    Posts
    66,350
    Blog Entries
    7
    Plugin Contributions
    271

    Default 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.

  7. #7
    Join Date
    Jan 2009
    Posts
    11
    Plugin Contributions
    0

    Default 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.

  8. #8
    Join Date
    Jan 2004
    Posts
    66,350
    Blog Entries
    7
    Plugin Contributions
    271

    Default 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.

  9. #9
    Join Date
    Jan 2009
    Posts
    11
    Plugin Contributions
    0

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

    Thank you =)

 

 

Similar Threads

  1. v155 zc_install: ini setting session.use_trans_sid is enabled
    By lat9 in forum Installing on a Linux/Unix Server
    Replies: 4
    Last Post: 4 May 2016, 10:11 PM
  2. session.use_trans_sid = on
    By Brian1234 in forum Installing on a Linux/Unix Server
    Replies: 6
    Last Post: 4 Jul 2008, 05:32 AM
  3. v1.38 New Install PHP session.use_trans_sid=ON fix causes error
    By bettysue in forum Installing on a Linux/Unix Server
    Replies: 8
    Last Post: 17 Dec 2007, 04:14 PM
  4. # PHP session.use_trans_sid = ON Error
    By zach in forum Installing on a Windows Server
    Replies: 1
    Last Post: 4 Sep 2007, 03:14 AM
  5. Session.php Error when logging into Admin
    By rohanale in forum General Questions
    Replies: 4
    Last Post: 2 Feb 2007, 11:51 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR