HELP: Clicking Checkout produces a blank page

Posts: 29
Joined: 08/18/2007

I hope someone can help us soon. We have a fully operational (or so we thought) Ubercart site. After receiving multiple customer complaints, we found that when you click the Checkout button, you are taken to a completely blank page. I looked at the source for the page -- that is completely blank too.

This happens when you click the Checkout link in the sidebar menu or the cart. It happens when you have to login when you click the checkout link or if you already logged in. You get this blank page anytime you go to:

https://domain.com/cart/checkout

I originally thought this was only a problem on Windows Internet Explorer 6 (obviously a big user base, but it was hard to figure out the cause), but it turns out it is also happening on all other browsers I've tested, including Firefox and Mac Safari. It seems to be happening across multiple versions of Drupal and UberCart.

I'm currently running Drupal 5.7 and UberCart Beta 5, on an Apple Xserve (Intel processor) with 8gb RAM, Mac OS X Server 10.4.11.

Does anyone know what the problem is, and how to fix it?

Posts: 791
Joined: 08/14/2007
Bug FinderEarly adopter... addicted to alphas.Getting busy with the Ubercode.

It could be anything. It's a fatal error of some kind and the only way you'll be able to tell which error, is to add this code to the top of your index.php file:

<?php
error_reporting
(E_ALL);
ini_set('display_errors', TRUE);
ini_set('display_startup_errors', TRUE);
?>

After that you'll need to look at the error that shows up, and from there it'll be easier to diagnose the issue.

--

"Pain don't hurt." - Dalton

Mike Nelson's RiffTrax! www.rifftrax.com

Posts: 29
Joined: 08/18/2007

Thanks for your help!

This is the error I got:

Fatal error: Call to undefined function uc_cart_checkout_new_pane() in /web/docs/drupal/sites/all/modules/uc_coupon/uc_coupon.module on line 470

So I disabled the Store Coupon module, and now the checkout page shows up just fine!! Thanks again!

I was wondering if you had an idea as to how to proceed with coupons. We do issue coupons to our customers (in fact, there are many held by customers now intended to cash them in soon enough.), so we want this functionality.

We're using the latest version of the Store Coupon module, 5.x-1.2

Thanks in advance for any insight you have on this matter.

Posts: 12
Joined: 01/30/2008

I am wondering if there is a fix to this issue as well, I would like to use the coupon module but I'm not able to since I get the same error.

/Chris

Posts: 19
Joined: 02/22/2008

I'm having the same problem with the coupons module. As soon as I turn it on the checkout page becomes a blank page. Has anyone made any progress in figuring this out?

Posts: 791
Joined: 08/14/2007
Bug FinderEarly adopter... addicted to alphas.Getting busy with the Ubercode.

I think you guys might have an additional version of the module somewhere. I downloaded the latest version of the Improved Coupon Discount module and there is no mention of that function anywhere - nor is there one in the original Coupon module.

Delete any folders with the name coupon and then re-upload the latest module (Improved Coupon).

In 1.5 the only functions with the term "pane" are uc_checkout_pane_coupon(). and .uc_coupon_checkout_pane().

--

"Pain don't hurt." - Dalton

Mike Nelson's RiffTrax! www.rifftrax.com

Posts: 19
Joined: 02/22/2008

Hmmm, installing the improved coupon version 5.x-1.5 (that you linked here) worked great! The update module is telling me that I should update it to 5.x-1.2 which is the one that was giving me problems. I'm just going to leave it as is. Thanks for your help.

Posts: 2
Joined: 04/19/2008

Just in case anyone else happens by here, I was having exactly this problem and it turned out to be the Discount module... Haven't found a solution yet.

Posts: 29
Joined: 08/18/2007

Yeah, I'm so glad you reported this. That was how I fixed my situation. Yet, I haven't seen this bug report anywhere else for Discount. I do really need to offer Discounts on my site, so I keep hoping there's some discussion of this, and a resolution.

Posts: 791
Joined: 08/14/2007
Bug FinderEarly adopter... addicted to alphas.Getting busy with the Ubercode.

Can you post an error message? If it's a bug we can fix I'm willing to take a look at it (as I'm sure others are, too).

--

"Pain don't hurt." - Dalton

Mike Nelson's RiffTrax! www.rifftrax.com