Results 1 to 7 of 7
  1. #1
    Join Date
    Jan 2010
    Posts
    30
    Plugin Contributions
    0

    Default After enabling ssl, site reverted back to install page

    I had my site up a going well. Graphics looked good, the site was functional, the only thing left was to enable SSL. After enabling SSL, my site disappeared and I am getting the Zen Cart install page.

    My hosting company just added the ssl cert and I suspect that the problem has something to do with the dedicated IP address but I really don't know. At any rate, I am reasonably certain that it's a configuration problem with the configure files.

    Can someone help me troubleshoot this? I would greatly appreciate any help!

    John

  2. #2
    Join Date
    Oct 2006
    Location
    Alberta, Canada
    Posts
    4,571
    Plugin Contributions
    1

    Default Re: After enabling ssl, site reverted back to install page

    If the problem started after your Hoster added the SSL Cert, might be best to question them.

    In order for anyone at the Forum to help, would need to know your URL and possibly some info from your Admin 'configure.php' file.

  3. #3
    Join Date
    Jan 2010
    Posts
    30
    Plugin Contributions
    0

    Default Re: After enabling ssl, site reverted back to install page

    Here's some better information (the web site is www.beautyoutfitters.com.):

    Here were my settings before enabling the SSL (I will just do the includes/configure.php file minus the comments):

    define('HTTP_SERVER', 'http://www.beautyoutfitters.com');
    define('HTTPS_SERVER', 'https://www.beautyoutfitters.com/');

    define('ENABLE_SSL', 'false');

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

    define('DIR_FS_CATALOG', '/');

    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('DB_TYPE', 'mysql');
    define('DB_PREFIX', ''); // prefix for database table names -- preferred to be left empty
    define('DB_SERVER', 'localhost');
    define('DB_SERVER_USERNAME', 'username');
    define('DB_SERVER_PASSWORD', 'password');
    define('DB_DATABASE', 'db_name');
    define('USE_PCONNECT', 'false');
    define('STORE_SESSIONS', 'db');

    define('SQL_CACHE_METHOD', 'none');
    define('DIR_FS_SQL_CACHE', '/home/jcellini/public_html/beautyoutfitters.com/cache');

    My hosting service added a ssl cert, tested it, and emailed me saying it was done:

    https://beautyoutfitters.com/

    Here were the changes I made:

    define('HTTP_SERVER', 'http://www.beautyoutfitters.com');
    define('HTTPS_SERVER', 'https://.beautyoutfitters.com/');

    define('ENABLE_SSL', 'true');

    For the admin/includes/configure.php file, here are the changes:

    define('HTTP_SERVER', 'http://www.beautyoutfitters.com');
    define('HTTPS_SERVER', 'https://beautyoutfitters.com/');
    define('HTTP_CATALOG_SERVER', 'http://www.beautyoutfitters.com');
    define('HTTPS_CATALOG_SERVER', 'https://beautyoutfitters.com/');

    define('ENABLE_SSL_CATALOG', 'true');
    define('ENABLE_SSL_ADMIN', 'true');

    There seems to be an invalid path and it may be clear to someone who knows php.

    Thanks for you help!

  4. #4
    Join Date
    Oct 2006
    Location
    Alberta, Canada
    Posts
    4,571
    Plugin Contributions
    1

    Default Re: After enabling ssl, site reverted back to install page

    define('HTTPS_SERVER', 'https://.beautyoutfitters.com/');

    If the . is before you Domain name in your config file, remove it.

  5. #5
    Join Date
    Jan 2010
    Posts
    30
    Plugin Contributions
    0

    Default Re: After enabling ssl, site reverted back to install page

    The . was not before my domain name like in my example. When I copied my example it was originally www. - I removed the www but on the dot. (I was trying a few different variations.) Good call though!

    After researching this problem on the web (for several hours) I found a post that described exactly the same problem I had. I called the guy who had the problem and he told me that after his hosting company installed the ssl cert the path to the db was invalid. He emailed his hosting company and asked them to make sure that the path in the configure file was correct. That worked for him - the hosting company corrected the path. I did the same and it worked for me.

    Thanks for offering your assistance. I is greatly appreciated!

  6. #6
    Join Date
    Oct 2006
    Location
    Alberta, Canada
    Posts
    4,571
    Plugin Contributions
    1

    Default Re: After enabling ssl, site reverted back to install page

    Glad to hear things got sorted out for you.

  7. #7
    Join Date
    Jan 2010
    Posts
    30
    Plugin Contributions
    0

    Default Re: After enabling ssl, site reverted back to install page

    Update:

    Actually, my hosting company did not cause the problem but they corrected the problem for me. The problem turned out to be this: I did not specify a path to my catalog directory. Here is that code:

    define('DIR_FS_CATALOG', '/');

    I should have entered a path to my Zen Cart catalog file. The hosting company did it for me:

    define('DIR_FS_CATALOG', '/home/jcellini/public_html/');

    Problem solved!

 

 

Similar Threads

  1. Replies: 4
    Last Post: 9 Nov 2014, 12:45 AM
  2. Replies: 3
    Last Post: 22 Jul 2010, 06:11 PM
  3. After enabling SSL, page problems
    By Tomzep in forum Basic Configuration
    Replies: 5
    Last Post: 12 Dec 2008, 02:25 PM
  4. Enabling SSL after installation
    By friends1976 in forum General Questions
    Replies: 22
    Last Post: 7 Oct 2008, 08:07 PM
  5. enabling ssl checkout after installation
    By andy1234 in forum Addon Payment Modules
    Replies: 3
    Last Post: 9 Jan 2007, 10:13 AM

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