This is a discussion on setup guide for http to https? within the osCommerce 2.2 Installation Help forums, part of the osCommerce 2.2 Forums category; Yes, When I first set up the paypal account, there was no oscdox, I used my existing fitness business bank ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#11
| ||||
| ||||
| Yes, When I first set up the paypal account, there was no oscdox, I used my existing fitness business bank account to set up paypal. Since I already had it setup, paypal will not allow me to use the same account with a different name. So, the name Synergetic Health must stay (I also use it for my Fitness Biz - that is my day job! I run a health and fitness studio in Mesa AZ)
__________________ Michael Sasek osCMax Developer
|
| Sponsored Links | ||
| ||
|
#12
| ||||
| ||||
| The page with no images and no styles is becuase your stylesheet is not loading... Most likely has to do with your SSL troubles. Change the url to http in your browser and all the styles pop right up. It is definitely related to the SSL trouble.
__________________ Michael Sasek osCMax Developer
|
|
#13
| ||||
| ||||
| I figured it out! Check this out: https://www.driedflowersrus.com/cata...action=process It works! Change your configure.php to https://www.driedflowersrus.com and that should fix it for you.
__________________ Michael Sasek osCMax Developer
|
|
#14
| |||
| |||
| Yea, I know that it works okay under http, but actually, it was working the other day with https, however, I have a partner working the code and I don't know if it's something she had changed. I know she had played with the chmod settings the other day but I think she reversed them. Are they different for http and https? JW |
|
#15
| |||
| |||
| |
|
#16
| ||||
| ||||
| Change the Code: define('HTTPS_SERVER', 'https://driedflowersrus.com'); // eg, https://localhost - should not be NULL for productive servers
Code: define('HTTPS_SERVER', 'https://www.driedflowersrus.com'); // eg, https://localhost - should not be NULL for productive servers
__________________ Michael Sasek osCMax Developer
|
|
#17
| |||
| |||
| Hey, we are making big progess. But, it's still not switching. This is my driedflowersrus.com\admin\includes Released under the GNU General Public License */ // define our webserver variables // FS = Filesystem (physical) // WS = Webserver (virtual) define('HTTP_SERVER', 'HTTP://www.driedflowersrus.com'); // eg, http://localhost - should not be NULL for productive servers define('HTTPS_SERVER', 'HTTPS://www.driedflowersrus.com'); // eg, https://localhost - should not be NULL for productive servers define('HTTP_CATALOG_SERVER', ''); define('HTTPS_CATALOG_SERVER', ''); define('ENABLE_SSL', 'true'); // secure webserver for administration tool define('ENABLE_SSL_CATALOG', 'false'); // secure webserver for catalog module define('DIR_FS_DOCUMENT_ROOT', $DOCUMENT_ROOT); // where your pages are located on the server. if $DOCUMENT_ROOT doesnt suit you, replace with your local path. (eg, /usr/local/apache/htdocs) define('DIR_WS_ADMIN', '/admin/'); define('DIR_FS_ADMIN', DIR_FS_DOCUMENT_ROOT . DIR_WS_ADMIN); define('DIR_WS_CATALOG', '/catalog/'); define('DIR_FS_CATALOG', DIR_FS_DOCUMENT_ROOT . DIR_WS_CATALOG); define('DIR_WS_IMAGES', 'images/'); define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/'); define('DIR_WS_CATALOG_IMAGES', DIR_WS_CATALOG . 'images/'); define('DIR_WS_INCLUDES', 'includes/'); define('DIR_WS_INCLUDESMAIN', 'catalog/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', DIR_WS_CATALOG . 'includes/languages/'); 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_BACKUP', DIR_FS_ADMIN . 'backups/'); // define our database connection define('DB_SERVER', ''); define('DB_SERVER_USERNAME', 'mysql'); define('DB_SERVER_PASSWORD', ''); define('DB_DATABASE', 'catalog'); define('USE_PCONNECT', 'false'); define('STORE_SESSIONS', ''); ?> |
|
#18
| |||
| |||
| This is my catalog/includes/configure */ // Define the webserver and path parameters // * DIR_FS_* = Filesystem directories (local/physical) // * DIR_WS_* = Webserver directories (virtual/URL) define('HTTP_SERVER', 'HTTP://www.driedflowersrus.com'); // eg, http://localhost - should not be NULL for productive servers define('HTTPS_SERVER', 'HTTPS://www.driedflowersrus.com'); // eg, https://localhost - should not be NULL for productive servers define('ENABLE_SSL', true); // secure webserver for checkout procedure? define('DIR_WS_CATALOG', '/catalog/'); // absolute path required define('DIR_WS_IMAGES', 'images/'); define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/'); define('DIR_WS_INCLUDES', 'includes/'); // If "URL fopen wrappers" are enabled in PHP (which they are in the default configuration), this can be a URL instead of a local pathname 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_DOWNLOAD_PUBLIC', DIR_WS_CATALOG . 'pub/'); define('DIR_FS_DOCUMENT_ROOT', $DOCUMENT_ROOT); // where your pages are located on the server. if $DOCUMENT_ROOT doesnt suit you, replace with your local path. (eg, /usr/local/apache/htdocs) define('DIR_FS_CATALOG', DIR_FS_DOCUMENT_ROOT . DIR_WS_CATALOG); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); // define our database connection define('DB_SERVER', ''); // eg, localhost - should not be NULL for productive servers define('DB_SERVER_USERNAME', 'mysql'); define('DB_SERVER_PASSWORD', ''); define('DB_DATABASE', 'catalog'); define('USE_PCONNECT', 'false'); // use persistent connections? define('STORE_SESSIONS', ''); // leave empty '' for default handler or set to 'mysql' ?> |
|
#19
| ||||
| ||||
| See what I have added in BOLD Quote:
__________________ Michael Sasek osCMax Developer
|
|
#20
| |||
| |||
| Hi Mike, I'm working with John on this site. I'm learning php. All the changes you've suggested are in place, but no dice. Here are snippets of the changes from admin/include/configure.php: define('HTTP_SERVER', 'http://www.driedflowersrus.com'); // eg, http://localhost - should not be NULL for productive servers define('HTTPS_SERVER', 'https://www.driedflowersrus.com'); // eg, https://localhost - should not be NULL for productive servers define('HTTP_CATALOG_SERVER', 'http://www.driedflowersrus.com'); define('HTTPS_CATALOG_SERVER', 'https://www.driedflowersrus.com'); define('ENABLE_SSL', 'true'); // secure webserver for administration tool define('ENABLE_SSL_CATALOG', 'true'); // secure webserver for catalog module define('DB_SERVER', 'localhost'); And here are snippets from catalog/include/configure.php: define('HTTP_SERVER', 'http://www.driedflowersrus.com'); // eg, http://localhost - should not be NULL for productive servers define('HTTPS_SERVER', 'https://www.driedflowersrus.com'); // eg, https://localhost - should not be NULL for productive servers define('ENABLE_SSL', true); // secure webserver for checkout procedure? define('DB_SERVER', 'localhost'); I'm going to get our server details tomorrow. Maybe it's a server software thing? Thank you for all your help so far! -Lauren |
| Sponsored Links | ||
| ||
| Thread Tools | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| https:// Admin redirects to http:// | driwashsolutions | osCMax v2 Installation issues | 3 | 01-23-2006 07:41 PM |
| admin login goes https to http??? | john- | osCMax v1.7 Discussion | 2 | 12-23-2003 07:19 AM |