Page 1 of 2 12 LastLast
Results 1 to 10 of 11
  1. #1
    Join Date
    May 2006
    Posts
    87
    Plugin Contributions
    0

    Default SSL problem - I know its something simple!

    Hi all

    I have today installed my ssl cert and trying to get zen working securely, this is what I have done so far thanks to previous posts:

    set my https path to 'https://vault2.secured-url.com/greatbaits' in both includes/configure.php and admin/includes.configure.php

    I have also set 'enable SSL' to TRUE in both php's

    I then uploaded the whole site to the SSL folder

    Now I have the following problems:

    1) 'CGI Error The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are:' - this happens on checkout

    2) PAGE CANNOT BE DISPLAYED - this appears when trying to log into admin

    admin/includes/configure.php :

    <?php
    //
    /**
    *
    * @package Configuration Settings
    * @copyright Copyright 2003-2006 Zen Cart Development Team
    * @copyright Portions Copyright 2003 osCommerce
    * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
    */


    // Define the webserver and path parameters
    // Main webserver: eg, http://localhost - should not be empty for productive servers
    // HTTP_SERVER is your Main webserver: eg, http://www.yourdomain.com
    // HTTPS_SERVER is your Secure webserver: eg, https://www.yourdomain.com
    // HTTP_CATALOG_SERVER is your Main webserver: eg, http://www.yourdomain.com
    // HTTPS_CATALOG_SERVER is your Secure webserver: eg, https://www.yourdomain.com
    /*
    * URLs for your site will be built via:
    * HTTP_SERVER plus DIR_WS_ADMIN or
    * HTTPS_SERVER plus DIR_WS_HTTPS_ADMIN or
    * HTTP_SERVER plus DIR_WS_CATALOG or
    * HTTPS_SERVER plus DIR_WS_HTTPS_CATALOG
    * ...depending on your system configuration settings
    */
    define('HTTP_SERVER', 'http://www.greatbaits.co.uk');
    define('HTTPS_SERVER', 'https://vault2.secured-url.com/greatbaits');
    define('HTTP_CATALOG_SERVER', 'http://www.greatbaits.co.uk');
    define('HTTPS_CATALOG_SERVER', 'https://vault2.secured-url.com/greatbaits');

    // Use secure webserver for catalog module and/or admin areas?
    define('ENABLE_SSL_CATALOG', 'true');
    define('ENABLE_SSL_ADMIN', 'true');

    // NOTE: be sure to leave the trailing '/' at the end of these lines if you make changes!
    // * DIR_WS_* = Webserver directories (virtual/URL)
    // these paths are relative to top of your webspace ... (ie: under the public_html or httpdocs folder)
    define('DIR_WS_ADMIN', '/admin/');
    define('DIR_WS_CATALOG', '/');
    define('DIR_WS_HTTPS_ADMIN', 'https://vault2.secured-url.com/greatbaits/admin/');
    define('DIR_WS_HTTPS_CATALOG', '/');

    define('DIR_WS_IMAGES', 'images/');
    define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');
    define('DIR_WS_CATALOG_IMAGES', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'images/');
    define('DIR_WS_CATALOG_TEMPLATE', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'includes/templates/');
    define('DIR_WS_INCLUDES', 'includes/');
    define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');
    define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');
    define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');
    define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');
    define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');
    define('DIR_WS_CATALOG_LANGUAGES', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'includes/languages/');

    // * DIR_FS_* = Filesystem directories (local/physical)
    //the following path is a COMPLETE path to your Zen Cart files. eg: /var/www/vhost/accountname/public_html/store/
    define('DIR_FS_ADMIN', 'e:/domains/g/greatbaits.co.uk/user/htdocs/admin/');
    define('DIR_FS_CATALOG', 'e:/domains/g/greatbaits.co.uk/user/htdocs/');

    define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'includes/languages/');
    define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/');
    define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/');
    define('DIR_FS_CATALOG_TEMPLATES', DIR_FS_CATALOG . 'includes/templates/');
    define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/');
    define('DIR_FS_EMAIL_TEMPLATES', DIR_FS_CATALOG . 'email/');
    define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');

    // define our database connection
    define('DB_TYPE', 'mysql');
    define('DB_PREFIX', '');
    define('DB_SERVER', '213.171.218.244'); // eg, localhost - should not be empty
    define('DB_SERVER_USERNAME', '#######');
    define('DB_SERVER_PASSWORD', '######');
    define('DB_DATABASE', 'greatbaits');
    define('USE_PCONNECT', 'false'); // use persistent connections?
    define('STORE_SESSIONS', 'db'); // leave empty '' for default handler or set to 'db'

    // The next 2 "defines" are for SQL cache support.
    // For SQL_CACHE_METHOD, you can select from: none, database, or file
    // If you choose "file", then you need to set the DIR_FS_SQL_CACHE to a directory where your apache
    // or webserver user has write privileges (chmod 666 or 777). We recommend using the "cache" folder inside the Zen Cart folder
    // ie: /path/to/your/webspace/public_html/zen/cache -- leave no trailing slash
    define('SQL_CACHE_METHOD', 'none');
    define('DIR_FS_SQL_CACHE', 'e:/domains/g/greatbaits.co.uk/user/htdocs/cache');

    ?>

    includes/configure.php:

    <?php
    /**
    *
    * @package Configuration Settings
    * @copyright Copyright 2003-2006 Zen Cart Development Team
    * @copyright Portions Copyright 2003 osCommerce
    * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
    */


    // Define the webserver and path parameters
    // HTTP_SERVER is your Main webserver: eg, http://www.yourdomain.com
    // HTTPS_SERVER is your Secure webserver: eg, https://www.yourdomain.com
    define('HTTP_SERVER', 'http://www.greatbaits.co.uk');
    define('HTTPS_SERVER', 'https://vault2.secured-url.com/greatbaits');

    // Use secure webserver for checkout procedure?
    define('ENABLE_SSL', 'true');

    // NOTE: be sure to leave the trailing '/' at the end of these lines if you make changes!
    // * DIR_WS_* = Webserver directories (virtual/URL)
    // these paths are relative to top of your webspace ... (ie: under the public_html or httpdocs folder)
    define('DIR_WS_CATALOG', '/');
    define('DIR_WS_HTTPS_CATALOG', '/');

    define('DIR_WS_IMAGES', 'images/');
    define('DIR_WS_INCLUDES', 'includes/');
    define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');
    define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');
    define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');
    define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');
    define('DIR_WS_DOWNLOAD_PUBLIC', DIR_WS_CATALOG . 'pub/');
    define('DIR_WS_TEMPLATES', DIR_WS_INCLUDES . 'templates/');

    define('DIR_WS_PHPBB', '/');

    // * DIR_FS_* = Filesystem directories (local/physical)
    //the following path is a COMPLETE path to your Zen Cart files. eg: /var/www/vhost/accountname/public_html/store/
    define('DIR_FS_CATALOG', 'e:/domains/g/greatbaits.co.uk/user/htdocs/');

    define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
    define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');
    define('DIR_WS_UPLOADS', DIR_WS_IMAGES . 'uploads/');
    define('DIR_FS_UPLOADS', DIR_FS_CATALOG . DIR_WS_UPLOADS);
    define('DIR_FS_EMAIL_TEMPLATES', DIR_FS_CATALOG . 'email/');

    // define our database connection
    define('DB_TYPE', 'mysql');
    define('DB_PREFIX', '');
    define('DB_SERVER', '213.171.218.244'); // eg, localhost - should not be empty
    define('DB_SERVER_USERNAME', '######');
    define('DB_SERVER_PASSWORD', '######');
    define('DB_DATABASE', 'greatbaits');
    define('USE_PCONNECT', 'false'); // use persistent connections?
    define('STORE_SESSIONS', 'db'); // leave empty '' for default handler or set to 'db'

    // The next 2 "defines" are for SQL cache support.
    // For SQL_CACHE_METHOD, you can select from: none, database, or file
    // If you choose "file", then you need to set the DIR_FS_SQL_CACHE to a directory where your apache
    // or webserver user has write privileges (chmod 666 or 777). We recommend using the "cache" folder inside the Zen Cart folder
    // ie: /path/to/your/webspace/public_html/zen/cache -- leave no trailing slash
    define('SQL_CACHE_METHOD', 'none');
    define('DIR_FS_SQL_CACHE', 'e:/domains/g/greatbaits.co.uk/user/htdocs/cache');

    ?>


    I am going to leave the settings as they are for the time being so would appreciate any help at all


    thanks in advance

  2. #2
    Join Date
    May 2006
    Posts
    87
    Plugin Contributions
    0

    Default Re: SSL problem - I know its something simple!

    any advise on this as I have now had to remove the files from the secure server and I was looking to go live on monday


    thanks

  3. #3
    Join Date
    May 2006
    Posts
    87
    Plugin Contributions
    0

    Default Re: SSL problem - I know its something simple!

    sorry to keep on with this but I am 3 days into it, going live tomorrow and still struggling with SSL

    anyone with any ideas on what is causing my problem? I think I have nrrowed it down to the settings in config.php but cant for the life of me find out what is wrong

  4. #4
    Join Date
    Nov 2004
    Location
    Norfolk, United Kingdom
    Posts
    3,036
    Plugin Contributions
    2

    Default Re: SSL problem - I know its something simple!

    Unless I've made a mistake in recognition of that shared ssl pathway (don't think I did), then you are trying to install your site to use the shared ssl pathway provided by Fasthosts (at £45 a year extra), or one of their Resellers like Streamline Net.

    If you are successful in getting it to work then please let people know how you did it - because there are thousands of others who have tried and failed and would also like to know how you did it. The problem is this:

    1. Server 1 (http) can be either Linux or Windows with Register Globals enabled.
    2. Server 2 (https) is always Windows with Register Globals disabled.

    Switching between two separate servers with different ip addresses, and one with Register Globals 'On' and the other with Register Globals 'Off' does not make for good session tracking. Admittedly you may have more luck with getting Zen Cart to work - as most of my experience with this particular problem is with another shopping cart.

    Vger

  5. #5
    Join Date
    May 2006
    Posts
    87
    Plugin Contributions
    0

    Default Re: SSL problem - I know its something simple!

    thanks for your help VGER, looks like this is not going to be as simple as I thought

    I have searched on google and your right, there are many people around with the smae problem, whats worse is that I am yet to find a solution

    Looks like I need to get onto my host ASAP, I payed over £50 for this service and byt he looks of it I am not going to be able to use it

  6. #6
    Join Date
    Mar 2005
    Posts
    555
    Plugin Contributions
    4

    Default Re: SSL problem - I know its something simple!

    Id get your money back if I were you.
    For the same money you can buy your own ssl cert so that your customers go to
    https://www.greatbaits.co.uk rather than 'https://vault2.secured-url.com/greatbaits' or similar.
    To use a shared SSL certificate is usually free so Id say you have paid a little over the odds without knowing the full details.

    I saw your site, and would remove the flash header if I were you.
    If you are interested in Daiwa/Shimano stuff direct from Japan PM me
    My humble contributions....
    Info at a Glance Admin, Alternative Header & Improved Whos Online + Currently working on the next!
    If you have to think..... your obviously looking at the admin :)

  7. #7
    Join Date
    May 2006
    Posts
    87
    Plugin Contributions
    0

    Default Re: SSL problem - I know its something simple!

    right, now I need to start again!!

    I have got my money back from fasthosts this morning, now I need to decvide:

    1) Which SSL to buy, there are so many? (GoDaddy seems quite good value geotrust has been recommended)

    2) Do I move host all together and go with one including SSL

    Any recommendations will be greatly appreciated

  8. #8
    Join Date
    May 2006
    Posts
    87
    Plugin Contributions
    0

    Default Re: SSL problem - I know its something simple!

    I have now founbd out that I CANNOT ACTUALLY install my own SSL using a fasthosts server

    So I need to totally remove my site to another domain, any recommendations?

  9. #9
    Join Date
    Mar 2005
    Posts
    555
    Plugin Contributions
    4

    Default Re: SSL problem - I know its something simple!

    Geotrust is the one to go for in the UK I rekon.
    GoDaddy has a better reputation in the States but IMHO its not well known in the UK.

    As for recommending hosts, the moderators of this site will suggest you look at the zen cart recommended hosts.
    My humble contributions....
    Info at a Glance Admin, Alternative Header & Improved Whos Online + Currently working on the next!
    If you have to think..... your obviously looking at the admin :)

  10. #10
    Join Date
    Mar 2007
    Location
    Kent
    Posts
    5
    Plugin Contributions
    0

    Default Re: SSL problem - I know its something simple!

    Thanks for this. I had the same problem and spent 3 days trying to work through gett SSL to work but carn't.
    Thanks
    Donald

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. v139e Would like to move and resize a box (dont know its name)
    By Nandor in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 18 Mar 2013, 08:07 AM
  2. File attribute not working - its something to do with zen_run_normal()??
    By infocom in forum Setting Up Categories, Products, Attributes
    Replies: 0
    Last Post: 2 Apr 2008, 11:47 AM
  3. Its a bag or I'm doing something wrong
    By graf in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 15 Sep 2007, 02:46 AM
  4. Must be something simple?
    By PrincessLeah in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 30 May 2006, 05: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