crazylegs852 Posted June 30, 2007 Share Posted June 30, 2007 Hi Can anybody help me. i've search the forum and can't find the information. I have a privatte SSL installed on my host server they say to cofigure so my site goes throught the https:// but i goto my site http://www.crazys-allsorts.co.uk and the go to create an account it says it is HTTPS:// but says there is a error. i was told to set it up in configure.PHP but don't know what to change can anybody help me Please thanks Link to comment Share on other sites More sharing options...
web-project Posted June 30, 2007 Share Posted June 30, 2007 you need to change URL in configure.php see image why: Please read this line: Do you want to find all the answers to your questions? click here. As for contribution database it's located here! 8 people out of 10 don't bother to read installation manuals. I can recommend: if you can't read the installation manual, don't bother to install any contribution yourself. Before installing contribution or editing/updating/deleting any files, do the full backup, it will save to you & everyone here on the forum time to fix your issues. Any issues with oscommerce, I am here to help you. Link to comment Share on other sites More sharing options...
ozEworks Posted June 30, 2007 Share Posted June 30, 2007 they mean the missing "www" Link to comment Share on other sites More sharing options...
crazylegs852 Posted July 1, 2007 Author Share Posted July 1, 2007 Hi Thanks for the info do you know where i have to set this up what line of code i have to change. i was told in the configure.php file to change it but what line i'm newbie please help thanks Link to comment Share on other sites More sharing options...
ozEworks Posted July 1, 2007 Share Posted July 1, 2007 You should have two lines like this: define('HTTP_SERVER', 'http://www.crazys-allsorts.co.uk'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', 'https://www.crazys-allsorts.co.uk'); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', true); // secure webserver for checkout procedure? You need to do it in includes/configure.php and admin/includes/configure.php Link to comment Share on other sites More sharing options...
crazylegs852 Posted July 1, 2007 Author Share Posted July 1, 2007 Hi FlyingKites Thanks yea i tryed to change the lines in admin and includes but get a error message this is the ADMIN config page <?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://crazys-allsorts.co.uk'); // eg, http://localhost - should not be empty for productive servers define('HTTP_CATALOG_SERVER', 'http://crazys-allsorts.co.uk'); define('HTTPS_CATALOG_SERVER', 'https://crazys-allsorts.co.uk'); define('ENABLE_SSL_CATALOG', 'true'); // secure webserver for catalog module define('DIR_FS_DOCUMENT_ROOT', '/home/crazysal/public_html/shop/'); // where the pages are located on the server define('DIR_WS_ADMIN', '/shop/admin/'); // absolute path required define('DIR_FS_ADMIN', '/home/crazysal/public_html/shop/admin/'); // absolute pate required define('DIR_WS_CATALOG', '/shop/'); // absolute path required define('DIR_FS_CATALOG', '/home/crazysal/public_html/shop/'); // absolute path required 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_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', 'localhost'); // eg, localhost - should not be empty for productive servers define('DB_SERVER_USERNAME', *********); define('DB_SERVER_PASSWORD', '***********'); define('DB_DATABASE', ***********); define('USE_PCONNECT', 'false'); // use persisstent connections? define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql' ?> This is the Includes config page. <?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://crazys-allsorts.co.uk'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', 'https://crazys-allsorts.co.uk'); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', true); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', 'crazys-allsorts.co.uk'); define('HTTPS_COOKIE_DOMAIN', 'crazys-allsorts.co.uk'); define('HTTP_COOKIE_PATH', '/shop/'); define('HTTPS_COOKIE_PATH', '/shop/'); define('DIR_WS_HTTP_CATALOG', '/shop/'); define('DIR_WS_HTTPS_CATALOG', '/shop/'); 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/crazysal/public_html/shop/'); 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', ************); define('DB_SERVER_PASSWORD', '**********'); define('DB_DATABASE', **********); define('USE_PCONNECT', 'false'); // use persistent connections? define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql' ?> So i cahnge those two lines you said to www.crazys-allsorts.co.uk but when i do i get an error message /home/crazysal/public_html/shop/includesconfigure.php -------------------------------------------------------------------------------- [a fatal error or timeout occurred while processing this directive] am i doing something wrong thanks Link to comment Share on other sites More sharing options...
ozEworks Posted July 1, 2007 Share Posted July 1, 2007 When I try to go to your site http://www.www.crazys-allsorts.co.uk it takes me to https://www.crazys-allsorts.co.uk/shop/ So how are you doing that? You got a redirect somewhere in your .htaccess file? you should not be doing that. When I click on the My account link I am taken to https://crazys-allsorts.co.uk/shop/login.php so you are still missing the www in your configure.php file or it is something to do with the cookie domain. I am not 100% sure on that but try putting a "www" there too? Link to comment Share on other sites More sharing options...
crazylegs852 Posted July 3, 2007 Author Share Posted July 3, 2007 :lol: Done it Thank god for that well just me being stupid again lol forgot to change the permissions to allow me to edit the file thanks FlyingKites for the help :lol: Link to comment Share on other sites More sharing options...
ozEworks Posted July 3, 2007 Share Posted July 3, 2007 Stupid is a pre-requisite for osCommerce. It is all about learning from your mistakes. If it all worked smoothly we'd never learn how it all works and remain stupid. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.