title: WP-Super-Cache activation errors
body: <p>I have to set up the cache on a WordPress project, which is already on "support mode" in the agency for a while.</p>
  
  <p>The plugin WP Super Cache was already installed so I activated it, to setting up it.</p>
  
  <p>I work locally on dev mode and the project have a preprod and a prod environments. </p>
  
  <p>When I activated it, the following error messages appear in back-office : </p>
  
  <blockquote>
    <p>Warning:
    include(/var/www/xx/xx/xx/xx/xx/xx/wp-content/plugins/wp-super-cache/wp-cache-base.php):
    failed to open stream: No such file or directory in
    /var/www/wp-content/plugins/wp-super-cache/wp-cache.php on line 65</p>
    
    <p>Warning: include(): Failed opening
    ‘/var/www/xx/xx/xx/xx/xx/xx/wp-content/plugins/wp-super-cache/wp-cache-base.php’
    for inclusion (include_path=’.:/usr/share/php:/usr/share/pear’) in
    /var/www/wp-content/plugins/wp-super-cache/wp-cache.php on line 65</p>
    
    <p>Warning:
    include_once(/var/www/xx/xx/xx/xx/xx/xx/wp-content/plugins/wp-super-cache/ossdl-cdn.php):
    failed to open stream: No such file or directory in
    /var/www/wp-content/plugins/wp-super-cache/wp-cache.php on line 82</p>
    
    <p>Warning: include_once(): Failed opening
    ‘/var/www/xx/xx/xx/xx/xx/xx/wp-content/plugins/wp-super-cache/ossdl-cdn.php’
    for inclusion (include_path=’.:/usr/share/php:/usr/share/pear’) in
    /var/www/wp-content/plugins/wp-super-cache/wp-cache.php on line 82</p>
  </blockquote>
  
  <p>Looking in the file wp-cache.php on lines 65 and 82, it says that :</p>
  
  <pre><code>include(WPCACHEHOME . 'wp-cache-base.php');
  </code></pre>
  
  <blockquote>
    <p>Path ‘dirname(<strong>FILE</strong>).’/…wp-cache-base.php’ not found Include
    expression is not resolved</p>
  </blockquote>
  
  <pre><code>include_once( WPCACHEHOME . 'ossdl-cdn.php' );
  </code></pre>
  
  <blockquote>
    <p>Path ‘dirname(<strong>FILE</strong>).’/…ossdl-cdn.php’ not found Include expression
    is not resolved</p>
  </blockquote>
  
  <p>So I was thinking about changing the path. However, this is bothering me because I am afraid that this action will be potentially a troubleshooting cause when the plugin will have to be updated.</p>
  
  <p>I have no ideas how I can fix it. 
  Uninstall and reinstall the plugin ?
  Use an other plugin to manage the cache? </p>
  
  <p>Thank you in advance for your answers. Have a nice day!</p>