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

mikeytown2 - October 13, 2009 - 21:54

This is on the administrative side correct?

What ubercart modules do you have enabled?

#2

mikeytown2 - October 13, 2009 - 22:00

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

<?php
ini_set
('display_errors', TRUE);
ini_set('display_startup_errors', TRUE);
?>

#3

mikeytown2 - October 13, 2009 - 22:13

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

mikeytown2 - October 13, 2009 - 22:17

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

#5

mikeytown2 - October 13, 2009 - 22:51

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

<?php
       
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.

#6

mikeytown2 - October 13, 2009 - 23:31
Status:active» needs review
AttachmentSize
boost-603186.patch 1.62 KB

#7

mikeytown2 - October 13, 2009 - 23:37

Looks like rc8 will fix this error #587572: uc_price is undefined in uc_order_get_total()

#8

mikeytown2 - October 14, 2009 - 00:23
Status:needs review» fixed

committed

#9

System Message - October 28, 2009 - 00:30
Status:fixed» closed

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

#10

BenK - November 24, 2009 - 20:45

Subscribing...

#11

mikeytown2 - November 24, 2009 - 23:23

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

 
 

Drupal is a registered trademark of Dries Buytaert.