Guest Posted October 28, 2006 Posted October 28, 2006 Hello! I've been testing my shop that is under construction and I have a beginner's simple chekout problem. The first step in the chekout procedure is the "checkout_shipping.php" page like it should normally be. But when I click Continue, it doesnt take me to the Payment Information page (http://www.kevytjakaunis.com/catalog/checkout_payment.php), but back to the front page of the shop. I think this is because the url has been added twice to the link... like this: (http://www.kevytjakaunis.com/catalog/index.php?language=fihttp://www.kevytjakaunis.com/catalog/checkout_payment.php) What pages should I modify and how so that I fix this. The url problem is on every page of the checkout procedure. The webshop is in Finnish language, but when I test it English, the same problem still remains. Thanks for your time!
crash3903 Posted October 28, 2006 Posted October 28, 2006 what do you have in your configure file for the paths? Regards Mark A Reynolds
Guest Posted October 28, 2006 Posted October 28, 2006 This is the whole \includes\configure.php because I'm not sure about the paths.. <?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://www.kevytjakaunis.com'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', ''); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', false); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', 'www.kevytjakaunis.com'); define('HTTPS_COOKIE_DOMAIN', ''); define('HTTP_COOKIE_PATH', '/catalog/'); define('HTTPS_COOKIE_PATH', ''); define('DIR_WS_HTTP_CATALOG', '/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/www/kevytjakaunis.com/catalog/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');
crash3903 Posted October 28, 2006 Posted October 28, 2006 Please edit this post and remove your database information! Regards Mark A Reynolds
crash3903 Posted October 28, 2006 Posted October 28, 2006 Create a file called phpinfo.php delete all code inside this file and insert this code <?php phpinfo() ?> ...and upload to your root folder - load this file in your browser and look at your paths - this will give you the right paths to add into your respective configure files - any problems then let me know and i am happy to login with your permission to set the configure files up for you regards Mark Regards Mark A Reynolds
Guest Posted October 29, 2006 Posted October 29, 2006 I still haven't figured out how to fix this problem. I however realised that those links, which mention SSL, all redirect to the index page. This <a href="<?php echo tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL'); ?>"class="headerNavigation"> <?php echo HEADER_TITLE_CHECKOUT; ?></a> takes me to:http://www.kevytjakaunis.com/catalog/index.php?language=fihttp://www.kevytjakaunis.com/catalog/checkout_payment.php, which redirects back to the index page while this <a href="<?php echo tep_href_link(FILENAME_SHOPPING_CART); ?>" class="headerNavigation"> <?php echo HEADER_TITLE_CART_CONTENTS; ?></a> takes me to:http://www.kevytjakaunis.com/catalog/shopping_cart.php which is exactly the right url. I don't have SSL. I have basically zero understanding of php, but could this SSL have something to do with the redirecting problem, what do you think?
Guest Posted October 30, 2006 Posted October 30, 2006 Hello! I've been testing my shop that is under construction and I have a beginner's simple chekout problem. The first step in the chekout procedure is the "checkout_shipping.php" page like it should normally be. But when I click Continue, it doesnt take me to the Payment Information page (http://www.kevytjakaunis.com/catalog/checkout_payment.php), but back to the front page of the shop. I think this is because the url has been added twice to the link... like this: (http://www.kevytjakaunis.com/catalog/index.php?language=fihttp://www.kevytjakaunis.com/catalog/checkout_payment.php) I have a similar problem because my store doesnt take me to the Payment Information page, but the difference is that nothing happen, the page continues being checkout_shipping.php. I installed my site directly on root document meant without /catalog. This is my configure.php file <?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://www.regalosencolombia.com'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', ''); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', false); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', 'www.regalosencolombia.com'); define('HTTPS_COOKIE_DOMAIN', ''); 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', '/hsphere/local/home/samarga/regalosencolombia.com/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); So which could be the problem? I need help. Thank you.
crash3903 Posted October 30, 2006 Posted October 30, 2006 Hi Marietta I have fixed your store it is working properly now Regards Mark Regards Mark A Reynolds
Recommended Posts
Archived
This topic is now archived and is closed to further replies.