Results 1 to 3 of 3
  1. #1
    Join Date
    Aug 2008
    Posts
    3
    Plugin Contributions
    0

    Default SSL Problem - Please Help

    I am having real problems trying to find out why my site is using a mix of secure and non-secure links. For example, the website is https://www.greenfieldit.com.au/shop. When you view the page source, there is a mix of links with http:// and https://, I cannot seem to find out why.

    I have searched for absolute URL's on my site and cannot find any. Also, the store configure.php file includes the following...

    PHP Code:
      
     define
    ('HTTP_SERVER''http://www.greenfieldit.com.au');
      
    define('HTTPS_SERVER''https://www.greenfieldit.com.au');

      
    // 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''/shop/');
      
    define('DIR_WS_HTTPS_CATALOG''/shop/');

      
    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''/var/www/vhosts/greenfieldit.com.au/httpdocs/shop/');

      
    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/'); 
    AND for Admin

    PHP Code:
     define('HTTP_SERVER''http://www.greenfieldit.com.au');
      
    define('HTTPS_SERVER''https://www.greenfieldit.com.au');
      
    define('HTTP_CATALOG_SERVER''http://www.greenfieldit.com.au');
      
    define('HTTPS_CATALOG_SERVER''https://www.greenfieldit.com.au');

      
    // 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''/shop/vssadmin/');
      
    define('DIR_WS_CATALOG''/shop/');
      
    define('DIR_WS_HTTPS_ADMIN''/shop/vssadmin/');
      
    define('DIR_WS_HTTPS_CATALOG''/shop/');

      
    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''/var/www/vhosts/greenfieldit.com.au/httpdocs/shop/vssadmin/');
      
    define('DIR_FS_CATALOG''/var/www/vhosts/greenfieldit.com.au/httpdocs/shop/');

      
    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/'); 

  2. #2
    Join Date
    Apr 2006
    Location
    Sydney, Australia
    Posts
    66
    Plugin Contributions
    0

    Default Re: SSL Problem - Please Help

    Hi John,

    The scripts have it programmed into them whether the links are SSL or NONSSL.... only login, registeration, account and checkout pages are SSL by default. If you should be able to make everything SSL by changing your configure.php:

    define('HTTP_SERVER', 'http://www.greenfieldit.com.au');

    to

    define('HTTP_SERVER', 'https://www.greenfieldit.com.au');

    Most people do this in admin so that all admin pages are SSL.

    Nick

  3. #3
    Join Date
    Aug 2008
    Posts
    3
    Plugin Contributions
    0

    Default Re: SSL Problem - Please Help

    Thanks Nick, that is exactly what I will do.

 

 

Similar Threads

  1. v151 SSL Problem...please help an ignoramus
    By stokeyblokey in forum Basic Configuration
    Replies: 3
    Last Post: 27 Aug 2013, 02:20 PM
  2. v138a SSL Problem Please Help!!
    By semsenkir in forum General Questions
    Replies: 8
    Last Post: 31 Jan 2012, 04:56 PM
  3. ssl problem please please some one be up
    By goldencrown in forum Basic Configuration
    Replies: 8
    Last Post: 11 Aug 2008, 02:50 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