Page 2 of 2 FirstFirst 12
Results 11 to 18 of 18

Hybrid View

  1. #1
    Join Date
    Aug 2008
    Posts
    17
    Plugin Contributions
    0

    Default Re: Secure and Unsecure issues

    Quote Originally Posted by Merlinpa1969 View Post
    Well I managed to get in,
    Parse Time: 94.601 - Number of Queries: 121 - Query Time: 97.724540222

    it happened to open while I was looking at something else before I posted..

    If you do a quick search of the forums for your host I beleive this has been dealt with before, ( not sure it was solved but at least talked about )

    If memory servers me your host has issues with ssl setups.

    did you buy a dedicated ssl or did you buy their shared ssl?

    I only ask because the ssl siteseal is produced by your host


    Yea, excuse the loading time. They are apparently having issues with the cluster that contains Zen Carts MySQL DB. My certificate is purchased from them, supposedly it is not shared. They do offer a free shared one, but I paid for my own. I'll do the search for my host, thanks for the tip. (I didn't get an SSL from elsewhere because they do not allow third party SSL certificates).

  2. #2
    Join Date
    Mar 2004
    Posts
    16,042
    Plugin Contributions
    5

    Default Re: Secure and Unsecure issues

    that should be a clue

    as a host we offer a free shared we sell dedicateds but we dont care if people get third party we just dont support it thats all...
    Zen cart PCI compliant Hosting

  3. #3
    Join Date
    Jun 2003
    Posts
    33,721
    Plugin Contributions
    0

    Default Re: Secure and Unsecure issues

    Your threads have been merged together.
    Please do not PM for support issues: a private solution doesn't benefit the community.

    Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

  4. #4
    Join Date
    Mar 2004
    Posts
    16,042
    Plugin Contributions
    5

    Default Re: Secure and Unsecure issues

    rather than talking to your hoist right away I would search this forum for them and see what issues other have had with the SSL
    Zen cart PCI compliant Hosting

  5. #5
    Join Date
    Aug 2008
    Posts
    17
    Plugin Contributions
    0

    Default Re: Secure and Unsecure issues

    Well, I've done a round of searching and the only solid thread I found where the issue was similar to mine and seemed to be on servage's end was http://www.zen-cart.com/forum/showth...servage&page=3

    And DrBytes solution was to replace some code..

    Quote Originally Posted by DrByte View Post
    Does it work also if you change that line to this instead:
    [FONT="Courier New"]$request_type = ((isset($_SERVER['HTTPS']) && strtolower($_SERVER['HTTPS']) == 'on') || (isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] == '1') || (isset($_SERVER['HTTP_X_FORWARDED_BY']) && strstr(strtoupper($_SERVER['HTTP_X_FORWARDED_BY']),'SSL')) || (isset($_SERVER['HTTP_X_FORWARDED_HOST']) && (strstr(strtoupper($_SERVER['HTTP_X_FORWARDED_HOST']),'SSL') || strstr(strtoupper($_SERVER['HTTP_X_FORWARDED_HOST']),str_replace('https://', '', HTTPS_SERVER))) ) || || (isset($_SERVER['SCRIPT_URI']) && strtolower(substr($_SERVER['SCRIPT_URI'], 0, 6)) == 'https:') || (isset($_SERVER['SERVER_PORT']) && $_SERVER['SERVER_PORT'] == '443' ) ) ? 'SSL' : 'NONSSL';[/FONT]
    But doing so did not fix the issue for me. :-(

  6. #6
    Join Date
    Aug 2008
    Posts
    17
    Plugin Contributions
    0

    Default Re: Secure and Unsecure issues

    Quote Originally Posted by Kim View Post
    Your threads have been merged together.
    You merged a thread with a separate issue I had..but okay

  7. #7
    Join Date
    Aug 2008
    Posts
    17
    Plugin Contributions
    0

    Default Re: Secure and Unsecure issues

    Sorry for the...wow triple post

    I overlooked the solution Badvoc used in his thread: http://www.zen-cart.com/forum/showth...servage&page=3

    And it worked! Thanks for all the help everyone...and anyone who has servage and is experiencing similar issues described here, try these instructions (Thanks Badvoc!):


    Code:
    Comment out the original lines (use // in front of them) and add the following underneath:
    
    $request_type = (getenv('HTTP_X_FORWARDED_HOST') == 'sslurl') ? 'SSL' : 'NONSSL';
    
    The files and lines are:
    
    admin\includes\init_includes\init_file_db_names.php Line 20
    includes\init_includes\init_file_db_names.php Line 18
    includes\modules\payment\paypal\ipn_application_top.php Line 46
    
    I think that's them all. Basically we need to set the variable $request_type to either SSL or NOSSL appropriately.

    Where it says 'sslurl' just put the URL you have to SSL, NOT INCLUDING HTTPS:// OR HTTP://

    So for example, my url is https://renewalofthelordstemple.com so I did:

    HTML Code:
    $request_type = (getenv('HTTP_X_FORWARDED_HOST') == 'renewalofthelordstemple.com') ? 'SSL' : 'NONSSL';

 

 
Page 2 of 2 FirstFirst 12

Similar Threads

  1. Secure/Unsecure in IEX7 and IEX8 but not Firefox?
    By jund in forum Basic Configuration
    Replies: 3
    Last Post: 7 Aug 2009, 02:39 PM
  2. Using HostGator and Shared SSL, Secure and Unsecure Items?
    By daxxruckus in forum Basic Configuration
    Replies: 14
    Last Post: 30 Dec 2008, 08:01 AM
  3. IE 6: This page contains both secure and unsecure...
    By kbalona in forum General Questions
    Replies: 12
    Last Post: 22 Oct 2008, 11:27 AM
  4. Secure and unsecure items problem
    By authenticnz in forum General Questions
    Replies: 10
    Last Post: 19 Apr 2008, 10:38 PM

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