I get this message, when i'm activating ad_memcache:

Fatal error: Call to undefined function adserve_variable() in /srv/www/vhosts/xxxxxxxxxxxxxxxxxxx.de/httpdocs/web/sites/default/modules/ad_memcache/ad_cache_memcache.inc on line 322 

What to do ?

CommentFileSizeAuthor
#2 ad_cache_memcache.patch520 bytesmauritsl

Comments

simpsonetti’s picture

Status: Active » Closed (fixed)

now it is activated, without any errors and without changing anything.

mauritsl’s picture

Status: Closed (fixed) » Needs review
StatusFileSize
new520 bytes

I got the same error, so it is still a relevant issue in some cases.

The function adserve_variable() is in the adserve.inc of the ad module. I solved this issue by calling module_load_include() right before calling adserve_variable() to make sure that the include is loaded. Please have a look at the patch.

dicreat’s picture

Patch work for me, thanks!