Closed (fixed)
Project:
Ubercart
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
8 Nov 2008 at 04:03 UTC
Updated:
1 Nov 2011 at 19:43 UTC
D6 & Ubercart:
Error 500 after submit order (checkout complete),
reload page and it works, shows cart (order on file, too).
Visible on http://tap-water.com/node/3
Since two days I try to get this checkout to work, installed different versions over and over agin, can't get over the error without reloading the page.
Did someone have this problem too, or can give some hint?
Comments
Comment #1
alex895 commentedComment #2
cha0s commentedI get a 404 Not Found error when I try to view the link you provided.
Comment #3
rszrama commentedAre you using IIS or Apache?
Comment #4
alex895 commentedMany thanks for looking into this! Did a new testing installation, and it works now without the 500 error. Installed the latest version of uc from the Bazaar Repository.
Comment #6
mairav commentedDrupal 6.9 and Ubercart beta5
I have the same white page in the /cart/checkout/review after clicking the "submit order" button with Check or money order and cash on delivery that are the only two enable payment methods.
I went to the apache logs and they say:
[Thu Mar 19 12:11:10 2009] [error] [client 190.229.9.9] malformed header from script. Bad header=No recipient addresses found i: php-script, referer: http://www.mydomain.com/cart/checkout/review
If I retry it says I have no products on my shopping cart, but if I go to see my orders, the order has been processed. How can I fix this?
What did you installed to make it work?
Your help will be very appreciated.
Comment #7
cha0s commentedSeems related to this: #357131: Internal Server Error on adding the comment but, unfortunately, there doesn't seem to be any resolution yet.
Does this only happen for anonymous users?
Comment #8
Island Usurper commentedComment #9
rszrama commentedThis is a support issue related to your web server, not a code error. Please find support in the support forums.
Comment #10
mairav commentedI don't allow anonymous users to buy products, just register ones. When this blank page come, the operation is confirmed, but it doesn't tell the user they have confirmed it.
rszrama, I could't find in the support forums anything that would give me a clue to solve this problem.
I administer the server where the site is running along with some more servers with more than 2000 sites, and I can tell there is no problem with the server itself. Tell me where do you know the problem is (be specifi) so I can check it, but as I can see, there must be a code problem and your answer is not giving much of a clue. (and sorry for my english, I'm a bit rusty).
Comment #11
ilakshmir commentedI want to share my experience with fixing the 500 internal error issue on checkout on godaddy shared account.
I did not have a store name and store email id set up when I tested my payment gateway with paypal. Everything went fine until the checkout completion. When paypal redirected the buyer to my site, I got the error.
Finally after I entered a store name and email id, the problem got resolved. It may help if Ubercart mentions that these fields are required for proper functioning (may be required only on some servers).
Hope this helps someone.
Regards
Iyer
Comment #12
mairav commentedSorry for the delay, I just got saw your message.
Thanks for sharing your experience, but sadly it didn't help. I'm using the other payment method for now, but made a modification to say Bank deposit or wire transfer, and add the bank accounts to the email notification.
I went to Stre administration > Configuration > Store Settings > Contact settings... I checked and I have a Sotre name and an Email address. I don't know if that is what you said, but i couldn't finde and "email id", i guess that is for pay pal.
I don't know what else to do, cause there is no problem in the server side as they told before... In some days I have to launch the site and have no solution yet. :(
Comment #13
mairav commentedAfter upgrading to RC3 the error was still a 500 server error, but the logs showed the following:
[Thu May 14 15:43:39 2009] [error] [client 111.111.22.111] malformed header from script. Bad header=/home/adminuser/dead.letter..: php-script, referer: http://www.domain.com/cart/checkout/review
I did several things to try to fix it, but I think the one that did it was something with the mail. The email assigned at Site Configuration > Site information was and external email, and it was different from the one assigned to the store. I made both of them internal mails and it stopped giving the 500 server error at /cart/checkout/review
This may not be something related with Ubercart, but maybe it helps someone with the same problem.
Comment #14
mittalpatel commentedThanks a lot ilakshmir, You saved hours and hours of mine. I am happy to find your comment on very first attempt to solve this error.
I filled up all the details in Store Configuration (Store name, Store owner, E-mail address, Phone number, fax number, street address, city, state country and postal code. ) After saving Store configuration I submitted the order and my error got solved. I could see order completed confirmation....
Many thanks
@mairav Hope you will find the solution soon :)
Comment #15
mairav commented@mittalpatel all my details where complete, that was not the problem. Maybe I didn't write it well, sorry for my english. I've already solved it, with the solution I posted in #13. I think it's because I had an external mail assigned to the site and store. I made both of them internal, I mean, a mail from the same domain and it stopped saying the 500 internal error.
I'm happy you solved it too :D
Comment #16
jgarbe commentedYeah, this would have cost me hours to figure out. Thank you, ilakshmir!
Comment #17
estone commentedGreat!
I didn't have the emailadres of the shop filled in. Did just that and voila... error fixed.
Many thanks.
Comment #18
damien tournoud commentedRequalifying. There might be a bug somewhere, but the error 500 is definitely a server configuration issue.
Comment #19
videographics commentedI switched from a host running Apache 1.3 to Apache 2.2 and this problem went away.
How many hosts still run Apache 1.3? Is this worth putting any effort fixing this?
Maybe this should just be posted as a known issue.
Comment #20
tr commentedComment #21
caitiff commentedHello,
i have the same error, mairav on #15 have the right solution. Not only need to put all the info in your store information, your email need to be in the same domian of the shop.
exemple
shop => www.coolweb.com
store email => coolweb@gmail.com
WRONG, internal 500 error
shop => www.coolweb.com
store email => info@coolweb.com
RIGHT! this rules.
(obiously dont know WHY)
thanks for all mariav!
Comment #22
barber75 commentedGuys i'm having issues with this also, and have tried changing the email address of the store to reflect my email set at site configuration->site information. Also set the store name, and set domain for my store, however still having issues.
I'm wondering whether it is something to do having the domain module installed. Any of you guys solved this issue with the domain module installed? The reason i'm asking is that although i have set my store domain and email to domain.com and hello@domain.com. I'm actually getting my error when trying to use the store on http://subdomain.domain.com. Could this be why i'm still having issues?
The Store administration->Configuration->store settings page is domain specific, so too is the configuration->site information.
So do i need to make each one different on both sections for each domain? or make it general for both?!
The errors i'm getting on my server log are as follows:
[Tue Jan 04 00:10:39 2011] [error] [client 62.255.127.142] malformed header from script. Bad header=/home/sites/domain.co.uk: index.php, referer: http://subdomain.domain.co.uk/drupal/cart/checkout/review
[Tue Jan 04 00:11:03 2011] [error] [client 216.113.191.33] client denied by server configuration: /home/sites/domain.co.uk/public_html/drupal/uc_paypal
ahhhh someone help me! wasted so much time on this blasted error!
thanks in advance
Craig
Comment #23
asb commentedWe are experiencing this issue with Ubercart on 6.x-2.4 on some shared hosting on "Godaddy", probably running CentOS with Apache 1.3. The shop e-mail matches the domain name.
What is the recommened action to take? Upgrade to the current 6.x-2.x-dev release?
Thanks, -asb
Comment #24
paulgemini commentedi'm experiencing this on godaddy non-shared server. First of all - I recommend that everyone here run away from Godaddy. They stink for Drupal sites. I have no choice but to use them right now.
I'm trying the fix in #13. Will let you know if it works. I'm using the latest dev of Ubercart.
A few more things that people should try (if they're using Godaddy):
Turn off FASTCGI...
Check your HTACCESS file. If you've updated drupal you might have overwritten it
If you're in a subdirectory, there are some other issues that can cause 500 errors...google that.
Comment #25
paulgemini commentednope - didn't work.