Hi
when I enabled memcache in my settings.php, I got this error:
Warning: Missing argument 2 for variable_get(), called in /home/users/somvprahe.sk/web/www/sites/all/modules/memcache/memcache.inc on line 20 and defined in /home/users/somvprahe.sk/web/www/includes/bootstrap.inc on line 583
Warning: Cannot modify header information - headers already sent by (output started at /home/users/somvprahe.sk/web/www/includes/bootstrap.inc:583) in /home/users/somvprahe.sk/web/www/includes/bootstrap.inc on line 725
Warning: Cannot modify header information - headers already sent by (output started at /home/users/somvprahe.sk/web/www/includes/bootstrap.inc:583) in /home/users/somvprahe.sk/web/www/includes/bootstrap.inc on line 726
Warning: Cannot modify header information - headers already sent by (output started at /home/users/somvprahe.sk/web/www/includes/bootstrap.inc:583) in /home/users/somvprahe.sk/web/www/includes/bootstrap.inc on line 727
Warning: Cannot modify header information - headers already sent by (output started at /home/users/somvprahe.sk/web/www/includes/bootstrap.inc:583) in /home/users/somvprahe.sk/web/www/includes/bootstrap.inc on line 728
Fatal error: Call to undefined function filter_xss() in /home/users/somvprahe.sk/web/www/includes/common.inc on line 655
Can you please suggest to me, if there is something what I can do with this, or it is a bug in the module?
Thanks
Igor
Comments
Comment #1
pounardDid you apply the memcache patch provided? If yes, then it may probably need to be updated.
Comment #2
igorik commentedno, I didn't notice that there is a patch. I will look on it again.
Comment #3
pounardIt's written in the documentation, it's only because the Memcache backend uses $conf variables, so they actually do variable_get() calls inside it (where other backends usually don't).
Comment #4
pounardPlease tell me if it fixes the problem, if so I could close this issue, if not then I'd update the patch.
Comment #5
igorik commentedhi, it fixed problem, thanks a lot.