Ubercart shop orders become unavailable right after Boost module installation
Martynov - October 13, 2009 - 11:53
| Project: | Boost |
| Version: | 6.x-1.11 |
| Component: | Installation |
| Category: | bug report |
| Priority: | critical |
| Assigned: | Unassigned |
| Status: | closed |
Description
I am not sure whether this is Boost or Ubercart bug, but when I install Boost module all the pages with Ubercart shop orders become unavailable. I still can see the table with shop orders at "Store › Orders › View Orders" page. But when I double click the row with order or click "View order" button in the table only blank page appears instead of page with order information. If I disable Boost module in "Administer › Site building › Modules" page, this bug disappears. I use Ubercart 6.x-2.0-rc7 and Drupal 6.14.

#1
This is on the administrative side correct?
What ubercart modules do you have enabled?
#2
Sounds like a WSOD, check your error logs or temporally add these lines to your index.php file; this will display the error.
<?phpini_set('display_errors', TRUE);
ini_set('display_startup_errors', TRUE);
?>
#3
I can reproduce the error... now going to track it down.
Fatal error: Call to undefined function uc_price() in sites\all\modules\ubercart\uc_order\uc_order.module on line 1437#4
Error is in _boost_get_menu_router()... that sucks.
#5
It's the call to menu_get_item(). Ubercart is not doing something correctly, since
http://api.drupal.org/api/drupal/index.php/6/source Calls
http://api.drupal.org/api/function/menu_execute_active_handler/6 Which Calls
http://api.drupal.org/api/function/menu_get_item/6 Which Calls
http://api.drupal.org/api/function/_menu_translate/6 Which Calls
http://api.drupal.org/api/function/_menu_load_objects/6 which fails on this call
<?phpelse {
$return = $function($value);
}
?>
If menu_get_item() is called from the init stage (still in bootstrap).
In the mean time, I'll try to work on a work around. This is the issue that created this problem in case anyone is wondering #598942: _boost_get_menu_router() should use menu_get_item() instead of custom code.
#6
#7
Looks like rc8 will fix this error #587572: uc_price is undefined in uc_order_get_total()
#8
committed
#9
Automatically closed -- issue fixed for 2 weeks with no activity.
#10
Subscribing...
#11
@BenK
This issue is closed, set the status of this to open and describe in detail what the issue is your having.