Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

404 page after CHECKOUT_SUCCESS php


Guest

Recommended Posts

Hi,

 

I can get all of the way through the checkout process, EXCEPT ...

 

I get a 404, "page not found" when I click "Continue" on the CHECKOUT_SUCCESS page.

 

"Continue" should send me back to the shopping cart (catalog) INDEX right?

 

Please ... How is this to be fixed?

 

I need to know which php page to edit, and what I need to edit in the script.

 

Help is truly appreciated!

 

Thanks

 

Tim E

Link to comment
Share on other sites

Is there no 'fix' for this error?

 

I've searched and searched ... Only found two topics that addressed this matter. Neither had the fix!

 

Please post the fix or at lease point the way.

 

Thanks in advance.

 

Tim E

Link to comment
Share on other sites

Is there no 'fix' for this error?

 

I've searched and searched ... Only found two topics that addressed this matter.  Neither had the fix!

 

Please post the fix or at lease point the way.

 

Thanks in advance.

 

  Tim E

 

Where are you being sent to instead of the index page and do you have the same problem with the continue buttons on the other pages?

The Knowledge Base is a wonderful thing.

Do you have a problem? Have you checked out Common Problems?

There are many very useful osC Contributions

Are you having trouble with a installed contribution? Have you checked out the support thread found Here

BACKUP BACKUP BACKUP!!! You did backup, right??

Link to comment
Share on other sites

Where are you being sent to instead of the index page and do you have the same problem with the continue buttons on the other pages?

 

From the "Your Order Has Been Processed page, URL as shown...

 

https://hostxxx.mywebhost.com/~myaccount/ec...hp?osCsid=fe1...

 

I am being sent to:

 

https://hostxxx.mywebhost.com/~myaccount/ec...te&osCsid=fe1...

 

I don't have this problem with any other continue button.

 

Someone posted that we're supposed to be sent to the catalog index after the checkout success page.

 

Thanks for your kind attention, and any help you can provide.

 

Tim E

Link to comment
Share on other sites

Here's the fix I did. I replaced the form button that submits the form back to itself with a plain old link to the catalog home page. There is a side effect in that it won't store your customer's choice to be notified about a product. In my store I have that disabled anyway, so it didn't matter. If anybody has another way, do tell!

 

Here's my fix:

 

in your checkout_success.php file, do a search for:

 

tep_image_submit('button_continue.gif', IMAGE_BUTTON_CONTINUE);

 

replace that with this:

echo "<a href=\"" . tep_href_link(FILENAME_DEFAULT) . "\">" . tep_image_button('button_continue.gif', IMAGE_BUTTON_CONTINUE) . "</a>";

Link to comment
Share on other sites

Here's the fix I did.  I replaced the form button that submits the form back to itself with a plain old link to the catalog home page.  There is a side effect in that it won't store your customer's choice to be notified about a product.  In my store I have that disabled anyway, so it didn't matter.  If anybody has another way, do tell!

 

Here's my fix:

 

in your checkout_success.php file, do a search for:

 

tep_image_submit('button_continue.gif', IMAGE_BUTTON_CONTINUE);

 

replace that with this:

echo "<a href=\"" . tep_href_link(FILENAME_DEFAULT) . "\">" . tep_image_button('button_continue.gif', IMAGE_BUTTON_CONTINUE) . "</a>";

 

Thanks a million! This fix worked for me! I really appreciate your kind assistance!

 

For others who run into this problem -- the above script needs to go into the catalog/checkout_success.php at line 98 (not the catalog/includes/languages/english/checkout_success.php)

 

Tim E

Link to comment
Share on other sites

  • 2 weeks later...
  • 3 weeks later...

Hi,

 

I am having this same issue. Did you get this resolved? If so would youmind pointing me in the right direction?

 

Thanks in advance.

==================================

Store domain- (http://scentedbean.com/catalog/)

 

Problem URL- (https://secure9.dr2.net/~scented/catalog/checkout_success.php?action=update&osCsid=6218378e2371dc396e6445f1bc3c4ce0)

 

I checked the things you said to check, all looks fine. THe store is still in default install/test mode so if you have a minute, buy something, pay cash on delivery and see the result when you finish your order.

==================================

 

From the "Your Order Has Been Processed page, URL as shown...

 

https://hostxxx.mywebhost.com/~myaccount/ec...hp?osCsid=fe1...

 

I am being sent to:

 

https://hostxxx.mywebhost.com/~myaccount/ec...te&osCsid=fe1...

 

I don't have this problem with any other continue button.

 

Someone posted that we're supposed to be sent to the catalog index after the checkout success page.

 

Thanks for your kind attention, and any help you can provide.

 

  Tim E

Link to comment
Share on other sites

  • 2 months later...

I fixed it with the following:

 

Search for:

 

<!-- body_text //-->

<td width="100%" valign="top"><?php echo tep_draw_form('order', tep_href_link(FILENAME_CHECKOUT_SUCCESS, 'action=update', 'SSL')); ?><table border="0" width="100%" cellspacing="0" cellpadding="0">

 

Replaced with:

 

<!-- body_text //-->

<td width="100%" valign="top"><?php echo tep_draw_form('order', tep_href_link(FILENAME_CHECKOUT_SUCCESS, 'action=update', 'NONSSL')); ?><table border="0" width="100%" cellspacing="0" cellpadding="0">

 

Essentially changing SSL to NONSSL -- SSL page protection is not required at this point of the checkout process.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...