Hello,
I am using Cache Expiration 7.x-1.0-alpha2 on a pressflow/drupal 7 website. Every time I create a new node, I get a white page and the following error in my apache logs:
PHP Fatal error: Call to undefined function db_fetch_array() in /.../sites/all/modules/expire/expire.domain.inc on line 15, referer: http://.../node/170968/edit
Has someone an idea what the problem is?
Other useful information:
Server: varnish 2.1 => apache 2.2.16 (Debian)
Drupal: pressflow 7
Used Modules:
varnish 7.x-1.0-beta1+2-dev (2012-Mär-20)
expire 7.x-1.0-alpha2
purge 7.x-1.5-rc1
domain module
| Comment | File | Size | Author |
|---|---|---|---|
| #7 | 0001-GID-patch-for-Expire.patch | 1.07 KB | apemantus |
| #2 | expire-fix_use_of_db_fetch_array-1498410-2.patch | 1.11 KB | halcyonCorsair |
Comments
Comment #1
niccolox commentedam getting the same error in a slightly different environment, Aegir BOA
but its a bug alright, disabled Purge and Cache for now
Comment #2
halcyonCorsair commentedHere is a patch to update the database calls.
I don't have the domain module setup, so could someone test this for me?
Comment #3
MJH commentedThe patch from #2 seems to work.
No more errors and the varnish cache is cleared correctly.
Comment #4
halcyonCorsair commentedComment #6
apemantus commentedSo the current code is:
I've got some issues with expire, domain access and workbench moderation. I haven't tracked down the main issue, but one thing is here I'm getting error messages as $gid is not defined. I suspect the code won't work as it stands, but like I say there's some other issues in play. I think
should be
Comment #7
apemantus commentedPatch attached
Comment #8
spleshkaIn new branch this issue is fixed.
Comment #9
spleshkaForgot to change version number.