5 replies [Last post]
davidfells's picture
Offline
Joined: 08/13/2009
Juice: 18
Was this information Helpful?

On this page: http://rayhooperdesign.wiremediahosting.com/addressbook1

When I click add to cart, I get a blank page. If I navigate directly to the page again, I see a message indicating that the cart was updated. Any help would be appreciated.

jollygoodfellow's picture
Offline
Joined: 07/30/2009
Juice: 31
Re: Problem with Add to Cart

I have this problem too. This only happens when I have the 'Display the shopping cart block collapsed by default' checked.

The list of products shows up fine. It's when you go to add a new product to the cart, the page has a problem refreshing. It just goes to a blank page. The item does get added to the cart, there's just something wrong with the page refresh.

Lyle's picture
Offline
AdministratoreLiTe!
Joined: 08/07/2007
Juice: 6846
Re: Problem with Add to Cart

Do any PHP errors show up in the watchdog table or the Apache error logs?

jollygoodfellow's picture
Offline
Joined: 07/30/2009
Juice: 31
Re: Re: Problem with Add to Cart

Hey, Lyle, thanks for the reply.
I fixed the problem. I had a closing PHP tag in my template file.

deepakg83's picture
Offline
Joined: 07/24/2009
Juice: 187
Re: Re: Re: Problem with Add to Cart

Think Drupal should now become robust to accept a closing PHP tag ... many White screen problems will be solved i suppose Smiling

Deepak Gupta

adamo's picture
Offline
Getting busy with the Ubercode.
Joined: 02/17/2009
Juice: 229
Re: Re: Re: Re: Problem with Add to Cart

From what I understand it's not the closing tag but the extra blank line people often leave under the closing tag that is the problem, and it's an issue with PHP in general.