Skip to content
This repository was archived by the owner on Jul 12, 2020. It is now read-only.

Fatal error: Uncaught YoutubeDownloader\Cache\CacheException: cache directory #295

Closed
navyndaaa opened this issue Dec 21, 2017 · 4 comments

Comments

@navyndaaa
Copy link

Fatal error: Uncaught YoutubeDownloader\Cache\CacheException: cache directory "/opt/lampp/htdocs/YouTube-Downloader/src/../cache" is not writable. in /opt/lampp/htdocs/YouTube-Downloader/src/Cache/FileCache.php:71 Stack trace: #0 /opt/lampp/htdocs/YouTube-Downloader/src/ServiceProvider.php(75): YoutubeDownloader\Cache\FileCache::createFromDirectory('/opt/lampp/htdo...') #1 /opt/lampp/htdocs/YouTube-Downloader/src/Container/SimpleContainer.php(66): YoutubeDownloader\ServiceProvider->YoutubeDownloader{closure}(Object(YoutubeDownloader\Container\SimpleContainer)) #2 /opt/lampp/htdocs/YouTube-Downloader/src/Container/SimpleContainer.php(66): Closure->__invoke(Object(YoutubeDownloader\Container\SimpleContainer)) #3 /opt/lampp/htdocs/YouTube-Downloader/src/ServiceProvider.php(149): YoutubeDownloader\Container\SimpleContainer->get('YoutubeDownload...') #4 /opt/lampp/htdocs/YouTube-Downloader/src/Container/SimpleContainer.php(66): YoutubeDownloader\ServiceProvider->YoutubeDownloader{closure}(Object(YoutubeDownloader\Container\S in /opt/lampp/htdocs/YouTube-Downloader/src/Cache/FileCache.php on line 71

@navyndaaa
Copy link
Author

why? please help me

@jeckman
Copy link
Owner

jeckman commented Dec 21, 2017

It says the cache directory is not writeable - my guess is that means the user the script is running as doesn't have appropriate permissions

@somik123
Copy link

somik123 commented Jan 3, 2018

Create a folder: /opt/lampp/htdocs/YouTube-Downloader/cache
and ensure it is writable by lamp (same group & user as "/opt/lampp/htdocs" folder and chmod to 777 if needed.

@Art4 Art4 mentioned this issue Feb 9, 2018
@Art4
Copy link
Collaborator

Art4 commented Feb 9, 2018

Closed due no feedback.

@Art4 Art4 closed this as completed Feb 9, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants