This is a discussion on Continue button not working in Checkout success.php within the osCMax v1.7 Discussion forums, part of the osCMax v1.7 Forums category; Hi Just wondering if anyone can offer any advice - I have started testing my site to get it ready ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| Hi Just wondering if anyone can offer any advice - I have started testing my site to get it ready to go live and have realised that somewhere along the line, the continue button on checkout_success.php now just goes to an HTTP404 error (page not found). Everything else seems to work fine - the order goes through, the customer recieves an email but wherever the link is meant to go, it can't find it. I have installed quite a few mods into this site which creates a nightmare in finding what caused it. But none of the mods actually change anything in this page. Can anyone suggest why this is happening and where I should look for errors. I have replaced the checkout_success.php page with the orginal and compared the two aswell. Any advice would be appreciated! Thanks |
| Sponsored Links | ||
| ||
|
#2
| |||
| |||
| I am having the same problem. When I hit the continue button link at the bottom of checkout_success.php page I get “The page cannot be found” because it’s looking for my secure page and not switching back to regular URL. All the other buttons on the page switch out of the secure mode and back to regular mode. When I check my error log I get nothing. I know my configures are correct because the order is completed. I am using the osC templates. Jacob |
|
#3
| |||
| |||
| Quote:
|
|
#4
| |||
| |||
| Quote:
"require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_CHECKOUT_SUCCESS); $breadcrumb->add(NAVBAR_TITLE_1); $breadcrumb->add(NAVBAR_TITLE_2); $global_query = tep_db_query("select global_product_notifications from " . TABLE_CUSTOMERS_INFO . " where customers_info_id = '" . (int)$customer_id . "'"); $global = tep_db_fetch_array($global_query); if ($global['global_product_notifications'] != '1') { $orders_query = tep_db_query("select orders_id from " . TABLE_ORDERS . " where customers_id = '" . (int)$customer_id . "' order by date_purchased desc limit 1"); $orders = tep_db_fetch_array($orders_query); $products_array = array(); $products_query = tep_db_query("select products_id, products_name from " . TABLE_ORDERS_PRODUCTS . " where orders_id = '" . (int)$orders['orders_id'] . "' order by products_name"); while ($products = tep_db_fetch_array($products_query)) { $products_array[] = array('id' => $products['products_id'], 'text' => $products['products_name']); } } $content = CONTENT_CHECKOUT_SUCCESS; require(DIR_WS_TEMPLATES . TEMPLATENAME_MAIN_PAGE); require(DIR_WS_INCLUDES . 'application_bottom.php'); ?>" And then the code from the lang eng: "define('NAVBAR_TITLE_1', 'Checkout'); define('NAVBAR_TITLE_2', 'Success'); define('HEADING_TITLE', 'Your Order Has Been Processed!'); define('TEXT_SUCCESS', 'Your order has been successfully processed! Your products will arrive at their destination within 2-5 working days.'); define('TEXT_NOTIFY_PRODUCTS', 'Please notify me of updates to the products I have selected below:'); define('TEXT_SEE_ORDERS', 'You can view your order history by going to the <a href="' . tep_href_link(FILENAME_ACCOUNT, '', 'SSL') . '">\'My Account\'</a> page and by clicking on <a href="' . tep_href_link(FILENAME_ACCOUNT_HISTORY, '', 'SSL') . '">\'History\'</a>.'); define('TEXT_CONTACT_STORE_OWNER', 'Please direct any questions you have to the <a href="' . tep_href_link(FILENAME_CONTACT_US) . '">store owner</a>.'); define('TEXT_THANKS_FOR_SHOPPING', 'Thanks for shopping with us online!'); define('TABLE_HEADING_COMMENTS', 'Enter a comment for the order processed'); define('TABLE_HEADING_DOWNLOAD_DATE', 'Expiry date: '); define('TABLE_HEADING_DOWNLOAD_COUNT', ' downloads remaining'); define('HEADING_DOWNLOAD', 'Download your products here:'); define('FOOTER_DOWNLOAD', 'You can also download your products at a later time at \'%s\''); ?>" Thanks. Jacob |
|
#5
| |||
| |||
| Seems to me your missing some code with the essential if statements that tell this page what to do. here it is place it above the line " require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_CHECKOUT_SUCCESS); " Quote:
|
|
#6
| |||
| |||
| Hi, just thought I would let you all know that I discovered my problem with the checkout button was that somehow I had removed the index.php from the HTTPS side! Not sure how I did it but I was glad to discover it was something simple to fix! I was so sure something went wrong in the code!! |
|
#7
| |||
| |||
| well then thats a relief! |
|
#8
| |||
| |||
| I am still having the problem and I can't figure out where on the https side you put the index.php. Will someone help with this answer!? Thanks Jacob mailto:”webmaster@stock-information.com” |
|
#9
| ||||
| ||||
| If your https is NOT mapped to your http folder then COPY ALL FILES from the http to your https folder (including images etc...). Other than that - ask your host provider for help.
__________________ JPF - osCMax Fourm Moderator Try out our osCMax at: Live Catalog Demo Limited access Admin: Live Admin Demo Feel free to add products they way you want and then purchase them -=+=- Sorry nothing will be billed or shipped! |
|
#10
| |||
| |||
| Quote:
Thanks |
| Sponsored Links | ||
| ||
| Thread Tools | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Change the link on "Continue" button on checkout_s | chrisrex | osCMax v2 Customization/Mods | 0 | 11-22-2005 06:10 PM |
| Problem with Checkout success page loading. | markymrk22 | osCommerce 2.2 Modification Help | 0 | 07-17-2005 11:44 AM |
| Checkout Success white screen problem | Dutchman | osCommerce 2.2 Modification Help | 4 | 01-05-2005 08:19 PM |
| "Continue" button links to different page.Strange. | yellowriver | osCommerce 2.2 Modification Help | 7 | 11-03-2004 12:49 PM |
| Changing Checkout Success Email Content | midwestwebsites | osCMax v1.7 Discussion | 1 | 10-08-2003 08:16 AM |