Varnish undefined constant errors on all pressflow pages
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
DEPRECATED Pantheon |
Fix Released
|
Undecided
|
Josh Koenig |
Bug Description
Using stock 64-bit 1.1 beta-2 AMI on Amazon, every pressflow page shows three PHP errors:
* Notice: Use of undefined constant VARNISH_NO_CLEAR - assumed 'VARNISH_NO_CLEAR' in include_once() (line 4 of /var/www/
* Notice: Use of undefined constant VARNISH_
* Notice: Use of undefined constant VARNISH_
I looked in varnish.module and indeed, it has:
define(
define(
define(
so I edited the file to be:
define(
define(
define(
And the errors disappeared.
I will get these changes pushed upstream to the module. It's odd that this didn't show up before in testing. Have you altered your PHP version or error logging in any way?