Zen Cart Logo
Forums / General Questions / checkout_success.php not displaying

checkout_success.php not displaying

Locked

Views: 2,360

Results 1 to 15 of 15
This thread is locked. New replies are disabled.
4 Oct 2006, 6:57 PM
#1
angel_devoid avatar

angel_devoid

New Zenner

Join Date:
May 2006
Posts:
55
Plugin Contributions:
0

checkout_success.php not displaying

Hello,
I currently have a clients website that just installed the authorize.net aim module. After the order comfirmation page I get sent checkout_success.php=zenid4344536323422346032 page not the checkout_success.php page. If I deleted the =zenid stuff from the url it takes me to the correct page with the order number etc.. The order is sent to authoriz.net and everthing seems to work on there end but it simply wont send me to the actual checkout_success.php page. Any ideas. I am in the mids of updating to the new patch. But it looks like the patch wouldnt have anything to do with it.

Thanks
Angel

4 Oct 2006, 7:45 PM
#2
angel_devoid avatar

angel_devoid

New Zenner

Join Date:
May 2006
Posts:
55
Plugin Contributions:
0

Re: checkout_success.php not displaying

Is this just not a hot topic? I will pay to have it fixed.

4 Oct 2006, 8:12 PM
#3
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: checkout_success.php not displaying

There are too many unknowns to answer your question in any quick fashion. It's easier to just move on to other questions that do have detailed information.

Perhaps you might get more help if you supplied pertinant information like:

  • version of Zen Cart
  • version of PHP
  • is this an Apache server, or IIS
  • list of any contributions installed
  • list of customizations made
  • is your site running in SSL mode or not
  • is authorize.net in test mode or production mode, both in Zen Cart and in your Merchant terminal settings
  • what errors are appearing in your server's errorlog
  • what browsers are you using for testing
  • what is the exact URL you're seeing that "does not" work, and the exact URL that "does" show order details
  • on the page the shows incomplete information, what does show on the page?

and so on

4 Oct 2006, 8:33 PM
#4
angel_devoid avatar

angel_devoid

New Zenner

Join Date:
May 2006
Posts:
55
Plugin Contributions:
0

Re: checkout_success.php not displaying

Perhaps you might get more help if you supplied pertinant information like:

  • version of Zen Cart
  • version of PHP
  • is this an Apache server, or IIS
  • list of any contributions installed
  • list of customizations made
  • is your site running in SSL mode or not
  • is authorize.net in test mode or production mode, both in Zen Cart and in your Merchant terminal settings
  • what errors are appearing in your server's errorlog
  • what browsers are you using for testing
  • what is the exact URL you're seeing that "does not" work, and the exact URL that "does" show order details
  • on the page the shows incomplete information, what does show on the page?

1.Server Host: lancelot.camelot-hosting.com
2.Database Host: localhost (127.0.0.1)
3.Server OS: Linux 2.6.9-42.0.2.ELsmp
4.Database: MySQL 4.1.21-standard
5.HTTP Server: Apache/1.3.37
6.Customization: image handler2, paypal IPN
7.authorize.net aim is in test mode same with zen cart
8.Im using IE and firefox for testing
9. Zen Cart 1.3.0.2
10. the exact url that appears after step 3 is this if its declined.

https://www.independentcycleshop.com/index.php?main_page=checkout_paymentzenid=c8bee97354a7f93c05ab6214ffa5a45b

if its not declined its gives this.
https://www.independentcycleshop.com/index.php?main_page=checkout_succeszenid=c8bee97354a7f93c05ab6214ffa5a45b

either one of the links brings you back to the home page. The transaction is recorded in zencart and in Authorize.net. It simply just doesnt send you to the succes or decline page only to the home page.

If I take off zenid=c8bee97354a7f93c05ab6214ffa5a45b it completes the checkout depending on if its been accepted or declined.

This is the working link https://www.independentcycleshop.com/index.php?main_page=checkout_succes

please let me know if you need more info.

Thanks
Angel

4 Oct 2006, 9:53 PM
#5
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: checkout_success.php not displaying

This is missing the & before zenid:```
https://www.independentcycleshop.com/index.php?main_page=checkout_paymentzenid=c8bee97354a7f93c05ab6214ffa5a45b


This is missing an s (success has 2 s's on the end), and the & on the zenid:

https://www.independentcycleshop.com/index.php?main_page=checkout_succeszenid=c8bee97354a7f93c05ab6214ffa5a45b


Since "checkout_succeszenid" isn't a valid page name, you're being redirected to the home page.
You can bypass the redirect to home page by going to Admin->Configuration-> My Store->Missing Page Check, and set it to None.
4 Oct 2006, 9:55 PM
#6
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: checkout_success.php not displaying

If your URL's are randomly being chopped then something's awry with your /includes/functions/html_output.php

Perhaps you can put back the original version of this file from before installing image handler? Granted, that may bust image-handler functionality, but that should be secondary.

5 Oct 2006, 1:22 AM
#7
angel_devoid avatar

angel_devoid

New Zenner

Join Date:
May 2006
Posts:
55
Plugin Contributions:
0

Re: checkout_success.php not displaying

Hi
Thanks for your input, your suggestion about the html_output.php file worked. I took a look at it and saw a bunch of additions to the code for IH2. I then replaced the file with the orginal file from the core version type. It fixed the problem completely. Now I am brought to the checkout success page.

Unfortuanly now IH2 isn't working all the images load really slow.

Angel

5 Oct 2006, 1:30 AM
#8
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: checkout_success.php not displaying

Zen Cart v1.3.5 has all the image-handler v2 components built-in to its html_output.php file.

Perhaps upgrading your site might bring you closer to nirvana ...

5 Oct 2006, 1:49 AM
#9
angel_devoid avatar

angel_devoid

New Zenner

Join Date:
May 2006
Posts:
55
Plugin Contributions:
0

Re: checkout_success.php not displaying

I thought the 1.3.5 updates were security fixes for the admin logins. Perhaps I should upgrade asap.

Thanks

5 Oct 2006, 2:37 AM
#10
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: checkout_success.php not displaying

Angel Devoid:

I thought the 1.3.5 updates were security fixes for the admin logins. Perhaps I should upgrade asap.

Thanks
Yes, that and "so much more" :D

Here's a list of the new additions as well as the fixes:
http://www.zen-cart.com/forum/showthread.php?t=45162

5 Oct 2006, 3:06 AM
#11
angel_devoid avatar

angel_devoid

New Zenner

Join Date:
May 2006
Posts:
55
Plugin Contributions:
0

Re: checkout_success.php not displaying

Here is another question for you.

I purchased my hosting with a certified zencart hosting company. They installed zencart for me with the admin folder and zen install folder names changed. When i try to install my patch files and run the zc_install it doesnt find the admin>includes>config.php file. Do i need to modife files in the zc_install folder to make this work correctly or is there an easyer way to go about this.

Angel

5 Oct 2006, 3:26 AM
#12
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: checkout_success.php not displaying

At the present time, this is the simplest way:

  1. rename your admin folder back to "admin" for 5 minutes. Just the foldername. No need to touch any files.
  2. run the database-upgrade via zc_install
  3. rename your admin folder back again
6 Oct 2006, 5:02 AM
#13
tinamartinez avatar

tinamartinez

New Zenner

Join Date:
Aug 2005
Posts:
52
Plugin Contributions:
0

Re: checkout_success.php not displaying

Hi I am having a similar problem with the checkout_success.php not displaying.

I hope it's ok to post here instead of making a new thread.

This is the weirdest thing.

After step 3 of the checkout process, the checkout_success page is not coming up. It goes straight to the shopping cart empty page.
https://cart.sonomapins.com/asi/index.php?main_page=shopping_cart

I tailed the httpd error logs, nothing

I just installed two mods on three carts, print order invoice and minimum order amount. One of the carts works perfectly and the other two have this bug.

I copied the good tpl_checkout_success to the others but no luck

I uploaded a new includes/functions/html_output file

The orders get written to the database

The order confirmation emails go out

The orders show up in admin and in my account, I can view them and print them from the popups

Zen Cart 1.3.0.2
Database Patch Level: 1.3.0.2
Database: MySQL 4.1.20
HTTP Server: Apache/2.0.52 (CentOS)
PHP Version 4.3.9
in SSL mode
CC payment module only
Table shipping
Using IE6 on a pc

I don't know where to look. Any ideas?

Thanks!

6 Oct 2006, 5:18 AM
#14
angel_devoid avatar

angel_devoid

New Zenner

Join Date:
May 2006
Posts:
55
Plugin Contributions:
0

Re: checkout_success.php not displaying

i was able to fix my problem by removing some old seo mod scripts from the html_output.php file. perhaps there are some unfinished lines of code in your file.