Everything else is current on Drupal 7.14. When I un-tar ubercart-7.x-3.1.tar.gz into /sites/all/modules/ the site becomes a blank white page. File ownership and permissions are correct. Help?

Comments

longwave’s picture

Category: bug » support
Priority: Major » Normal
Status: Active » Postponed (maintainer needs more info)

Please follow the steps at http://drupal.org/node/158043 which will either lead you directly to the problem or at least show you an error message, which you can paste here if you need further help.

longwave’s picture

Status: Postponed (maintainer needs more info) » Fixed

This can be fixed by following the above steps, if you need more help please reopen.

oregonwebsiteservices’s picture

Status: Fixed » Active

Many thanks for that very helpful reference. This is the error message:

Fatal error: Call to undefined function theme_uc_cart_block_content() in /home/sunsisters/public_html/sites/all/modules/uc_coupon/uc_coupon.module on line 1710

Where is that function supposed to be defined?

tr’s picture

Project: Ubercart » Ubercart Discount Coupons
Version: 7.x-3.1 » 7.x-2.x-dev
ParisLiakos’s picture

Category: support » bug
Priority: Normal » Critical

Same here with drupal 7.15 and latest stable version of ubercart

Quick fix:
Add this line before returning in uc_coupon_theme_uc_cart_block_content() function in uc_coupon.module.

module_load_include('inc', 'uc_cart', 'uc_cart.theme');

wodenx’s picture

Priority: Critical » Normal
Status: Active » Closed (cannot reproduce)

The above patch shouldn't be necessary if you clear your theme registry.

ParisLiakos’s picture

i cleared it twice:/

wodenx’s picture

Status: Closed (cannot reproduce) » Active

hm - very odd - something must be calling 'uc_coupon_theme_uc_cart_block_content()' directly -- i.e. without passing through theme(...), which handles including that file. can you put a debug-backtrace in there where you put the module_load_include() to find out how that's happening? alternatively, if "theme(...)" is being called, i guess it's possible that some other module is altering the theme registry -- try adding the following to theme.inc before line 1046

  if ($hook == 'uc_cart_block_content') drupal_set_message(print_r($info['includes'], TRUE));

to verify that the file is listed.

ParisLiakos’s picture

sure i ll let you know, i wanted to debug further but there is a problem with ssh server, i ll need to wait till monday

wodenx’s picture

Status: Active » Postponed (maintainer needs more info)

Thanks!

tr’s picture

Issue summary: View changes
Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)