Forums / Upgrading from 1.3.x to 1.3.9 / Internal Server Error 500 at Checkout Confirmation

Internal Server Error 500 at Checkout Confirmation

Locked

Started by qhome on 1 Nov 2006, 12:59 AM · Views: 8,299

Results 1 to 14 of 14
This thread is locked. New replies are disabled.
1 Nov 2006, 12:59 AM
#1
qhome avatar

qhome

Totally Zenned

Join Date:
Feb 2004
Posts:
1,702
Plugin Contributions:
5

Internal Server Error 500 at Checkout Confirmation

I have 99% of my site using overrides so the upgrade was quite simple.

Everything loaded perfectly afterwards, in both admin and the store front. I was almost finished with my testing when i was checking out with a test order and right as i clicked "Confirm my order" it went to Internal Server Error 500.

This link:

https://mysite.com/index.php?main_page=checkout_confirmation

I have made no changes to my checkout_confirmation pages modules or templates. Thoughts?

1 Nov 2006, 2:44 AM
#4
drbyte avatar

drbyte

Sensei

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

Re: Internal Server Error 500 at Checkout Confirmation

... and your server's errorlog is saying what, when this happens ?

.
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 Nov 2006, 3:08 AM
#5
qhome avatar

qhome

Totally Zenned

Join Date:
Feb 2004
Posts:
1,702
Plugin Contributions:
5

Re: Internal Server Error 500 at Checkout Confirmation

DrByte:

... and your server's errorlog is saying what, when this happens ?

[Tue Oct 31 20:39:45 2006] [error] [client 12.34.56.78] File does not exist: /home/mysite/public_html/favicon.ico
[Tue Oct 31 20:09:35 2006] [error] [client 12.34.56.78] Premature end of script headers: /home/mysite/public_html/index.php
[7666] EACCELERATOR: PHP crashed on opline 30 of popen() at /home/mysite/public_html/includes/classes/class.phpmailer.php:404
[Tue Oct 31 20:07:35 2006] [error] [client 12.34.56.78] Premature end of script headers: /home/mysite/public_html/index.php
[6671] EACCELERATOR: PHP crashed on opline 30 of popen() at /home/mysite/public_html/includes/classes/class.phpmailer.php:404
[Tue Oct 31 20:01:39 2006] [error] [client 12.34.56.78] Premature end of script headers: /home/mysite/public_html/index.php
[1973] EACCELERATOR: PHP crashed on opline 30 of popen() at /home/mysite/public_html/includes/classes/class.phpmailer.php:404
[Tue Oct 31 19:58:47 2006] [error] [client 12.34.56.78] Premature end of script headers: /home/mysite/public_html/index.php
[31395] EACCELERATOR: PHP crashed on opline 30 of popen() at /home/mysite/public_html/includes/classes/class.phpmailer.php:404
[Tue Oct 31 19:55:06 2006] [error] [client 12.34.56.78] Premature end of script headers: /home/mysite/public_html/index.php
[29126] EACCELERATOR: PHP crashed on opline 30 of popen() at /home/mysite/public_html/includes/classes/class.phpmailer.php:404
[Tue Oct 31 19:51:32 2006] [error] [client 12.34.56.78] File does not exist: /home/mysite/public_html/favicon.ico
[Tue Oct 31 19:40:04 2006] [error] [client 12.34.56.78] Premature end of script headers: /home/mysite/public_html/index.php
[15435] EACCELERATOR: PHP crashed on opline 30 of popen() at /home/mysite/public_html/includes/classes/class.phpmailer.php:404
[Tue Oct 31 19:39:47 2006] [error] [client 12.34.56.78] Premature end of script headers: /home/mysite/public_html/index.php
[14713] EACCELERATOR: PHP crashed on opline 30 of popen() at /home/mysite/public_html/includes/classes/class.phpmailer.php:404
[Tue Oct 31 19:39:42 2006] [error] [client 12.34.56.78] Premature end of script headers: /home/mysite/public_html/index.php
[14685] EACCELERATOR: PHP crashed on opline 30 of popen() at /home/mysite/public_html/includes/classes/class.phpmailer.php:404
[Tue Oct 31 19:38:13 2006] [error] [client 12.34.56.78] Premature end of script headers: /home/mysite/public_html/index.php
[13907] EACCELERATOR: PHP crashed on opline 30 of popen() at /home/mysite/public_html/includes/classes/class.phpmailer.php:404
[Tue Oct 31 19:35:57 2006] [error] [client 12.34.56.78] File does not exist: /home/mysite/public_html/favicon.ico

1 Nov 2006, 4:22 AM
#7
drbyte avatar

drbyte

Sensei

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

Re: Internal Server Error 500 at Checkout Confirmation

What happens if you change your Email Transport method to "php" instead of "sendmail" ?

.
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 Nov 2006, 4:35 AM
#8
qhome avatar

qhome

Totally Zenned

Join Date:
Feb 2004
Posts:
1,702
Plugin Contributions:
5

Re: Internal Server Error 500 at Checkout Confirmation

DrByte:

What happens if you change your Email Transport method to "php" instead of "sendmail" ?

You mean smtp? There is no php option in the Configuration->Email Options screen. Anyway I had to rollback.. Sendmail is working fine once again in my rolled back v1.3.5 so I dont know if that would be the problem. I'll wait to see if something is uncovered from this and maybe try installing fresh on a test site before trying 1.3.6 again.

1 Nov 2006, 5:29 AM
#9
drbyte avatar

drbyte

Sensei

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

Re: Internal Server Error 500 at Checkout Confirmation

"php" was added in the 1.3.6 database-upgrade, as another method.
True, SMTP would be another potential option.

.
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 Nov 2006, 10:59 AM
#10
qhome avatar

qhome

Totally Zenned

Join Date:
Feb 2004
Posts:
1,702
Plugin Contributions:
5

Re: Internal Server Error 500 at Checkout Confirmation

DrByte:

"php" was added in the 1.3.6 database-upgrade, as another method.
True, SMTP would be another potential option.

ah ok.. i looked after i had rolled back so thats probably why I didnt see it.

1 Nov 2006, 8:53 PM
#11
qhome avatar

qhome

Totally Zenned

Join Date:
Feb 2004
Posts:
1,702
Plugin Contributions:
5

Re: Internal Server Error 500 at Checkout Confirmation

DrByte:

"php" was added in the 1.3.6 database-upgrade, as another method.
True, SMTP would be another potential option.

Ok I copied the upgraded version over to my a test folder and tried PHP instead of sendmail. It looks like the new PHP thing is what fixes it as the 500 error goes away and it looks ok now. Is this a new standard? Most apps Ive used like Vbulletin, phpbb, CMS', etc use sendmail.. and the 1.3.5 zencart did too. I do have a linux host as well. I would expect it would work with both.

2 Nov 2006, 5:46 AM
#12
drbyte avatar

drbyte

Sensei

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

Re: Internal Server Error 500 at Checkout Confirmation

The "correct" choice for email transport is COMPLETELY depending on your hosting environment.

PHP was added as another option since too many folks were having trouble with the standard "sendmail" due to weird and inconsistent server configurations.

If one doesn't work, try another. Or ask your host. They may not even know. It seems most don't. Thus, more flexibility was offered.

.
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.

2 Nov 2006, 11:19 AM
#13
qhome avatar

qhome

Totally Zenned

Join Date:
Feb 2004
Posts:
1,702
Plugin Contributions:
5

Re: Internal Server Error 500 at Checkout Confirmation

DrByte:

The "correct" choice for email transport is COMPLETELY depending on your hosting environment.

PHP was added as another option since too many folks were having trouble with the standard "sendmail" due to weird and inconsistent server configurations.

If one doesn't work, try another. Or ask your host. They may not even know. It seems most don't. Thus, more flexibility was offered.

So is it possible you broke sendmail for those that it was working for by adding php?

2 Nov 2006, 9:11 PM
#14
drbyte avatar

drbyte

Sensei

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

Re: Internal Server Error 500 at Checkout Confirmation

qhome:

So is it possible you broke sendmail for those that it was working for by adding php?

Yes ... that would be possible. Sorry.

.
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.