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.

CommentFileSizeAuthor
#6 boost-603186.patch1.62 KBmikeytown2
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

mikeytown2’s picture

This is on the administrative side correct?

What ubercart modules do you have enabled?

mikeytown2’s picture

Sounds like a WSOD, check your error logs or temporally add these lines to your index.php file; this will display the error.

ini_set('display_errors', TRUE);
ini_set('display_startup_errors', TRUE);
mikeytown2’s picture

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
mikeytown2’s picture

Error is in _boost_get_menu_router()... that sucks.

mikeytown2’s picture

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

        else {
          $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.

mikeytown2’s picture

Status: Active » Needs review
FileSize
1.62 KB
mikeytown2’s picture

mikeytown2’s picture

Status: Needs review » Fixed

committed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

BenK’s picture

Subscribing...

mikeytown2’s picture

@BenK
This issue is closed, set the status of this to open and describe in detail what the issue is your having.