Closed adamwoo2444 closed 5 years ago
The error is: cache directory "/Applications/XAMPP/xamppfiles/htdocs/jekman_yt/src/../cache" is not writable.
YouTube Downloader makes a cache directory, which it needs to have permissions to write to.
How you give it those permissions is dependent on your local setup in XAMPP - this might help if you're MacOS as the /Applications/ suggests: https://stackoverflow.com/questions/9046977/xampp-permissions-on-mac-os-x
Thank you so much 👍
I am getting this error. Can anyone solve this. Please
Fatal error: Uncaught YoutubeDownloader\Cache\CacheException: cache directory "/Applications/XAMPP/xamppfiles/htdocs/jekman_yt/src/../cache" is not writable. in /Applications/XAMPP/xamppfiles/htdocs/jekman_yt/src/Cache/FileCache.php:67 Stack trace: #0 /Applications/XAMPP/xamppfiles/htdocs/jekman_yt/src/ServiceProvider.php(76): YoutubeDownloader\Cache\FileCache::createFromDirectory('/Applications/X...') #1 /Applications/XAMPP/xamppfiles/htdocs/jekman_yt/src/Container/SimpleContainer.php(65): YoutubeDownloader\ServiceProvider->YoutubeDownloader\{closure}(Object(YoutubeDownloader\Container\SimpleContainer)) #2 /Applications/XAMPP/xamppfiles/htdocs/jekman_yt/src/Container/SimpleContainer.php(65): Closure->__invoke(Object(YoutubeDownloader\Container\SimpleContainer)) #3 /Applications/XAMPP/xamppfiles/htdocs/jekman_yt/src/ServiceProvider.php(145): YoutubeDownloader\Container\SimpleContainer->get('cache') #4 /Applications/XAMPP/xamppfiles/htdocs/jekman_yt/src/Container/SimpleContainer.php(65): YoutubeDownloader\ServiceProvider-> in /Applications/XAMPP/xamppfiles/htdocs/jekman_yt/src/Cache/FileCache.php on line 67