14 replies [Last post]
somatics's picture
Offline
Joined: 08/18/2007
Juice: 121
Was this information Helpful?

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?

torgosPizza's picture
Offline
Bug FinderEarly adopter... addicted to alphas.Getting busy with the Ubercode.
Joined: 08/14/2007
Juice: 4110
Re: HELP: Clicking Checkout produces a blank page

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.

--
Help directly fund development: Donate via PayPal!

somatics's picture
Offline
Joined: 08/18/2007
Juice: 121
Thanks for your help! This

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.

cwittusen's picture
Offline
Joined: 01/30/2008
Juice: 86
Same problem

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

Heaiser's picture
Offline
Joined: 02/22/2008
Juice: 53
Same problem

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?

torgosPizza's picture
Offline
Bug FinderEarly adopter... addicted to alphas.Getting busy with the Ubercode.
Joined: 08/14/2007
Juice: 4110
Re: Same problem

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

--
Help directly fund development: Donate via PayPal!

Heaiser's picture
Offline
Joined: 02/22/2008
Juice: 53
Re: Re: Same problem

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.

dbabbage's picture
Offline
Joined: 04/19/2008
Juice: 32
Same problem from "Discount" module

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.

somatics's picture
Offline
Joined: 08/18/2007
Juice: 121
Me too

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.

torgosPizza's picture
Offline
Bug FinderEarly adopter... addicted to alphas.Getting busy with the Ubercode.
Joined: 08/14/2007
Juice: 4110
Re: Me too

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

--
Help directly fund development: Donate via PayPal!

507 Media Studios's picture
Offline
Joined: 07/04/2008
Juice: 35
Re: HELP: Clicking Checkout produces a blank page

Hi guys, I am new to Ubercart, while its a great application, I have been having some problems with some white screens of death. I have followed some of the suggestions on the previous replies but they have not worked for me. I am currently using the following:

Drupal 5.8
MySQL database 5.0.45
PHP 5.2.4
PHP register globals Off
Unicode library PHP Mbstring Extension
Web server Apache/2.0.54

and I have been getting the following message, just after I installed ubercart:

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at C:\xampp\htdocs\drupal_58\index.php:7) in C:\xampp\htdocs\drupal_58\includes\bootstrap.inc on line 899

Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\drupal_58\index.php:7) in C:\xampp\htdocs\drupal_58\includes\bootstrap.inc on line 531

Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\drupal_58\index.php:7) in C:\xampp\htdocs\drupal_58\includes\bootstrap.inc on line 532

Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\drupal_58\index.php:7) in C:\xampp\htdocs\drupal_58\includes\bootstrap.inc on line 533

Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\drupal_58\index.php:7) in C:\xampp\htdocs\drupal_58\includes\bootstrap.inc on line 534

Ryan's picture
Offline
Joined: 08/07/2007
Juice: 15438
Re: Re: HELP: Clicking Checkout produces a blank page

Hmm... these errors look like general Drupal problems. I'm not sure if it's an issue w/ XAMPP or an issue with the new 5.8 version of Drupal (there was at least one other related to JS in blocks). I tried searching d.o but didn't really turn up anything useful. Shocked

Have you used Drupal 5.8 on XAMPP w/o any problems before?

507 Media Studios's picture
Offline
Joined: 07/04/2008
Juice: 35
Re: Re: Re: HELP: Clicking Checkout produces a blank page

Hi Ryan, thanks for the reply. I actually found the error to be that I was adding a closing PHP tag ?> at the end of my page.tlp.php theme file.

bchavez's picture
Offline
Joined: 03/17/2011
Juice: 5
I got this in the chceckout

Hi to all

I got the same blank screen in the checkout and when I apply the code to the index.php appears this:

Fatal error: Cannot redeclare uc_cart_view() (previously declared in /home/granmallvirtual/public_html/sites/all/modules/ubercart/contrib/uc_cart/uc_cart.pages.inc:18) in /home/granmallvirtual/public_html/sites/all/modules/ubercart/uc_cart/uc_cart.pages.inc on line 51

Did you know why I recieve this message

Thanks for your time

Regards
Bruno

longwave's picture
Offline
Joined: 09/20/2008
Juice: 487
Re: I got this in the chceckout

You have two copies of the uc_cart module installed:

/sites/all/modules/ubercart/uc_cart
/sites/all/modules/ubercart/contrib/uc_cart

You should not have a second copy in the "contrib" folder.

--
These forums are for general support questions about Ubercart.
Bug reports and feature requests should be posted at http://drupal.org/project/issues/ubercart
Latest API documentation can be found at http://api.ubercart.me/