Page 3 of 4 FirstFirst 1234 LastLast
Results 21 to 30 of 34
  1. #21
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Problems since host upgraded PHP to suPHP

    Do these symptoms only occur on your admin side? ie: is the storefront okay?

    Why are you using subdomains?
    Why are you using shared-ssl?
    .

    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.

  2. #22
    Join Date
    Jan 2011
    Posts
    27
    Plugin Contributions
    0

    Default Re: Problems since host upgraded PHP to suPHP

    DrByte,

    Storefront is not OK. If shared SSL is enabled in checkout, then sessions expire at the point of clicking on the "go to checkout button". I get the "oops your session has expired" message each time I try to checkout under shared SSL.

    a) Sorry, I meant add on domains not subdomains. Forgive me, my brain is getting a bit fried over this. The reason I use add on domains is that I currently host five domains on one hosting account. Using add on domains on one hosting account is cheaper than five hosting accounts.

    b) Why shared SSL? Same reason. Five dedicated certs would be expensive. Shared SSL is free. Why am I so cost concious? Becuase my sites are not generating revenue at the moment so I need to limit my outgoings until I can get some money coming in.

    as I mentioned in my previous host of today, the session expiry seems to happen at the point of moving between http and https server. It seems to happen both ways: https to http (in admin) and http to https (in store, at checkout).

    Currently sessions are stored in the database. Would storing session in a folder make any difference?

    Really would like to get to the bottom of this if possible - it's bugging me big style.

  3. #23
    Join Date
    Jan 2011
    Posts
    27
    Plugin Contributions
    0

    Default Re: Problems since host upgraded PHP to suPHP

    Dr Byte.

    My new host seems to have solved the problem by creating a php.ini file and putting in the statement:

    suhosin.session.encrypt=off

    From what I understand, the suhosin php "hardening" patch by default has suhosin.session.encrypt=on. I understand this encrypts the session ID's that Zen Cart generates. It lools like there may be a problem passing session ID's between http and https servers when encrypted. I'm guessing.

    Do you have any comment about setting suhosin.session.encrypt=off? Any issues for Zen Cart?

    Not sure if I'm allowed to but may I credit Birch Hosting for working this out ( www.birchhosting.com ). A first class web host with excellent tech support - and they offer Zen Cart as a one click install. Very competively priced too.

    Rat

  4. #24
    Join Date
    Feb 2004
    Location
    Simcoe, Ontario, Canada
    Posts
    2,479
    Plugin Contributions
    1

    Default Re: Problems since host upgraded PHP to suPHP

    Ok Here is the thing, this may work specifically for your situation on your specific host.

    Zen Cart users do not need to disable suhosin.session.encrypt to off because Zen Cart works just fine with it set to ON. It is not a Zen Cart issue.

    Suhosin and Zen Cart are compatible. Suhosin and Shared SSL are compatible.

    The situation you have will have more to do with how your host has things setup as there must be something out of the ordinary running or a misconfiguration on the server. As suggested in a previous post I tested this and could not replicate this issue on our server testing environments. This in short means that it is localized to your hosting company.

    Reason why I have posted this is because stuff like this travels like wildfire and gets misinterpreted as gospel.
    Windows, BSD, Linux, Cisco, Hardware & IT Security Tech
    GeekHost - Zen Cart Certified & PCI Compliant Hosting

    Qdixon's Security Blog

  5. #25
    Join Date
    Jan 2011
    Posts
    27
    Plugin Contributions
    0

    Default Re: Problems since host upgraded PHP to suPHP

    Qdixon,

    Sure, I understand that this is not a "one size fits all" solution. And if Zen Cart usually works fine with suhosin.session.encrypt=on then the suhosin.session.encrypt=off solution is just masking the problem not identifying the root cause.

    What I can't figure out is that the SAME problem occured on TWO webhosts. Can both of them have messed up their server configurations resulting in the same error?

    In the meantime I'm happy that my sites are working without having to fork out for a bunch of dedicated SSL certs.

    Ratty M

  6. #26
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,263
    Plugin Contributions
    3

    Default Re: Problems since host upgraded PHP to suPHP

    Quote Originally Posted by RatMonkey View Post
    Not sure if I'm allowed to but may I credit Birch Hosting for working this out. A first class web host with excellent tech support - and they offer Zen Cart as a one click install. Very competively priced too.

    Rat
    Hmmm... just about every "popular and cheap" host offers "one-click install" which is actually the WORST POSSIBLE WAY TO INSTALL COMPLEX SOFTWARE, and if they are advocating that you install programs using these "one-click" systems then they are actually doing you a disservice.
    20 years a Zencart User

  7. #27
    Join Date
    Jan 2011
    Posts
    27
    Plugin Contributions
    0

    Default Re: Problems since host upgraded PHP to suPHP

    Schoolboy,

    I must say I've never used a one click install. To me offering a one-click indicates that the host supports Zen Cart (or is supposed to). As I was moving host I followed the Zen Cart recommended procedure for moving to a different server to make sure the templates and mySQL databases (including an installed patch on one site) migrated properly - and the transfer worked fine.

    Regardless of offering one click installs, Birch Hosting is a good host compared to my previous host: I now have twice the space and bandwidth, technical support that works, unlimited add-on domains, sub domains and mySQL databases and I'm paying 20% less than with my previous host! I can't argue with that.

  8. #28
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,263
    Plugin Contributions
    3

    Default Re: Problems since host upgraded PHP to suPHP

    It's not about what they "offer". This gives you no indication of their competence.

    QDixon and DrByte are the LEAD DEVELOPERS for zencart, so they know what they are talking about. If they are telling you that the problem lies with your host, then you should believe that to be 100% true.

    Practically every webhost offers a range of "products" these days - most are subscriptions to 3rd-party providers, and this is also true of WHM and C-PANEL.

    The fact that they offer these "tools" and "services" is no indicator of being a good host.

    Your host appears to be incompetent.

    We have installed over 300 Zencart programs since 2004, and because we did a LOT of research first on who (in the hosting industry) knows what they are doing, we have NEVER EVER had a problem with an installation.

    Your host is clearly incompetent. Sorry to be so frank, but they are.
    20 years a Zencart User

  9. #29
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Problems since host upgraded PHP to suPHP

    Quote Originally Posted by schoolboy View Post
    Your host appears to be incompetent.

    We have installed over 300 Zencart programs since 2004, and because we did a LOT of research first on who (in the hosting industry) knows what they are doing, we have NEVER EVER had a problem with an installation.

    Your host is clearly incompetent. Sorry to be so frank, but they are.
    schoolboy is indeed making some very strong and broad statements. I don't have enough actual information about your host to be able to make the same statements; however, I am indeed of the opinion that your host needs to take an active role in sorting out the problems you're encountering. If they're worth their salt then they'll see that their time investment in fixing this will actually benefit all of their customers, not just you. Hopefully they can see that bigger picture. If not, I question whether your "20% savings" is actually savings at all.
    .

    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.

  10. #30
    Join Date
    Jan 2011
    Posts
    27
    Plugin Contributions
    0

    Default Re: Problems since host upgraded PHP to suPHP

    Schoolboy,

    Now you've got me interested; I'd like to benefit from your research if I may. Can you please recommend a host who is running suPHP, Apache suExec and the Suhosin patch. I'd like to sign up with them and see if the problem replicates.

 

 
Page 3 of 4 FirstFirst 1234 LastLast

Similar Threads

  1. v138a Host upgraded to php 5.3.10 - store pages blank now
    By nosnip13 in forum Upgrading to 1.5.x
    Replies: 11
    Last Post: 22 Apr 2012, 09:56 AM
  2. v150 My host upgraded my site, now I have problems
    By Medieval1Knight in forum General Questions
    Replies: 4
    Last Post: 8 Apr 2012, 02:50 AM
  3. Replies: 6
    Last Post: 27 Jul 2011, 07:26 AM
  4. Host upgraded PHP to 5 now UTF-8 vs Latin1 text encoding issues
    By dharma in forum Installing on a Linux/Unix Server
    Replies: 10
    Last Post: 15 Jan 2009, 05:09 PM
  5. Replies: 12
    Last Post: 13 Jan 2007, 05:28 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