Can't get it work. Although I think I reread well the installation instruction.
No pages are cached at all. Nothing in the boost folder and no tag in pages.
I use 18n prefix and installed the last dev of boost (2011/12/23 ISO8601).
I use Acquia dev desktop 1.2.39 as a development hosting environment to test modifications on a copy of my production site.
Here is a copy of the status of the site:

  • Drupal 7.10
  • Access to update.php Protected
  • Boost Boost installed correctly, should be working if properly configured.
  • CTools CSS Cache Exists
  • Configuration file Protected
  • Cron maintenance tasks Last run 23 hours 33 min ago
  • Database system MySQL, MariaDB, or equivalent
  • Database system version 5.1.59-community
  • Database updates Up to date
  • Date API System date settings
  • Drupal core update status Up to date
  • FFmpeg Not found
  • File system Writable (private download method)
  • GD library PNG support bundled (2.0.34 compatible)
  • GD library rotate and desaturate effects bundled (2.0.34 compatible)
  • Module and theme update status Up to date
  • Node Access Permissions Disabled
  • PHP 5.2.17 (more information)
  • PHP extensions Enabled
  • PHP memory limit 512M
  • PHP register globals Disabled
  • Page title version Enabled (page_title table contains 0 rows)
  • TinyMCE spellchecker Installed correctly
  • Translation update status There are available updates
  • Unicode library PHP Mbstring Extension
  • Update notifications Enabled
  • Upload progress Enabled (PECL uploadprogress)
  • Web server Apache/2.2.21 (Win32) PHP/5.2.17
  • XML sitemap Last attempted generation on Sat, 2012-01-14 03:43 (1 week 3 days ago).
  • XML sitemap cache directory Writable

However, I tested on my production site and I get the same result.
Environment:

  • PHP 5.2.17 (more information)
  • PHP extensions Enabled
  • PHP memory limit 128M
  • PHP register globals Disabled
  • TinyMCE spellchecker Installed correctly
  • Translation update status There are available updates
  • Unicode library PHP Mbstring Extension
  • Update notifications Enabled
  • Upload progress Not enabled
  • Web server Apache/2.2.X (OVH)

I have no idea where to investigate to give more information. I will activate the debug mode and post more information here.

Comments

rondev’s picture

Issue summary: View changes

More information

rondev’s picture

Here two messages in the watchdog after the boost debug mode activate:

  • Notice: Undefined index: args in boost_deliver_html_page() (line 1248 of boost.module).
  • Array
      (
          [cache_this] =>
      )
Bandy’s picture

I have this too.

PHP 5.3.3-7+squeeze3
Apache 2 - Debian 6

rondev’s picture

Just to say there is no change since the new published dev of boost (2012/01/24 ISO8601).

rondev’s picture

I commented the line for the test variable_get('site_offline', 0), line 165.
This condition was true for me returning a $_boost['cache_this'] = FALSE;

  if (   strpos($_SERVER['SCRIPT_FILENAME'], 'index.php') === FALSE
      || $_SERVER['SERVER_SOFTWARE'] === 'PHP CLI'
      || ($_SERVER['REQUEST_METHOD'] != 'GET' && $_SERVER['REQUEST_METHOD'] != 'HEAD')
      || isset($_GET['nocache'])
      //|| variable_get('site_offline', 0)
      || isset($_SESSION['messages']) // do not cache pages with messages
  )

It seems at a first glance working.

I may have an idea of what the test should return but as my site is not offline, it seems very strange to me.

I found the solution here: #1363686: Use maintenance_mode instead of site_offline setting
We should replace for D7
|| variable_get('site_offline', 0)
by

      || variable_get('maintenance_mode', 0)
      || defined('MAINTENANCE_MODE')
rondev’s picture

Component: Installation » Caching logic
Category: support » bug
Status: Active » Needs review

Change issue status

Bandy’s picture

Thx that works fine.

bgm’s picture

Status: Needs review » Fixed

Thanks, committed to 7.x-1.x.

bgm’s picture

Title: Can't get Boost working. Not one page cached. » Can't get Boost working. Not one page cached: use maintenance_mode instead of site_offline

Status: Fixed » Closed (fixed)

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

elBradford’s picture

elBradford’s picture

Issue summary: View changes

format

tomotomo’s picture

Status: Closed (fixed) » Active

On the most recent (not very recent) dev branch, this is still a bug even though the above patch has been applied.