? boost-623536.patch ? boost-623578.patch Index: boost.module =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/boost/boost.module,v retrieving revision 1.3.2.2.2.5.2.228 diff -u -p -r1.3.2.2.2.5.2.228 boost.module --- boost.module 3 Nov 2009 06:40:08 -0000 1.3.2.2.2.5.2.228 +++ boost.module 5 Nov 2009 07:44:39 -0000 @@ -1605,11 +1605,13 @@ function boost_cache_expire_by_db($paths $sql = implode("' OR hash = '", array_unique($hashes)); $result = db_query("SELECT * FROM {boost_cache} WHERE hash = '" . $sql . "'"); - // Eliminate duplicates + // Eliminate duplicates with the key hash $data = array(); while ($info = db_fetch_array($result)) { - $hash = BOOST_FILE_PATH . $info['page_callback'] . $info['page_type'] . $info['page_id']; - $data[$hash] = $info; + if ($info['page_id'] != '' && $info['page_type'] != '' && $info['page_callback'] != '') { + $hash = BOOST_FILE_PATH . $info['page_callback'] . $info['page_type'] . $info['page_id']; + $data[$hash] = $info; + } } // Expire all files that match up Index: stats/boost_stats.php =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/boost/stats/Attic/boost_stats.php,v retrieving revision 1.1.2.14 diff -u -p -r1.1.2.14 boost_stats.php --- stats/boost_stats.php 2 Nov 2009 18:47:09 -0000 1.1.2.14 +++ stats/boost_stats.php 5 Nov 2009 07:44:39 -0000 @@ -87,6 +87,7 @@ function boost_stats_init() { // Connect to DB. include_once './includes/bootstrap.inc'; + include_once './includes/common.inc'; drupal_bootstrap(DRUPAL_BOOTSTRAP_DATABASE); // Set variables passed via GET.