Forums / PayPal Express Checkout support / HTTP 500 Internal Server Error after completed transaction (GoDaddy hosting)

HTTP 500 Internal Server Error after completed transaction (GoDaddy hosting)

Locked

Started by xparm on 28 Nov 2010, 12:46 PM · Views: 8,599

Results 1 to 14 of 14
This thread is locked. New replies are disabled.
28 Nov 2010, 12:46 PM
#1
xparm avatar

xparm

New Zenner

Join Date:
Oct 2010
Posts:
7
Plugin Contributions:
0

HTTP 500 Internal Server Error after completed transaction (GoDaddy hosting)

Hello,

I have a problem with Paypal Express Checkout on my site. After customer check out from Paypal site, all transactions are completed with Order confirmed and Paypal confirmed email. But, my page was stuck on the white page with "HTTP 500 Internal Server Error".

My environment:

  1. Godaddy hosting with Windows OS.
  2. https://www.nuchykshop.com
  3. Template from "Template Monster"

My paypal setting:
Auto Return for Website Payments: On
Return URL: https://www.nuchykshop.com/index.php?main_page=checkout_process
Payment Data Transfer (optional): Off

If anyone who want to test my issue please go to http://www.nuchykshop.com and purchase http://nuchykshop.com//index.php?main_page=product_info&cPath=4_5&products_id=3 then complete your check out. I will refund for all testers.

Any suggestion please? :cry:

28 Nov 2010, 12:58 PM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: HTTP 500 Internal Server Error after completed transaction (GoDaddy hosting)

But, my page was stuck on the white page with "HTTP 500 Internal Server Error".
If using 1.3.9h, you can check the debug log

https://www.zen-cart.com/tutorials/index.php?article=63

Zen-Venom Get Bitten

28 Nov 2010, 2:14 PM
#3
xparm avatar

xparm

New Zenner

Join Date:
Oct 2010
Posts:
7
Plugin Contributions:
0

Re: HTTP 500 Internal Server Error after completed transaction (GoDaddy hosting)

kobra:

If using 1.3.9h, you can check the debug log

https://www.zen-cart.com/tutorials/index.php?article=63

If you mean debug from \cache then they said:

[27-Nov-2010 06:05:27] PHP Fatal error: Maximum execution time of 30 seconds exceeded in D:\Hosting\6842772\html\includes\templates\theme377\common\tpl_header.php on line 24

28 Nov 2010, 8:48 PM
#4
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: HTTP 500 Internal Server Error after completed transaction (GoDaddy hosting)

Switch to the classic template and validate if you get the same time out

If not, there is something wrong with the templates tpl_header.php file

Zen-Venom Get Bitten

29 Nov 2010, 5:16 AM
#5
xparm avatar

xparm

New Zenner

Join Date:
Oct 2010
Posts:
7
Plugin Contributions:
0

Re: HTTP 500 Internal Server Error after completed transaction (GoDaddy hosting)

kobra:

Switch to the classic template and validate if you get the same time out

If not, there is something wrong with the templates tpl_header.php file

I tried to change to Classic Contemporary Green template and still have the same problem. :(

29 Nov 2010, 5:25 AM
#6
xparm avatar

xparm

New Zenner

Join Date:
Oct 2010
Posts:
7
Plugin Contributions:
0

Re: HTTP 500 Internal Server Error after completed transaction (GoDaddy hosting)

I think it might have some problem when page are returning from Paypal. :frusty:

29 Nov 2010, 5:42 AM
#7
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: HTTP 500 Internal Server Error after completed transaction (GoDaddy hosting)

I tried to change to Classic Contemporary Green template and still have the same problem.
Go to your admin > tools > server/version info

See what the server values are for
max_execution_time
mysql.connect_timeout
default_socket_timeout

Zen-Venom Get Bitten

29 Nov 2010, 5:53 AM
#8
drbyte avatar

drbyte

Sensei

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

Re: HTTP 500 Internal Server Error after completed transaction (GoDaddy hosting)

xparm:

My environment:

  1. Godaddy hosting

with Windows OS.
...
3. Template from "Template Monster"
Three bad choices IMO ... all of which are prone to cause you significant problems, not only with performance speed, but also reliability and with support.
xparm:

I think it might have some problem when page are returning from Paypal.
Maybe. But more likely slowness of your hosting server.

What do your PayPal debug logs reveal? http://www.zen-cart.com/forum/showthread.php?t=61199

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

29 Nov 2010, 1:39 PM
#9
xparm avatar

xparm

New Zenner

Join Date:
Oct 2010
Posts:
7
Plugin Contributions:
0

Re: HTTP 500 Internal Server Error after completed transaction (GoDaddy hosting)

kobra:

Go to your admin > tools > server/version info

See what the server values are for
max_execution_time
mysql.connect_timeout
default_socket_timeout

                              Local Value           Master Value

max_execution_time 60 30
mysql.connect_timeout 60 60
default_socket_timeout 60 60

DrByte:

Three bad choices IMO ... all of which are prone to cause you significant problems, not only with performance speed, but also reliability and with support.

Maybe. But more likely slowness of your hosting server.

What do your PayPal debug logs reveal? http://www.zen-cart.com/forum/showthread.php?t=61199

Sorry, to hear that :cry:. I just want to reduce my design time that's why i purchased there template. And here's my log files 's link *** REMOVED***

Thanks

30 Nov 2010, 12:34 AM
#10
drbyte avatar

drbyte

Sensei

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

Re: HTTP 500 Internal Server Error after completed transaction (GoDaddy hosting)

The logs show everything good up until after the transaction is submitted for payment. Curiously you didn't include the 3rd CURL log which shows the DoExpressCheckoutPayment details, although one of the other files does confirm that the DoExpressCheckoutPayment step completed properly. It doesn't seem like a PayPal problem. Maybe a customization problem?

If you're getting "500" errors, then it seems you've got something amuck on your server that's triggering that, as kobra pointed out already this article should help point you in the right direction: https://www.zen-cart.com/tutorials/index.php?article=63

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

30 Nov 2010, 6:37 PM
#11
xparm avatar

xparm

New Zenner

Join Date:
Oct 2010
Posts:
7
Plugin Contributions:
0

Re: HTTP 500 Internal Server Error after completed transaction (GoDaddy hosting)

DrByte:

The logs show everything good up until after the transaction is submitted for payment. Curiously you didn't include the 3rd CURL log which shows the DoExpressCheckoutPayment details, although one of the other files does confirm that the DoExpressCheckoutPayment step completed properly. It doesn't seem like a PayPal problem. Maybe a customization problem?

If you're getting "500" errors, then it seems you've got something amuck on your server that's triggering that, as kobra pointed out already this article should help point you in the right direction: https://www.zen-cart.com/tutorials/index.php?article=63

Does it possible that I've got the problem from Godaddy? If yes then I'll contact their support for this issue.

30 Nov 2010, 9:55 PM
#12
drbyte avatar

drbyte

Sensei

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

Re: HTTP 500 Internal Server Error after completed transaction (GoDaddy hosting)

Answer: maybe.

Good luck with them!

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

1 Dec 2010, 5:31 PM
#13
xparm avatar

xparm

New Zenner

Join Date:
Oct 2010
Posts:
7
Plugin Contributions:
0

Re: HTTP 500 Internal Server Error after completed transaction (GoDaddy hosting)

But I better need your help before contact them, because they usually left me at least 12 hrs for 1 answer email. :(

Would you please give me more advise?

3 Dec 2010, 3:36 PM
#14
vger avatar

vger

Past Contributor

Join Date:
Nov 2004
Location:
Norfolk, United Kingdom
Posts:
3,189
Plugin Contributions:
0

Re: HTTP 500 Internal Server Error after completed transaction (GoDaddy hosting)

If you are getting a "500 Internal Server" error then the two most likely causes are:

  1. Giving a PHP file permissions of 777 on a server which doesn't allow 777 permissions for PHP files. PHP files should have permissions of 644, except for the two configure.php files which would have permissions of 644, 444 or 400 depending on your server configuration. Check your files to see what permissions your PHP files have been given.

  2. Something you have added to a htaccess file which causes the 500 error.

Vger