techwizard Posted January 26, 2007 Share Posted January 26, 2007 Ok, I don't get it. I've been working with this nightmare since it's been installed. I'm still not showing the padlock at the bottom of the screen when I look at the bottom of the admin page. I finally figured out what I was doing in one section and fixed it. But there still are other areas that don't make much sense. I've looked through this here and the little guide that I came across... I'm not comprehending how it's written. I've been okay up to this point but now I'm stuck again. Here's what I got.. define('HTTP_SERVER', 'http://basketsnboughs.com'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', 'https://basketsnboughs.com'); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', 'true'); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', 'http://basketsnboughs.com'); define('HTTPS_COOKIE_DOMAIN', 'https://basketsnboughs.com'); define('HTTP_COOKIE_PATH', 'http://basketsnboughs.com/shop/'); define('HTTPS_COOKIE_PATH', 'https://basketsnboughs.com/shop/'); define('DIR_WS_HTTP_CATALOG', 'http://basketsnboughs.com/shop/'); define('DIR_WS_HTTPS_CATALOG', 'https://basketsnboughs.com/shop/'); Site is on a Dedicated IP. Config file has been taken care. What else could I be missing? I'd tried doing the code without the http and https but didn't work that way either. Tried using the www in the one piece, that didn't work. If someone could send me a note off line I'd be greatly appreciated for some guidance. Sue Link to comment Share on other sites More sharing options...
satish Posted January 26, 2007 Share Posted January 26, 2007 Ok, I don't get it. I've been working with this nightmare since it's been installed. I'm still not showing the padlock at the bottom of the screen when I look at the bottom of the admin page. I finally figured out what I was doing in one section and fixed it. But there still are other areas that don't make much sense. I've looked through this here and the little guide that I came across... I'm not comprehending how it's written. I've been okay up to this point but now I'm stuck again. Here's what I got.. define('HTTP_SERVER', 'http://basketsnboughs.com'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', 'https://basketsnboughs.com'); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', 'true'); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', 'http://basketsnboughs.com'); define('HTTPS_COOKIE_DOMAIN', 'https://basketsnboughs.com'); define('HTTP_COOKIE_PATH', 'http://basketsnboughs.com/shop/'); define('HTTPS_COOKIE_PATH', 'https://basketsnboughs.com/shop/'); define('DIR_WS_HTTP_CATALOG', 'http://basketsnboughs.com/shop/'); define('DIR_WS_HTTPS_CATALOG', 'https://basketsnboughs.com/shop/'); Site is on a Dedicated IP. Config file has been taken care. What else could I be missing? I'd tried doing the code without the http and https but didn't work that way either. Tried using the www in the one piece, that didn't work. If someone could send me a note off line I'd be greatly appreciated for some guidance. Sue define('HTTP_COOKIE_PATH', 'http://basketsnboughs.com/shop/'); define('HTTPS_COOKIE_PATH', 'https://basketsnboughs.com/shop/'); should be define('HTTP_COOKIE_PATH', 'basketsnboughs.com/shop/'); define('HTTPS_COOKIE_PATH', 'basketsnboughs.com/shop/'); Satish Ask/Skype for Free osCommerce value addon/SEO suggestion tips for your site. Check My About US For who am I and what My company does. Link to comment Share on other sites More sharing options...
techwizard Posted January 27, 2007 Author Share Posted January 27, 2007 define('HTTP_COOKIE_PATH', 'http://basketsnboughs.com/shop/');define('HTTPS_COOKIE_PATH', 'https://basketsnboughs.com/shop/'); should be define('HTTP_COOKIE_PATH', 'basketsnboughs.com/shop/'); define('HTTPS_COOKIE_PATH', 'basketsnboughs.com/shop/'); Satish Ok now I'm at a loss here. it still isn't doing it. when I went to the web site.. http://basketsnboughs.com/shop all images went poof. A question I have is where the image directory is, I can leave that as it is correct? It's listed as images/ now. I'm guessing I don't have to change it so it shows as coming off of the public_html. But then again would I have to in order to make it work? I really don't want to reinstall OSC in order to make this work. Everything was fine up until the point of putting the SSL on the site and now it's gone poof. I'm really confused on this issue. Thanks so much for your guidance on the issue. What could have possibly changed to make it do what it did, any ideas? Sue Link to comment Share on other sites More sharing options...
techwizard Posted January 27, 2007 Author Share Posted January 27, 2007 Something I've been pondering... Would this work if I reinstalled OSC and clicked the box with SSL being set up? :blink: Don't want to go that route but it's looking as though options are running quite thin. I looked through the files where the images would be coming from and from what I can tell, they should be showing but they are not. I cannot figure out where the conflict is coming in. The only solution that I have been able to figure out is the SSL is causing all of this. It was working fine until the install. That brings me to the question, what if I started all over again but with SSL being checked off since I have the certificate. I'm thinking that should work shouldn't it? Sue Link to comment Share on other sites More sharing options...
techwizard Posted January 28, 2007 Author Share Posted January 28, 2007 Something I've been pondering... Would this work if I reinstalled OSC and clicked the box with SSL being set up? :blink: Don't want to go that route but it's looking as though options are running quite thin. I looked through the files where the images would be coming from and from what I can tell, they should be showing but they are not. I cannot figure out where the conflict is coming in. The only solution that I have been able to figure out is the SSL is causing all of this. It was working fine until the install. That brings me to the question, what if I started all over again but with SSL being checked off since I have the certificate. I'm thinking that should work shouldn't it? Sue Could someone please answer the question... Link to comment Share on other sites More sharing options...
collig Posted January 28, 2007 Share Posted January 28, 2007 Could someone please answer the question... In your admin/includes/configure.php file try replacing define('HTTP_SERVER', 'http://yourdomain.com'); with define('HTTP_SERVER', 'https://yourdomain.com'); Link to comment Share on other sites More sharing options...
vptuning Posted January 29, 2007 Share Posted January 29, 2007 In your admin/includes/configure.php file try replacing define('HTTP_SERVER', 'http://yourdomain.com'); with define('HTTP_SERVER', 'https://yourdomain.com'); This worked for me. Many thanks! Link to comment Share on other sites More sharing options...
techwizard Posted January 29, 2007 Author Share Posted January 29, 2007 In your admin/includes/configure.php file try replacing define('HTTP_SERVER', 'http://yourdomain.com'); with define('HTTP_SERVER', 'https://yourdomain.com'); Can I ask a question, I think I understand but I'm curious. :D The https is already written once in the code right. What I'm wondering is what does it do when it's written in place of the http:// Does that basically trick the SSL into making it work, kinda sorta? :blush: Oh speaking of which.. I updated to the latest OSC and was able to get everything back up and running. The only thing that I'm fighting with now is getting the SSL to work so at least now the issues are narrowed down to one specific area. Thanks to everyone who has helped me out so far. :thumbsup: Sue Link to comment Share on other sites More sharing options...
techwizard Posted January 29, 2007 Author Share Posted January 29, 2007 I GOT IT! YAY!! After hours of putting time into this thing I finally figured it out. Not sure what I did but it worked. I think it was the combination between the updating of OSC and the reinstall of SSL plus a few other miscellaneous fixes. In any case.. I'm tickled!! That's one large milestone just crossed over. YAY!! :thumbsup: (w00t) Link to comment Share on other sites More sharing options...
collig Posted January 29, 2007 Share Posted January 29, 2007 Can I ask a question, I think I understand but I'm curious. :D The https is already written once in the code right. What I'm wondering is what does it do when it's written in place of the http:// Does that basically trick the SSL into making it work, kinda sorta? :blush: I'm still a newbie in the area as well, but from what I gather it forces Admin to redirect to the secured pages. I haven't been able to find much explanation as to WHY it would work this way and not the other, but here's what I did find on the net: "Admin area can only secure the "login" page via SSL unless you set the HTTP_SERVER in your "admin/includes/configure.php" to an SSL URL, in which case the entire admin area will be treated as SSL rather than only selected relevant pages". Kasia Link to comment Share on other sites More sharing options...
techwizard Posted January 29, 2007 Author Share Posted January 29, 2007 I'm still a newbie in the area as well, but from what I gather it forces Admin to redirect to the secured pages. I haven't been able to find much explanation as to WHY it would work this way and not the other, but here's what I did find on the net: "Admin area can only secure the "login" page via SSL unless you set the HTTP_SERVER in your "admin/includes/configure.php" to an SSL URL, in which case the entire admin area will be treated as SSL rather than only selected relevant pages". Kasia makes sense.. :D Link to comment Share on other sites More sharing options...
accsyspoint Posted January 30, 2007 Share Posted January 30, 2007 Im having issues with my login and checkout. My first login alway gives me 404 error (page not found). When I refresh its fine. When I finalise an order and submit it when i continue it gives me 404 error. My config file looks like this, anyone have any suggestions? // Define the webserver and path parameters // * DIR_FS_* = Filesystem directories (local/physical) // * DIR_WS_* = Webserver directories (virtual/URL) define('HTTP_SERVER', 'http://www.accsyspoint.com.au'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', 'https://ssltw.servers121.com'); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', true); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', '.accsyspoint.com.au'); define('HTTPS_COOKIE_DOMAIN', 'https://ssltw.servers121.com/~accsyspoint/'); define('HTTP_COOKIE_PATH', '/catalog/'); define('HTTPS_COOKIE_PATH', '/catalog/'); define('DIR_WS_HTTP_CATALOG', '/catalog/'); define('DIR_WS_HTTPS_CATALOG', '/~accsys00/catalog/'); Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.