Page 3 of 3 FirstFirst 123
Results 21 to 25 of 25
  1. #21
    Join Date
    Jul 2007
    Posts
    15
    Plugin Contributions
    0

    Default Re: Enabling SSL - Just changed cofigure.php files and now I'm getting an error

    At the top of my /catalog/includes/configure.php files it says dist-configure.php

    Should it?

    Does the dist-configure.php file get changed and renamed configure.php upon installation or did I mess it up?

    Bloome

  2. #22
    Join Date
    Jul 2007
    Posts
    15
    Plugin Contributions
    0

    Default Re: Enabling SSL - Just changed cofigure.php files and now I'm getting an error

    Kobra,

    I see what you were talking about. It looks as though I had a copy and paste error in my post. Let me try that again:

    Here is the catalog/includes/configure.php code:

    PHP Code:
    define('HTTP_SERVER''http://tsilaorganics.com');
    define('HTTPS_SERVER''https://tsilaorganics.com');

    // 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''/catalog/');
    define('DIR_WS_HTTPS_CATALOG''/catalog/'); 
    and here is the catalog/admin/includes/configure.php code:

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

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

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

  3. #23
    Join Date
    Jul 2007
    Posts
    15
    Plugin Contributions
    0

    Default Re: Enabling SSL - Just changed cofigure.php files and now I'm getting an error

    anybody there?

  4. #24
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Enabling SSL - Just changed cofigure.php files and now I'm getting an error

    Couple of quick checks:

    do you currently have a .htaccess and may be calling/redirecting to the www in it?
    try renaming it temporarily to htaccess.txt

    Is this installed to the root domain name or might this be an add-on domain to your account?
    Zen-Venom Get Bitten

  5. #25
    Join Date
    Apr 2008
    Posts
    2
    Plugin Contributions
    0

    Default Re: Enabling SSL - Just changed cofigure.php files and now I'm getting an error

    You can run with a shared ssl but you will have to copy the whole catalog to your shared ssl folder. Then make sure the paths in the configure.php on your https server point to the files on that server, e.g e:/sslroot/secure_folder/store, and the http settings at the top are set to your http site and the https setting are set to the secure site and enable ssl is set to true. Make sure that the database settings refer to your database on the http site.

    You will then have to set you configure.php settings on the http site to point to the ssl folder under the https line and again enable ssl = true.

    It does work as I have done it but you will have to maintain two sets of you files but not the database contents, so if you edit a .php file, for example a new page, you will have to copy it to the secure site.

    The ideal option is to get a host that gives you a dedicated ssl (around £40)and then the ssl space maps seamlessly to you normal web space.

    Hope that helps

 

 
Page 3 of 3 FirstFirst 123

Similar Threads

  1. Replies: 0
    Last Post: 23 Mar 2012, 10:22 PM
  2. reinstall php via yum, now getting this error in zencart
    By bangsters in forum General Questions
    Replies: 1
    Last Post: 31 Aug 2009, 03:52 AM
  3. Changed my config.php files, now can't login to store
    By tedvieira in forum General Questions
    Replies: 11
    Last Post: 27 Mar 2008, 10:25 PM
  4. enabling ssl in configure.php I get a error message
    By OCB in forum Basic Configuration
    Replies: 1
    Last Post: 26 Oct 2007, 12:41 AM

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