Alright, I disabled SSL and now its working.
Alright, I disabled SSL and now its working.
Glad to hear that.
For future reference to your question about the "Catalog config" file, open that file up /includes/configure.php and look for the SSL switches as well as the Admin switches. It looks identical (for the most part) to the one found in the Admin.
Simply make sure your paths there match to those (where applicable of course) in the Admin config file.
Eric
20 Ways to Increase Sales Using Zen Cart
Zen Cart contribs: Simple Google Analytics, Export Shipping Information
Perhaps the tutorial should be updated to include this?
For future reference to your question about the "Catalog config" file, open that file up /includes/configure.php and look for the SSL switches as well as the Admin switches. It looks identical (for the most part) to the one found in the Admin.
Simply make sure your paths there match to those (where applicable of course) in the Admin config file.
One more hour of frustration here.
Dr Byte, you have saved my bacon! I removed the paths that Dreamweaver added with the marvelous WinMerge and am back up and running! I can't thank you enough![]()
Hi, I am having this problem, I have changed every instance of admin to a new name in admin/includes/configure.php but can only log in when SSL is off.
In the other configure.php file there are no references to admin and I can't see anything else I could change.
Any help appreciated.
Could some one please tell me what to change in the /includes/configure.php file so I can log on admin again. I can't for the life of me figure it out. I have the one in admin/includes/configure.php changed Thank you
You don't touch the /includes/configure.php file if you're only renaming your admin folder.
Only the /YOURADMINFOLDER/includes/configure.php file needs to be edited.
What changes did you make?
https://www.zen-cart.com/tutorials/index.php?article=73
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
Hello DrByte, thank you for the reply. This is all I have change, except the admin . I change the name to the same below
<?php
//
/**
*
* @package Configuration Settings
* @copyright Copyright 2003-2006 Zen Cart Development Team
* @copyright Portions Copyright 2003 osCommerce
* @license http://www.zen-cart.com/license/2_0.txt 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, http://localhost - should not be empty for productive servers
// HTTP_SERVER is your Main webserver: eg, http://www.yourdomain.com
// HTTPS_SERVER is your Secure webserver: eg, https://www.yourdomain.com
// HTTP_CATALOG_SERVER is your Main webserver: eg, http://www.yourdomain.com
// HTTPS_CATALOG_SERVER is your Secure webserver: eg, https://www.yourdomain.com
/*
* 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.thegoodshepherdstore.com');
define('HTTPS_SERVER', 'https://www.thegoodshepherdstore.com');
define('HTTP_CATALOG_SERVER', 'http://www.thegoodshepherdstore.com');
define('HTTPS_CATALOG_SERVER', 'https://www.thegoodshepherdstore.com');
// 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', '/XYZABC/');
define('DIR_WS_CATALOG', '/');
define('DIR_WS_HTTPS_ADMIN', '/XYZABC/');
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', '/home/content/d/a/r/darlenemolden/html/XYZABC/');
define('DIR_FS_CATALOG', '/home/content/d/a/r/darlenemolden/html/');
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('SQL_CACHE_METHOD', 'database');
define('DIR_FS_SQL_CACHE', '/home/content/d/a/r/darlenemolden/html/cache');
?>
Last edited by DrByte; 6 Sep 2007 at 10:32 PM. Reason: hide real admin folder name