Thread: css dies in ssl

Results 1 to 7 of 7
  1. #1

    css dies in ssl

    I think I may have inadvertently broken my SSL/CSS connection. I'd appreciate a fresh pair of eyes taking a look to see what I might be missing. It looks right, but something has to be wrong. Take a look at what I see when I click on the LogIn link at http://www.raphanutrition.com/zencart/.

    Thanks!

    // +----------------------------------------------------------------------+
    // |Zen Cart Open Source E-commerce |
    // +----------------------------------------------------------------------+
    // | Copyright (c) 2004 The Zen Cart developers |
    // | |
    // | http://www.zen-cart.com/index.php |
    // | |
    // | Portions Copyright (c) 2003 osCommerce |
    // +----------------------------------------------------------------------+
    // | This source file is subject to version 2.0 of the GPL license, |
    // | that is bundled with this package in the file LICENSE, and is |
    // | available through the world-wide-web at the following url: |
    // | http://www.zen-cart.com/license/2_0.txt. |
    // | If you did not receive a copy of the Zen Cart license and are unable |
    // | to obtain it through the world-wide-web, please send a note to |
    // | license AT zen-cart DOT com so we can mail you a copy immediately. |
    // +----------------------------------------------------------------------+
    //

    // Define the webserver and path parameters
    // Main webserver: eg, http://localhost - should not be empty for productive servers
    define('HTTP_SERVER', 'http://www.raphanutrition.com');
    // Secure webserver: eg, https://localhost - should not be empty for productive servers
    define('HTTPS_SERVER', 'https://host.1-sh.com/~healthyi/');
    // 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', '/zencart/');
    define('DIR_WS_HTTPS_CATALOG', '/zencart/');

    define('DIR_WS_IMAGES', 'images/');
    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_DOWNLOAD_PUBLIC', DIR_WS_CATALOG . 'pub/');
    define('DIR_WS_BLOCKS', DIR_WS_INCLUDES . 'blocks/');
    define('DIR_WS_TEMPLATES', DIR_WS_INCLUDES . 'templates/');

    define('DIR_WS_PHPBB', '/phpBB2/');

    // * 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', '/home/healthyi/public_html/zencart/');

    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', 'localhost'); // eg, localhost - should not be empty
    define('DB_SERVER_USERNAME', '******');
    define('DB_SERVER_PASSWORD', '******');
    define('DB_DATABASE', ******');
    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', '/home/healthyi/public_html/zencart/cache');

    ?>
    Tammy Rome
    Rapha Nutrition
    http://www.raphanutrition.com

  2. #2
    Join Date
    Jan 2005
    Location
    Lake Havasu, AZ
    Posts
    1,149
    Plugin Contributions
    0

    Default Re: css dies in ssl

    I would ask your host to buy a new certificate first off - and second buy one for your domain.

    The pop up box tells me that this certificate expired 11 days ago and it isn't issued to you. Were I truly shopping on your site, I would now be leaving because of these facts.

    As to the css being lost, I am not positive what would cause this, since I never use a shared SSL.

    Maybe search the forums for Shared SSL and see if others have found the work around, as I know there have been posts regarding such.

    Hope that helps a little at least ;)
    When the world gets in my face I say Have A Nice Day.
    * I DO Think and I HAVE BEEN Zenned - therefore, I AM * I donate - do you?
    Custom Templates and Zen Services CRS Designs, Inc.

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

    Default Re: css dies in ssl

    the issue is there because there is NO SSL layer for the host,
    if you use
    https://host.1-sh.com/~healthyi/zenc...ain_page=login it breaks,
    however if you use
    http://host.1-sh.com/~healthyi/zenca...ain_page=login
    all is good,
    Zen cart PCI compliant Hosting

  4. #4

    Default Re: css dies in ssl

    The certificate is in my name and is current. The host is correcting the records as I write this. I seem to have isolated the problem, but need a little help fixing it.

    The headers aren't showing when you go securely. It is not calling things correctly from the template (i think)... it is removing that slash that it needs in there.

    I'll use the logo as an example. When viewed from behind the secure server, the URL to the logo is:

    https://host.1-sh.com/~healthyizenca...mages/logo.gif

    It should be:
    https://host.1-sh.com/~healthyi/zenc...mages/logo.gif

    Any ideas why this would be happening only in SSL?
    Tammy Rome
    Rapha Nutrition
    http://www.raphanutrition.com

  5. #5
    Join Date
    Jan 2005
    Location
    Lake Havasu, AZ
    Posts
    1,149
    Plugin Contributions
    0

    Default Re: css dies in ssl

    Maybe you misuntderstood my statement...

    By the URL it tells me that the SSL cert used on this site is not issued to the site, it is issued to the host, which to me is still the same, no SSL no sell - The host is garaunteed, your site is not.

    If it were your domain the URL would be https://www.raphanutrition.com/zencart/ and the warning would pop up that raphanutrition.com blah blah blah - not the quite obvious shared SSL warning and URL that you are redirecting to.

    For example- my own site is secure you can go to http://crsdesignsinc.com and to https://crsdesignsinc.com and they are the same site - I have purchased and secured my domain.

    In your case this is not the same and therefore shows that you are using a shared SSL.

    EDIT - as to the error - the problem is this (I believe) :
    define('HTTPS_SERVER', 'https://host.1-sh.com/~healthyi/');

    I think that you need to get rid of the last / there and it will fix your problem.
    Last edited by TinaS; 20 Sep 2006 at 07:05 PM.
    When the world gets in my face I say Have A Nice Day.
    * I DO Think and I HAVE BEEN Zenned - therefore, I AM * I donate - do you?
    Custom Templates and Zen Services CRS Designs, Inc.

  6. #6

    Default Re: css dies in ssl

    Okay, really weird, but the problem seems to have corrected itself. Or at least I did something I'm not aware of to fix it. :-)

    Next problem....
    The login form input boxes are all limiting input to 1 character max. I'm going to try uploading a backup copy of the login.php file to see if that fixes the problem. If not, I'll be back.
    Tammy Rome
    Rapha Nutrition
    http://www.raphanutrition.com

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

    Default Re: css dies in ssl

    actually the host1. url is a shared SSL certificate,

    if it was yours it would be https://www.yourdomain.com
    so if you paid for a dedicated Certificate you need to make sure that they actually install a dedicated SSL certificate for you

    you also need to fix your signature here in zen its a busted link
    Zen cart PCI compliant Hosting

 

 

Similar Threads

  1. Ceon Dev Sagepage Direct SSL/CSS
    By billett in forum Addon Payment Modules
    Replies: 0
    Last Post: 11 Jan 2010, 06:50 PM
  2. CSS not working on SSL
    By killertofu in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 12 Jul 2008, 02:57 AM
  3. shared ssl intermitent css probs
    By hitch in forum General Questions
    Replies: 24
    Last Post: 18 Aug 2007, 03:17 PM
  4. CSS Screwing Up in SSL Mode
    By zforrest in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 27 Jun 2006, 10:40 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