Silverado05 Posted March 5, 2006 Posted March 5, 2006 Hello, I have just setup my SSL and configured it in config.php and now I am getting something weird happening. When you select checkout it doesn't take you the checkout pages it redirects to pay-pal for me to sign in. Is thier a reason it is doing this and is their something else that needs to be set? -Thanks Search the forum and contributions before posting. If that doesn't work, keep looking, then post. The forum is for seeking help and advice NOT for someone to do your work for you. Try to do something on your on, if you are going to run a shop then learn how it works.
♥Vger Posted March 5, 2006 Posted March 5, 2006 There's no reason that should happen unless you've been playing around with the coding. Vger
Silverado05 Posted March 5, 2006 Author Posted March 5, 2006 Nope, not at all. I haven't coded anything to do with pay-pal anywhere with the exception of the emblem at the bottom of the page that is linked to my verified page. The only thing I changed was the include/configure.php to add my details for the SSL. // Define the webserver and path parameters // * DIR_FS_* = Filesystem directories (local/physical) // * DIR_WS_* = Webserver directories (virtual/URL) define('HTTP_SERVER', 'http://txcampingoutfitters.com'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', 'https://https://secure.bluehost.com/~txcampin/'); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', true); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', 'txcampingoutfitters.com'); define('HTTPS_COOKIE_DOMAIN', 'https://secure.bluehost.com/~txcampin/'); define('HTTP_COOKIE_PATH', '/'); define('HTTPS_COOKIE_PATH', '/'); define('DIR_WS_HTTP_CATALOG', '/'); define('DIR_WS_HTTPS_CATALOG', '/'); Any ideas? -Thanks Search the forum and contributions before posting. If that doesn't work, keep looking, then post. The forum is for seeking help and advice NOT for someone to do your work for you. Try to do something on your on, if you are going to run a shop then learn how it works.
♥Vger Posted March 5, 2006 Posted March 5, 2006 define('HTTPS_SERVER', 'https://secure.bluehost.com/~txcampin'); define('HTTPS_COOKIE_DOMAIN', 'secure.bluehost.com/~txcampin'); Vger
Silverado05 Posted March 5, 2006 Author Posted March 5, 2006 Thanks for the reply and the suggestion, but it is still doing it. I have even noticed that it is also doing it when you try to sign into your account to check order histroy etc. I have even tried clearing my cache and cookies and no luck, I'm stumped. -Thanks Search the forum and contributions before posting. If that doesn't work, keep looking, then post. The forum is for seeking help and advice NOT for someone to do your work for you. Try to do something on your on, if you are going to run a shop then learn how it works.
♥Vger Posted March 5, 2006 Posted March 5, 2006 Check in includes/local/ and in admin/includes/local/ and if you find any alternative configure.php files in those folders then either rename or delete them. If there are no alternative configure.php files in the 'local' folders then the edits you have applied to the configure.php file are not being uploaded and overwriting the original includes/configure.php file. If the includes/configure.php file is set to Read Only permissions then you have to change that before you upload the changed file, and then reset afterwards. Also, if people are being directed to Pay Pal when they hit any of your https links it means that whatever configure.php file is being used by your site it has the Pay Pal address in it for https_server. Vger
Silverado05 Posted March 5, 2006 Author Posted March 5, 2006 Thank you for the suggestion. The code is taking because I can check it after I change it to make sure, and I am changing the permissions before I change it. Here is something interesting I stumbled upon. If I call the login.php directly with the secured SSL in the URL like this: https://secure.bluehost.com/~txcampin/login...26f6550882f70f0 Then it all works correctly even the checkout. Now why the login page isn't secured when you go to that page to start with and why it transfers to pay-pal is beyond me. I have only one configure.php in the local folder but all it has is a few lines for my fancier invoice contribution and it was also still doing it before I installed that last night so I don't think it would be that conflicting with it. Here is the config file as it is edited now: define('HTTP_SERVER', 'http://txcampingoutfitters.com'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', 'https://secure.bluehost.com/~txcampin'); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', true); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', 'txcampingoutfitters.com'); define('HTTPS_COOKIE_DOMAIN', 'secure.bluehost.com/~txcampin'); define('HTTP_COOKIE_PATH', '/'); define('HTTPS_COOKIE_PATH', '/'); define('DIR_WS_HTTP_CATALOG', '/'); define('DIR_WS_HTTPS_CATALOG', '/'); -Thanks Search the forum and contributions before posting. If that doesn't work, keep looking, then post. The forum is for seeking help and advice NOT for someone to do your work for you. Try to do something on your on, if you are going to run a shop then learn how it works.
♥Vger Posted March 5, 2006 Posted March 5, 2006 I have only one configure.php in the local folder but all it has is a few lines for my fancier invoice contribution You need to rename it or delete it. Only work with the ones in the includes folder and in admin/includes. Your website is not redirecting to Pay Pal of its own free will. Somewhere it has to be configured to do so. Vger
Silverado05 Posted March 5, 2006 Author Posted March 5, 2006 But if delete the configure.php in the includes/local/ then the contribution it is used for will not work. Besides that it was doing this before I installed this contribution and installed that file so I don't think it would be that. I have not coded anything to do with pay-pal except for linking a logo in my footer to my verfied pay-page. Here is my FULL includes/configure.php. <?php /* osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 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://txcampingoutfitters.com'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', 'https://secure.bluehost.com/~txcampin'); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', true); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', 'txcampingoutfitters.com'); define('HTTPS_COOKIE_DOMAIN', 'secure.bluehost.com/~txcampin'); define('HTTP_COOKIE_PATH', '/'); define('HTTPS_COOKIE_PATH', '/'); define('DIR_WS_HTTP_CATALOG', '/'); define('DIR_WS_HTTPS_CATALOG', '/'); 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/txcampin/public_html'); 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', 'XXXXXXXXXXX'); define('DB_SERVER_PASSWORD', 'XXXXXXXXXXX); define('DB_DATABASE', 'XXXXXXXXXXXXX'); define('USE_PCONNECT', 'false'); // use persistent connections? define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql' ?> -Thanks Search the forum and contributions before posting. If that doesn't work, keep looking, then post. The forum is for seeking help and advice NOT for someone to do your work for you. Try to do something on your on, if you are going to run a shop then learn how it works.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.