We are transitioning over to a new forum platform. Please post new issues there. Existing threads will be dealt with here unless you choose to move them over. Visit the new forum
Help with Secure Downloads
Hello, I'm trying to setup a digital product with secure asset download following this guide.
I have created the bucket like this (local mac machine). The web root is /Users/me/sites/mysite/www. Both directories under mysite have the same permissions.
<?php return [ 'guides' => [ 'web_path' => '/guides/download/', 'file_path' => '/Users/me/sites/mysite/guides', ], ]; ?>
Then, when trying to add a pdf to the bucket I get
Warning: mkdir(): Permission denied in /var/www/html/admin/core/lib/PerchResourceBucket.class.php on line 158 and to the admin area
Your resources folder is not writable. Make this folder (/guides/download/) writable to upload images.
I'm a bit confused with this error because from this guide, I understand that it is the
file_path that holds the file however the error complains about permissions of the
What am I missing here?
Want to reply to this thread?Login with Perch