I am getting two settings errors in my admin control panel pertaining to SSL settings in both of my configure.php files. My server has a shared SSL URL that I can use until I get my site live and purchase a real SSL. So for now my shared SSL is a different web address than for my domain name.
My Example Domain Name:
www.MYDomain.com
Here is the shared SSL URL for my server:
http://greenwald.websitewelcome.com/~myusername
I get an error is my admin control panel:
Code:
Some potential issues were found in your "admin" configure.php. Failure to correct these issues may result in Zen Cart not functioning as intended.
The "admin" configure.php file can be found at /home/MYUSERNAME/public_html/MYADMIN/includes/configure.php.
- The path to the subdirectory must be removed from HTTPS_CATALOG_SERVER.
- If the store is in a subdirectory
- The name of the subdirectory should be placed in DIR_WS_HTTPS_CATALOG.
- The subdirectory should be preceded and followed by slashes, e.g. /store/.
- The subdirectory name cannot be included in the HTTPS_CATALOG_SERVER setting.
|
Some potential issues were found in your "store / catalog" configure.php. Failure to correct these issues may result in Zen Cart not functioning as intended.
The "store / catalog" configure.php file can be found at /home/MYUSERNAME/public_html/includes/configure.php.
- The path to the subdirectory must be removed from HTTPS_SERVER.
- If the store is in a subdirectory
- The name of the subdirectory should be placed in DIR_WS_HTTPS_CATALOG.
- The subdirectory should be preceded and followed by slashes, e.g. /store/.
- The subdirectory name cannot be included in the HTTPS_SERVER setting.
|
My includes> configure.php looks like this:
Code:
define('HTTP_SERVER', 'http://www.MYDomain.com');
define('HTTPS_SERVER', 'http://greenwald.websitewelcome.com/~myusername');
define('DIR_WS_CATALOG', '/');
define('DIR_WS_HTTPS_CATALOG', '/');
And my admin> includes>configure.php looks like this:
Code:
define('HTTP_SERVER', 'http://www.MYDomain.com');
define('HTTPS_SERVER', 'http://greenwald.websitewelcome.com/~myusername');
define('HTTP_CATALOG_SERVER', 'http://www.MYDomain.com');
define('HTTPS_CATALOG_SERVER', 'http://greenwald.websitewelcome.com/~myusername');
// secure webserver for admin? Valid choices are 'true' or 'false' (including quotes).
define('ENABLE_SSL_ADMIN', 'false');
// secure webserver for storefront? Valid choices are 'true' or 'false' (including quotes).
define('ENABLE_SSL_CATALOG', 'true');
define('DIR_WS_ADMIN', preg_replace('#^' . str_replace('-', '\-', zen_parse_url(HTTP_SERVER, '/path')) . '#', '', dirname($_SERVER['SCRIPT_NAME'])) . '/');
define('DIR_WS_CATALOG', '/');
define('DIR_WS_HTTPS_ADMIN', preg_replace('#^' . str_replace('-', '\-', zen_parse_url(HTTPS_SERVER, '/path')) . '#', '', dirname($_SERVER['SCRIPT_NAME'])) . '/');
define('DIR_WS_HTTPS_CATALOG', '/');
// 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_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)
define('DIR_FS_ADMIN', preg_replace('#.includes$#', '', realpath(dirname(__FILE__) . '/../') . '/'));
//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/MYUSERNAME/public_html/');
//the following path is a COMPLETE path to the /logs/ folder eg: /var/www/vhost/accountname/public_html/store/logs ... and no trailing slash
define('DIR_FS_LOGS', '/home/MYUSERNAME/public_html/logs');
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/');
I understand this is a setting issue in both of these files since my shared SSL is on a different URL and also has this ~ titlde icon, but I just don't know what modify. I know this is likely a simple settings I just don't know what to try.
Bookmarks