Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Error on checkout


Guest

Recommended Posts

When customers click Confirm Order checkout_process.php gives:

 

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

 

Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error.

 

More information about this error may be available in the server error log.

 

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

 

 

Any clues are appreciated.

 

Thanks,

 

Tom

Link to comment
Share on other sites

All this tells us is that you had an error, we might be good, but not psychic!!

 

As it says More information about this error may be available in the server error log.

 

Put that up & you might get an answer.

 

:blink: :blink: :blink:

Sam

 

Remember, What you think I ment may not be what I thought I ment when I said it.

 

Contributions:

 

Auto Backup your Database, Easy way

 

Multi Images with Fancy Pop-ups, Easy way

 

Products in columns with multi buy etc etc

 

Disable any Category or Product, Easy way

 

Secure & Improve your account pages et al.

Link to comment
Share on other sites

Here's the log.

 

[Fri May 23 16:41:35 2008] [error] [client 74.235.208.173] File does not exist: /home/dkscusto/public_html/500.shtml

[Fri May 23 16:41:35 2008] [error] [client 74.235.208.173] Premature end of script headers: /home/dkscusto/public_html/oscommerce/checkout_process.php

Link to comment
Share on other sites

Here's the log.

 

[Fri May 23 16:41:35 2008] [error] [client 74.235.208.173] File does not exist: /home/dkscusto/public_html/500.shtml

[Fri May 23 16:41:35 2008] [error] [client 74.235.208.173] Premature end of script headers: /home/dkscusto/public_html/oscommerce/checkout_process.php

 

hmm....'premature end of script headers' ... google leads me to:

http://httpd.apache.org/docs/1.3/misc/FAQ-...-script-headers

 

this talks about perl but not php...not much help there. but it does say that the most common cause is your script ending before it sent any http headers to the client. i don't know why this would happen. which payment methods are you using, and does this payment method use cgi or some other form of native code? have you made modifications to checkout_process?

Link to comment
Share on other sites

hmm....'premature end of script headers' ... google leads me to:

http://httpd.apache.org/docs/1.3/misc/FAQ-...-script-headers

 

this talks about perl but not php...not much help there. but it does say that the most common cause is your script ending before it sent any http headers to the client. i don't know why this would happen. which payment methods are you using, and does this payment method use cgi or some other form of native code? have you made modifications to checkout_process?

 

This one was with COD. I have also gotten same thing with Credit Card (not for production). Both are standard modules without modifications. All worked fine until SSL was introduced. I have made the configuration changes to work with SSL.

 

Thanks,

 

Tom

Link to comment
Share on other sites

This one was with COD. I have also gotten same thing with Credit Card (not for production). Both are standard modules without modifications. All worked fine until SSL was introduced. I have made the configuration changes to work with SSL.

 

Thanks,

 

Tom

The server encountered an internal error or misconfiguration

 

Maybe the ssl is not installed correctly.

Link to comment
Share on other sites

Just checked and the orders are placed even though the error. Placed one myself and SSL appears to be working properly. Error only at the conclusion of the order.

Link to comment
Share on other sites

Just checked and the orders are placed even though the error. Placed one myself and SSL appears to be working properly. Error only at the conclusion of the order.

 

Email send to customer and admin, however the cart is not emptied.

Link to comment
Share on other sites

Email send to customer and admin, however the cart is not emptied.

Check your edits in /checkout_process.php

Link to comment
Share on other sites

Can you give me a little more? I am groping in the dark.

Me too.

 

You have 500.shtml does not exist and you have Premature end of script headers: /home/dkscusto/public_html/oscommerce/checkout_process.php

 

so I guess that is the place to start. Although, a misconfiguration may point to your configure.php files.

Link to comment
Share on other sites

Today I installed the newest release of OSC, 2.2, rc2a, which fixed the posted problem. I now am getting a blank page after confirming the order.

 

This is better and the order is actually completed. Now all I need is to show an order confirmation screen instead of the blank.

 

Tom

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...