Downloaded grav + admin plugin from official website, unpacked to my Sites folder. Getting this when I try to access my http://localhost/~evo/gravx/
Fatal error: Uncaught exception 'RuntimeException' with message 'Creating directory '/Users/evo/Sites/gravx/cache/compiled/files' failed on error mkdir(): Permission denied' in /Users/evo/Sites/gravx/vendor/rockettheme/toolbox/File/src/File.php:40 0 Stack trace: #0 /Users/evo/Sites/gravx/vendor/rockettheme/toolbox/File/src/File.php(19 5): RocketTheme\Toolbox\File\File->mkdir('/Users/evo/Site...') #1 /Users/evo/Sites/gravx/vendor/rockettheme/toolbox/File/src/File.php(31 6): RocketTheme\Toolbox\File\File->lock() #2 /Users/evo/Sites/gravx/vendor/rockettheme/toolbox/File/src/PhpFile.php (31): RocketTheme\Toolbox\File\File->save(Array) #3 /Users/evo/Sites/gravx/system/src/Grav/Common/File/CompiledFile.php(67 ): RocketTheme\Toolbox\File\PhpFile->save(Array) #4 /Users/evo/Sites/gravx/system/src/Grav/Common/Config/Setup.php(163): Grav\Common\File\CompiledYamlFile->content() #5 /Users/evo/Sites/gravx/system/src/Grav/Common/Gra v.php(213): Grav\Common\Config\Setup->init() #6 /Users/evo/Sites/gravx/index.php(38): Grav\Common\Grav->process in /Users/evo/Sites/gravx/vendor/rockettheme/toolbox/File/src/File.php on line 400
I tried running this bash script I found and modified:
#!/bin/sh
chown evo:staff .
chown -R evo:staff *
find . -type f ! -path "./bin/" | xargs chmod 664
find . -type f -path "./bin/" | xargs chmod 775
find . -type d | xargs chmod 775
find . -type d | xargs chmod +s
umask 0002
…but this doesn’t help! Permission error is still there.
Help!