steviez Posted October 4, 2005 Share Posted October 4, 2005 Hi, I am well on my way to completeing my online store now, but i have just descoverd some problems. When you go to log in to your account it returns a 404 page not found page but then if you click back on your browser you seem to be logged in! you can see what i meen by going to: iLLuSION Computers and use the following user name and password: user:[email protected] pass:real1 Also when you buy a product from the store all goes fine untill you get to the checkout success page and click continue, it then goes to a 404 file not found page again! One more thing is that when i switch to a secure page i get a lot of warnings about non secure items, it seems to be product images??? Can you help PLEASE!! Thank You P.S The site currently only work with IE6 Link to comment Share on other sites More sharing options...
♥Vger Posted October 4, 2005 Share Posted October 4, 2005 You may be logged in, but you don't get an ssl lock on any of your https pages. It looks to me as though your includes/configure.php file is set up incorrectly. Post it here, minus database user name and password, and also post the address your host has given you for using their shared ssl. Vger Link to comment Share on other sites More sharing options...
steviez Posted October 4, 2005 Author Share Posted October 4, 2005 You may be logged in, but you don't get an ssl lock on any of your https pages. It looks to me as though your includes/configure.php file is set up incorrectly. Post it here, minus database user name and password, and also post the address your host has given you for using their shared ssl. Vger Here is my configure.php for my catalog: /* 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://ftp2.dns-systems.net'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', 'https://storm.dns-systems.net'); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', true); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', 'ftp2.dns-systems.net'); define('HTTPS_COOKIE_DOMAIN', 'https://storm.dns-systems.net'); define('HTTP_COOKIE_PATH', '/~steviez/illusion-computers.co.uk/shop/'); define('HTTPS_COOKIE_PATH', '/~steviez/illusion-computers.co.uk/shop/'); define('DIR_WS_HTTP_CATALOG', '/~steviez/illusion-computers.co.uk/shop/'); define('DIR_WS_HTTPS_CATALOG', '/secure/steviez/illusion-computers.co.uk/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/steviez/YC9R5F01/htdocs/illusion-computers.co.uk/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', 'ftp2.dns-systems.net'); // eg, localhost - should not be empty for productive servers define('DB_SERVER_USERNAME', 'username'); define('DB_SERVER_PASSWORD', 'pass); define('DB_DATABASE', 'dbname'); define('USE_PCONNECT', 'false'); // use persistent connections? define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql' ?> Also here is the address my host has given me for access to my ssl: https://storm.dns-systems.net/secure/steviez Thanks Link to comment Share on other sites More sharing options...
♥Vger Posted October 4, 2005 Share Posted October 4, 2005 Well, assuming your website is actually illusion-computers.co.uk: define('HTTP_SERVER', 'http://www.illusion-computers.co.uk'); define('HTTPS_SERVER', 'https://storm.dns-systems.net/secure/steviez'); // eg, https://localhost - should not be empty for productive servers define('HTTP_COOKIE_DOMAIN', 'www.illusion-computers.co.uk'); define('HTTPS_COOKIE_DOMAIN', 'storm.dns-systems.net/secure/~steviez'); define('HTTP_COOKIE_PATH', '/'); define('HTTPS_COOKIE_PATH', '/'); define('DIR_WS_HTTP_CATALOG', '/shop/'); define('DIR_WS_HTTPS_CATALOG', '/shop/'); If that doesn't work then try leaving the https_cookie_domain and https_cookie_path blank. Vger Link to comment Share on other sites More sharing options...
steviez Posted October 4, 2005 Author Share Posted October 4, 2005 Well, assuming your website is actually illusion-computers.co.uk: define('HTTP_SERVER', 'http://www.illusion-computers.co.uk'); define('HTTPS_SERVER', 'https://storm.dns-systems.net/secure/steviez'); // eg, https://localhost - should not be empty for productive servers define('HTTP_COOKIE_DOMAIN', 'www.illusion-computers.co.uk'); define('HTTPS_COOKIE_DOMAIN', 'storm.dns-systems.net/secure/~steviez'); define('HTTP_COOKIE_PATH', '/'); define('HTTPS_COOKIE_PATH', '/'); define('DIR_WS_HTTP_CATALOG', '/shop/'); define('DIR_WS_HTTPS_CATALOG', '/shop/'); If that doesn't work then try leaving the https_cookie_domain and https_cookie_path blank. Vger You are a star mate! works a treat! any ideas on y i keep getting a prompt saying this page has secure and non secure items? Link to comment Share on other sites More sharing options...
♥Vger Posted October 4, 2005 Share Posted October 4, 2005 The 'secure/nonsecure' warning is usually caused by having images on the page which have been hard-coded to an http address, or the use of a flash graphic with two http references to the Macromedia website. Vger Link to comment Share on other sites More sharing options...
janice171 Posted October 20, 2005 Share Posted October 20, 2005 hi, i have this problem too when on the paypal site...any ideas how to secure the images...i'm presuming it's because i have a logo on the paypal page... thanks Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.