Upon creation of a new node the following messages are emitted

Notice: Undefined index: extension in boost_expire_cache() (line 389 of C:\Program Files (x86)\Apache Software Foundation\Apache2.2\htdocs\gongawaremedia\sites\all\modules\boost\boost.module).
Notice: Undefined index: extension in boost_expire_cache() (line 389 of C:\Program Files (x86)\Apache Software Foundation\Apache2.2\htdocs\gongawaremedia\sites\all\modules\boost\boost.module).

Using 7.x-1.0-beta3+12-dev with PHP 5.4. I have set Cache Expire module to expire nodes upon Node Insert, so may be caused by Cache Expire.

Ive been experiencing some other problems since the hosting provider upgraded to PHP 5.4 so this may be related to the upgrade.

Comments

jaylotta’s picture

testing on a server with PHP 5.3x does not cause this message. Seems like it might by PHP 5.4

Anonymous’s picture

Notice: Undefined index: extension in boost_expire_cache() (line 389 of C:\Program Files (x86)\Apache Software

This is an error caused by your php.ini configuration file, not boost per se. Probably you have differing settings in each version you have installed.

jaylotta’s picture

I'm using the same php.ini for both setups.

jaylotta’s picture

Seems to only happen when the cache expire module is enabled to expire things when insert, update, or delete occurs and boost cache is not enabled. I'm not sure this is a bug, but I can see how the code is not handling this case.

It's not PHP related after all. But configuration related.

checker’s picture

This happens if expire and boost cache are enabled but "text/html cache" is disabled.

bgm’s picture

Status: Active » Needs review

Thanks for the hint, was able to reproduce the bug. Commited a fix in 7.x-1.x. Can you confirm?

http://drupalcode.org/project/boost.git/blobdiff/c2700b4512fbd74d2e0c9b1...

jaylotta’s picture

Works like a charm. Thanks for the quick turnaround.

Maybe you could look this too.

https://drupal.org/node/2136211

I added a fix as a comment, which is a complete hack, but does the job. I'm sure someone with deeper understanding of the drupal page delivery process and boost could integrate a proper fix.

Regards

bgm’s picture

Status: Needs review » Fixed

Thanks. Will take a look.

Status: Fixed » Closed (fixed)

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