Advertisement
Guest User

Untitled

a guest
Jan 9th, 2017
166
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.26 KB | None | 0 0
  1. Patch for Ubercart hidden checkout error
  2.  
  3. Uc_cart version: 6.x-2.15
  4. Drupal version: 6.38
  5.  
  6. Ubercart hidden checkout error:
  7. No error message appeared when the database connection error occurred.
  8. The drupal user wasn't created and the customer received only one email (below) with the account settings but the username was empty.
  9. The order remained in the state "in checkout".
  10.  
  11. This uc_cart patch solves the problem. The customer is redirected to
  12. cart/checkout, infornation is written to log and one of these messages appears:
  13.  
  14. English: "We're sorry. An error occurred while processing your order. Please submit it again."
  15.  
  16. Czech: "Omlouváme se, při zpracování vaší objednávky došlo k chybě. Odešlete ji prosím znovu."
  17.  
  18. Sovak: "Ospravedlňujeme sa, pri spracovaní vašej objednávky došlo k chybe. Odošlite ju prosím znova."
  19.  
  20.  
  21. The wrong email:
  22. =====
  23.  
  24. Subject: Account details for Customer at Site
  25.  
  26. ,
  27.  
  28. Thank you for registering at Site. You may now log in to ... using the following username and password:
  29.  
  30. username:
  31. password: Password
  32.  
  33. You may also log in by clicking on this link or copying and pasting it in your browser:
  34.  
  35. ...
  36.  
  37. This is a one-time login, so it can be used only once.
  38.  
  39. After logging in, you will be redirected to ... so you can change your password.
  40.  
  41. Site
  42. =====
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement