1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XF 1.4 Blank page when I enable memcached in one forum (another forum in the same server works fine)

Discussion in 'Troubleshooting and Problems' started by Puntocom, Jul 10, 2015.

  1. Puntocom

    Puntocom Well-Known Member

    Hello. I run a VPS with two XenForo installations. Memcached is working fine in one forum but, when I enable it in the other forum (same server) I get a blank page.
    Code:
    $config['cache']['enabled'] = true;
    $config['cache']['cacheSessions'] = true;
    $config['cache']['backend'] = 'Memcached';
    $config['cache']['backendOptions'] = array(
      'compression' => false,
      'servers' => array(
      array(
      // your memcached server IP /address
      'host' => 'localhost',
       
      // memcached port
      'port' => 11211,
      )
      )
    );
    
    • XenForo 1.4.5
    • PHP 5.5.26
    • Nginx 1.7.10
    • Memcached 1.4.21p1
    • pecl-memcache-3.0.6p5

    Can you help me, please?
     
  2. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    If using the same memcached server for both then be sure to specify a unique prefix for each forum:

    Defining a Cache | XenForo

    Code:
    $config['cache']['frontendOptions']['cache_id_prefix'] = 'xf_';
    
     
    Steve F likes this.
  3. Puntocom

    Puntocom Well-Known Member

    It works, thanks!! (y)
     

Share This Page