Thread tagged as: Problem, Configuration

Managing Resources


I'm trying to use a different folder to upload my assets, however something is not quite right. i'm using the below code example below in the config.php file

define('PERCH_RESFILEPATH', '/var/www/mysite/public_html/files');
define('PERCH_RESPATH', '/files');

The folder I have made is writable, however if I'm not sure what I replace 'mysite' with. I have tried the below

define('PERCH_RESFILEPATH', '/var/www/thecawdor/public_html/files');
define('PERCH_RESPATH', '/files');

but it says that the file is not writable. Any help would be much appreciated!

Jade Marling

Jade Marling 0 points

  • 3 years ago
Drew McLellan

Drew McLellan 2638 points
Perch Support

What's the path to your site from the file system root? That should be in your diagnostics report.

Thanks Drew! The path was completely different, all working now!