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
Comment #1
jaylotta commentedtesting on a server with PHP 5.3x does not cause this message. Seems like it might by PHP 5.4
Comment #2
Anonymous (not verified) commentedThis 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.
Comment #3
jaylotta commentedI'm using the same php.ini for both setups.
Comment #4
jaylotta commentedSeems 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.
Comment #5
checker commentedThis happens if expire and boost cache are enabled but "text/html cache" is disabled.
Comment #6
bgm commentedThanks 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...
Comment #7
jaylotta commentedWorks 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
Comment #8
bgm commentedThanks. Will take a look.