老师好,在访问测试时(sample/test/hello)页面中会跟着下面的一段错误,测试其他页面有时也会出现,网上没找到解决办法,请问这是什么原因呢?谢谢
Fatal error: Uncaught exception ‘think\exception\ErrorException’ with message ‘mkdir(): Permission denied’ in /Applications/XAMPP/xamppfiles/htdocs/zerg/thinkphp/library/think/log/driver/File.php:49 Stack trace: #0 [internal function]: think\Error::appError(2, ‘mkdir(): Permis…’, ‘/Applications/X…’, 49, Array) #1 /Applications/XAMPP/xamppfiles/htdocs/zerg/thinkphp/library/think/log/driver/File.php(49): mkdir(’/Applications/X…’, 493, true) #2 /Applications/XAMPP/xamppfiles/htdocs/zerg/thinkphp/library/think/Log.php(157): think\log\driver\File->save(Array) #3 /Applications/XAMPP/xamppfiles/htdocs/zerg/thinkphp/library/think/Error.php(84): think\Log::save() #4 [internal function]: think\Error::appShutdown() #5 {main} thrown in /Applications/XAMPP/xamppfiles/htdocs/zerg/thinkphp/library/think/log/driver/File.php on line 49