Just installed terms and conditions. After enabling it clicking the "view cart" link resulted in a white page without any info, in several browsers.

After disabling the module, things returned to normal

Comments

hanoii’s picture

I tried to reproduce this and I can't, cart seems to be working just fine. Any chance you can try it out with an empty ubercart site, or if not, to see if it might be a conflict with some other module? it's strange because this module itself is very simple and it shouldn't affect the cart at all.

a.=

miaoulafrite’s picture

Hi there,

i got the same error, but in my case something is indicated:
Fatal error: Unsupported operand types in /var/www/mysite/includes/common.inc on line 1592

i run drupal 6 on ubuntu with FF

hope it can help

sven h’s picture

I've tried with the empty cart, just get the message "There are no products in your shopping cart"

miaoulafrite’s picture

Hello again,

some news:
- if lightbox2 is enabled, the checkout page is available and the link to tc page pops up in a box
- if lightbox2 is disabled, the checkout page is NOT available and the following error occurs:
Fatal error: Unsupported operand types in /var/www/mysite/includes/common.inc on line 1592

someone has an idea to make it work whithout the lightbox?

thanks

mjpa’s picture

This is easily fixed by modifying the theme_uc_tc_termconditions_checkbox_label function (or just overriding it):

Insert "$options = array();" before the line "if (module_exists('lightbox2')) {"

timdiacon’s picture

Just to confirm the module works fine for me with lightbox2 enabled without lightbox2 the checkout is just a blank white screen. Would be nice to fix this bug rather than have to amend the module function as per mjpa's post.

achton’s picture

Status: Closed (fixed) » Active

I can confirm what is seen in #4. Without lightbox2, /cart/checkout is a WSOD.

mjpa’s picture

Status: Active » Closed (fixed)

Fixed in the -dev version. Either use that or make the change mentioned in #5

Status: Active » Closed (fixed)