Skip to content
Grav 2.0 is officially stable. Read the announcement →
Archive

Help me

Started by Muut Archive 10 years ago · 1 replies · 444 views
10 years ago

So I inserted the grav admin file in the XAMPP's web root, and it shows below. Not sure what's going on.

Fatal error: Uncaught RuntimeException: Creating directory '/Applications/XAMPP/xamppfiles/htdocs/grav-admin/cache//compiled/files' failed on error mkdir(): Permission denied in /Applications/XAMPP/xamppfiles/htdocs/grav-admin/vendor/rockettheme/to olbox/File/src/File.php:420 Stack trace: #0 /Applications/XAMPP/xamppfiles/htdocs/grav-admin/vendor/rockettheme/to olbox/File/src/File.php(195): RocketTheme\Toolbox\File\File->mkdir('/Applications/X...') #1 /Applications/XAMPP/xamppfiles/htdocs/grav-admin/vendor/rockettheme/to olbox/File/src/File.php(316): RocketTheme\Toolbox\File\File->lock() #2 /Applications/XAMPP/xamppfiles/htdocs/grav-admin/vendor/rockettheme/to olbox/File/src/PhpFile.php(31): RocketTheme\Toolbox\File\File->save(Array) #3 /Applications/XAMPP/xamppfiles/htdocs/grav-admin/system/src/Grav/Commo n/File/CompiledFile.php(66): RocketTheme\Toolbox\File\PhpFile->save(Array) #4 /Applications/XAMPP/xamppfiles/htdocs/grav-admin/system/src/Grav/Commo n/Config/Setup .php(178): Grav\Common\File\CompiledYamlFile->content() #5 /Ap in /Applications/XAMPP/xamppfiles/htdocs/grav-admin/vendor/rockettheme/to olbox/File/src/File.php on line 420

10 years ago

It's a permission issue. I also suggest to use MAMP which is known to work out of the box with the correct permissions and Apache/PHP settings.

Suggested topics

Topic Participants Replies Views Activity
Archive · by Deleted User, 9 years ago
0 1332 9 years ago
Archive · by Muut Archive, 9 years ago
2 923 9 years ago
Archive · by Muut Archive, 9 years ago
2 4052 9 years ago
Archive · by Muut Archive, 9 years ago
1 2930 9 years ago
Archive · by Muut Archive, 9 years ago
3 1109 9 years ago