Forums / General Questions / No Admin After Ssl Installed?

No Admin After Ssl Installed?

Locked

Views: 1,632

Results 1 to 15 of 15
This thread is locked. New replies are disabled.
28 Jun 2007, 6:11 PM
#1
illusionguy avatar

illusionguy

Zen Follower

Join Date:
May 2007
Posts:
136
Plugin Contributions:
0

No Admin After Ssl Installed?

Ok I got our SSL installed after 4 days of working with our host, but now our admin page will not come up, I just re-uploaded the admin file hoping this would fix the problem with no luck this is how our config file is setup.

<?php
//
/**
 *
 * @package Configuration Settings
 * @copyright Copyright 2003-2006 Zen Cart Development Team
 * @copyright Portions Copyright 2003 osCommerce
 * @license [URL]http://www.zen-cart.com/license/2_0.txt[/URL] GNU Public License V2.0
 */
 
/*************** NOTE: This file is similar, but DIFFERENT from the "store" version of configure.php. ***********/
/***************       The 2 files should be kept separate and not used to overwrite each other.      ***********/
// Define the webserver and path parameters
  // Main webserver: eg, [URL]http://localhost[/URL] - should not be empty for productive servers
  // HTTP_SERVER is your Main webserver: eg, [URL]http://www.yourdomain.com[/URL]
  // HTTPS_SERVER is your Secure webserver: eg, [URL]https://www.yourdomain.com[/URL]
  // HTTP_CATALOG_SERVER is your Main webserver: eg, [URL]http://www.yourdomain.com[/URL]
  // HTTPS_CATALOG_SERVER is your Secure webserver: eg, [URL]https://www.yourdomain.com[/URL]
  /* 
   * 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.loyalteefit.com');
  define('HTTPS_SERVER', 'https://www.loyalteefit.com');
  define('HTTP_CATALOG_SERVER', 'http://www.loyalteefit.com');
  define('HTTPS_CATALOG_SERVER', 'https://www.loyalteefit.com');
  // Use secure webserver for catalog module and/or admin areas?
  define('ENABLE_SSL_CATALOG', 'ture'); // ture or false
  define('ENABLE_SSL_ADMIN', 'ture'); // ture or 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', 'admin/');
  define('DIR_WS_CATALOG', '/');
  define('DIR_WS_HTTPS_ADMIN', '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', '/usr/local/4admin/apache/vhosts/loyalteefit.com/httpdocs/admin/');
  define('DIR_FS_CATALOG', '/usr/local/4admin/apache/vhosts/loyalteefit.com/httpdocs/');
  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', 'zen_');
  define('DB_SERVER', 'localhost');
  define('DB_SERVER_USERNAME', ' Removed from this post ');
  define('DB_SERVER_PASSWORD', ' Removed from this post ');
  define('DB_DATABASE', ' Removed from this post ');
  define('USE_PCONNECT', 'false'); // use persistent connections?
  define('STORE_SESSIONS', 'db'); // use 'db' for best support, or '' for file-based storage
  // 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', 'cache');
?>

When you try and go to http://www.loyalteefit.com/admin/ it's just a blank page.

28 Jun 2007, 6:27 PM
#2
gfh2sag avatar

gfh2sag

New Zenner

Join Date:
Jun 2007
Posts:
4
Plugin Contributions:
0

Re: No Admin After Ssl Installed?

You show the following for your code:

define('ENABLE_SSL_CATALOG', 'ture'); // ture or false
define('ENABLE_SSL_ADMIN', 'ture'); // ture or false

I believe that is a typo, and should be the following:

define('ENABLE_SSL_CATALOG', 'true'); // true or false
define('ENABLE_SSL_ADMIN', 'true'); // true or false

28 Jun 2007, 6:38 PM
#3
illusionguy avatar

illusionguy

Zen Follower

Join Date:
May 2007
Posts:
136
Plugin Contributions:
0

Re: No Admin After Ssl Installed?

thanks for catching that gfh2sag, I updated both of my configure files and re-uploaded them, steel blank page.

28 Jun 2007, 8:17 PM
#4
merlinpa1969 avatar

merlinpa1969

Totally Zenned

Join Date:
Mar 2004
Posts:
13,031
Plugin Contributions:
4

Re: No Admin After Ssl Installed?

these > define('DIR_WS_ADMIN', 'admin/');

define('DIR_WS_CATALOG', '/');
define('DIR_WS_HTTPS_ADMIN', 'admin/');
define('DIR_WS_HTTPS_CATALOG', '/');

should be

define('DIR_WS_ADMIN', '/+admin/');
  define('DIR_WS_CATALOG', '/');
  define('DIR_WS_HTTPS_ADMIN', '/admin/');
  define('DIR_WS_HTTPS_CATALOG', '/');

Zen cart PCI compliant Hosting

28 Jun 2007, 8:35 PM
#5
merlinpa1969 avatar

merlinpa1969

Totally Zenned

Join Date:
Mar 2004
Posts:
13,031
Plugin Contributions:
4

Re: No Admin After Ssl Installed?

lose the + from /+admin/ fat finger syndrome today

Zen cart PCI compliant Hosting

28 Jun 2007, 9:21 PM
#6
illusionguy avatar

illusionguy

Zen Follower

Join Date:
May 2007
Posts:
136
Plugin Contributions:
0

Re: No Admin After Ssl Installed?

I love you Merlinpa1969, that fixed it.

Now I have one last question, when you got to https://www.loyalteefit.com that site works great with SSL but when you go to check out (Step 2 of 3) where you add in Credit Card info I want this page to be secured, but it is not?

http://www.loyalteefit.com/index.php?main_page=checkout_payment

includes/configure.php

  define('HTTP_SERVER', 'http://www.loyalteefit.com');
  define('HTTPS_SERVER', 'https://www.loyalteefit.com');
  define('HTTP_CATALOG_SERVER', 'http://www.loyalteefit.com');
  define('HTTPS_CATALOG_SERVER', 'https://www.loyalteefit.com');
  // Use secure webserver for catalog module and/or admin areas?
  define('ENABLE_SSL_CATALOG', 'false'); // true or false
  define('ENABLE_SSL_ADMIN', 'false'); // true or false

includes/configure.php

  define('HTTP_SERVER', 'http://www.loyalteefit.com');
  define('HTTPS_SERVER', 'https://www.loyalteefit.com');
  // Use secure webserver for checkout procedure?
  define('ENABLE_SSL_CATALOG', 'true'); // ture or false
28 Jun 2007, 10:44 PM
#7
merlinpa1969 avatar

merlinpa1969

Totally Zenned

Join Date:
Mar 2004
Posts:
13,031
Plugin Contributions:
4

Re: No Admin After Ssl Installed?

make sure that you have actually uploaded the changed configure.php file

you may have to change the permissions on the includes/configure.php to 755 before you can upload then reset to 644 or lower

none of your secure links are secure

Zen cart PCI compliant Hosting

28 Jun 2007, 11:41 PM
#8
illusionguy avatar

illusionguy

Zen Follower

Join Date:
May 2007
Posts:
136
Plugin Contributions:
0

Re: No Admin After Ssl Installed?

ok Merlinpa1969 I just double checked my settings in my config file deleted the one on the server and re-uploaded the one I just checked, with no luck I have been search the forum for some answers with no luck ether.

includes/configure.php```
define('HTTP_SERVER', 'http://www.loyalteefit.com');
define('HTTPS_SERVER', 'https://www.loyalteefit.com');
// Use secure webserver for checkout procedure?
define('ENABLE_SSL_CATALOG', 'true'); // ture or 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_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', '/usr/local/4admin/apache/vhosts/loyalteefit.com/httpdocs/');
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/');

 
**admin/includes/configure.php**

define('HTTP_SERVER', 'http://www.loyalteefit.com');
define('HTTPS_SERVER', 'https://www.loyalteefit.com');
define('HTTP_CATALOG_SERVER', 'http://www.loyalteefit.com');
define('HTTPS_CATALOG_SERVER', 'https://www.loyalteefit.com');
// Use secure webserver for catalog module and/or admin areas?
define('ENABLE_SSL_CATALOG', 'false'); // true or false
define('ENABLE_SSL_ADMIN', 'false'); // true or 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', '/admin/');
define('DIR_WS_CATALOG', '/');
define('DIR_WS_HTTPS_ADMIN', '/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', '/usr/local/4admin/apache/vhosts/loyalteefit.com/httpdocs/admin/');
define('DIR_FS_CATALOG', '/usr/local/4admin/apache/vhosts/loyalteefit.com/httpdocs/');
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/');

29 Jun 2007, 1:17 AM
#9
illusionguy avatar

illusionguy

Zen Follower

Join Date:
May 2007
Posts:
136
Plugin Contributions:
0

Re: No Admin After Ssl Installed?

Hello guys, I have searched the forums for an answer to this with no luck. Any one have any other ideas that I may try? I'm willing to try just about anything right now, I have been working on this SSL thing now for 4 days I just want to be done with it, I'm in SSL certificate hell... lol

29 Jun 2007, 1:36 AM
#10
merlinpa1969 avatar

merlinpa1969

Totally Zenned

Join Date:
Mar 2004
Posts:
13,031
Plugin Contributions:
4

Re: No Admin After Ssl Installed?

try switching back to the classic template see if that fixes the issue,
if so then you know that its a template issue

Zen cart PCI compliant Hosting

29 Jun 2007, 1:49 AM
#11
illusionguy avatar

illusionguy

Zen Follower

Join Date:
May 2007
Posts:
136
Plugin Contributions:
0

Re: No Admin After Ssl Installed?

Oooo good idea I will try that and let ya know.

29 Jun 2007, 1:53 AM
#12
illusionguy avatar

illusionguy

Zen Follower

Join Date:
May 2007
Posts:
136
Plugin Contributions:
0

Re: No Admin After Ssl Installed?

No that did not work ether, I just set the template to the classic template and did check out and same thing, I'm stumped.

29 Jun 2007, 4:17 AM
#13
illusionguy avatar

illusionguy

Zen Follower

Join Date:
May 2007
Posts:
136
Plugin Contributions:
0

Re: No Admin After Ssl Installed?

I'm going to come at this from a different direction, I made a new folder on the server /store/ and uploaded a fresh right out of zip copy of zen-cart. I'm going to install this version in to a new folder with it's own database, this way I will know if it's zen-cart setup or SSL setup... I will let you know in a bit what I find out.

29 Jun 2007, 5:48 AM
#14
illusionguy avatar

illusionguy

Zen Follower

Join Date:
May 2007
Posts:
136
Plugin Contributions:
0

Re: No Admin After Ssl Installed?

At last I got it working, I installed another copy of zen on the server and the SSL worked just fine and check out that really stumped me so I thought well maybe I edited one of the files some where and did not remember doing so. So I uploaded the hole new site, and steel nothing. What the hell grrrr… I kicked my system what’s going on everything is the same… I decided to compare the working configs with the non working configs just to see if there was any thing different about them, and there was.

In the admin’s config I changed
FROM

  define('ENABLE_SSL_CATALOG', 'false'); // true or false
  define('ENABLE_SSL_ADMIN', 'false'); // true or false

TO

  define('ENABLE_SSL_CATALOG', 'true'); // true or false
  define('ENABLE_SSL_ADMIN', 'false'); // true or false

In the includes config I changed
FROM

  define('ENABLE_SSL_CATALOG ', 'true'); // ture or false

TO

  define('ENABLE_SSL', 'true'); // ture or false

And wallah it works :O) 4 days of hell well 3 days of hosting hell one day of config hell lol.
I would like to thank all of the guys for giving me a hand getting this working thanks

29 Jun 2007, 4:33 PM
#15
gfh2sag avatar

gfh2sag

New Zenner

Join Date:
Jun 2007
Posts:
4
Plugin Contributions:
0

Re: No Admin After Ssl Installed?

Glad you figured it out. I have been battling getting my SSL to work correctly too - mostly with my webhost, though they did respond and fix it quickly. Also had problems with my configuration files too. I do not actually use the Credit Card info section though (I use Paypal for processing my credit cards, so do not take the cc info on my site). Sometimes the multiplicity of files with the same filenames but different directories gets confusing.