Jonj1611 Posted August 5, 2004 Posted August 5, 2004 Hi, When I load my page through my shared connection which I have to manually type in I get no images and hardly any page formatting. Here is my configuration file, should the bit the says HTTPS_SERVER point to the shared server rather than the https://jonsmedia.com which it is currently set at? Thanks <?php /* osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright © 2003 osCommerce Released under the GNU General Public License */ // Define the webserver and path parameters // * DIR_FS_* = Filesystem directories (local/physical) // * DIR_WS_* = Webserver directories (virtual/URL) define('HTTP_SERVER', 'http://jonsmedia.com'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', 'https://jonsmedia.com'); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', true); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', 'jonsmedia.com'); define('HTTPS_COOKIE_DOMAIN', 'jonsmedia.com'); define('HTTP_COOKIE_PATH', '/cart/'); define('HTTPS_COOKIE_PATH', '/cart/'); define('DIR_WS_HTTP_CATALOG', '/cart/'); define('DIR_WS_HTTPS_CATALOG', '/cart/'); define('DIR_WS_IMAGES', 'images/'); define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/'); 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_DOWNLOAD_PUBLIC', 'pub/'); define('DIR_FS_CATALOG', '/home/sites/jonsmedia.com/public_html/cart/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); // define our database connection define('DB_SERVER', 'localhost'); // eg, localhost - should not be empty for productive servers define('DB_SERVER_USERNAME', 'username'); define('DB_SERVER_PASSWORD', 'password'); define('DB_DATABASE', 'database'); define('USE_PCONNECT', 'false'); // use persistent connections? define('STORE_SESSIONS', ''); // leave empty '' for default handler or set to 'mysql' ?>
Jonj1611 Posted August 5, 2004 Author Posted August 5, 2004 Ok, don't worry I have done it, many thanks. :)
pacosvillage Posted August 6, 2004 Posted August 6, 2004 Jon, What was the answer to your https:// question that fixed your problem? I've been satuck on this install for 2 days. And I'm using a shared SSL from my main server.
AlanR Posted August 6, 2004 Posted August 6, 2004 Jon,What was the answer to your https:// question that fixed your problem? I've been satuck on this install for 2 days. And I'm using a shared SSL from my main server. Just look at his configure file then check the site. He didn't have the shared server address correct. It is https://web1.secure-secure.co.uk/jonsmedia.com so the https cookie domain is: web1.secure-secure.co.uk/jonsmedia.com Everything else was probably OK. Local: Mac OS X 10.5.8 - Apache 2.2/php 5.3.0/MySQL 5.4.10 • Web Servers: Linux Tools: BBEdit, Coda, Versions (Subversion), Sequel Pro (db management)
pacosvillage Posted August 6, 2004 Posted August 6, 2004 THanks for the info Alan, are you using authorize.net? And is it up and running for you? If so could you look at my post in the installation& configuration forum to see if you've got any ideas on what I can do? Thanks so much- I'm pulling my hair out on this install. Frank
pacosvillage Posted August 6, 2004 Posted August 6, 2004 Do you need to put the ~ in before the mydomainname.com in the https:// layout? And if it is in there could it negatively effect the info in php if the ~ isn't needed?
AlanR Posted August 6, 2004 Posted August 6, 2004 Do you need to put the ~ in before the mydomainname.com in the https:// layout?And if it is in there could it negatively effect the info in php if the ~ isn't needed? I don't have any experience with authorize net. I expect you'll need the tilde (~). Just experiment manually in your address bar and you'll quickly find out what works and what doesn't. Then use that url and domain. From your other post it looks like you've done that in the admin config file. Local: Mac OS X 10.5.8 - Apache 2.2/php 5.3.0/MySQL 5.4.10 • Web Servers: Linux Tools: BBEdit, Coda, Versions (Subversion), Sequel Pro (db management)
Jonj1611 Posted August 6, 2004 Author Posted August 6, 2004 Hi, Yes, my problem was I was typing https://jonsmedia.com where it should have been https://web1.secure-secure.co.uk/jonsmedia.com after that the cart started working with ssl protection, sorry it took so long for me to get back to you I sort of went to bed after I posted my last reply!
Recommended Posts
Archived
This topic is now archived and is closed to further replies.