XF 1.3 Copy/pasted Cache Code, got blank screen

drastic

Well-known member
Hi,

I pasted this in the include/config file:


$config['enableClickjackingProtection'] = false;

$config['cache']['enabled'] = true;
$config['cache']['cacheSessions'] = true;
$config['cache']['backend'] = 'File';
$config['cache']['frontend'] = 'Core';
$config['cache']['frontendOptions'] ['cache_id_prefix'] = 'xf_';

and it returned a blank screen to me. I made it to the admin and it asked me to complete an upgrade.

so I did, to see what would happen, and after it completed it just looped me in the "you should upgrade" screens.

what did i forget or do wrong?
 
This likely indicates that there are some issues writing to whatever directory it's using by default. I would just skip the file cache though - it won't really be beneficial over a decent MySQL server.
 
Top Bottom