Hello,

I followed this tutorial to avoid database caching using authcache & memcache.

When I add this line :
$conf['authcache_builtin_cache_without_database'] = TRUE;

I get this error :

Call to undefined function db_query() in /....../includes/cache.inc on line 344

Can you help me ?

Thank you.

Comments

znerol’s picture

Issue tags: -authcache_builtin_cache_without_database

Which tutorial? Please link it.

znerol’s picture

Version: 7.x-2.0-beta4 » 7.x-2.x-dev
Component: Code » Documentation
Assigned: toufichalwani » Unassigned
Category: Support request » Bug report
Status: Active » Fixed

Ok, I can reproduce this. The reason is that the Memcache API and Integration module tries to access the cache_bootstrap in order to read its configuration. Therefore, that bin also needs to be placed into memcache (or any other third-party non-db cache). I've updated the instructions in the documentation (Authcache 2 tuning guide - avoid the database).

Thank you for reporting this issue.

Status: Fixed » Closed (fixed)

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