jeckman / YouTube-Downloader

PHP script for downloading videos from youtube; also parsing youtube feed into RSS enclosures for podcatchers
GNU General Public License v2.0
895 stars 474 forks source link

Fatal Errors #307

Closed navyndaaa closed 6 years ago

navyndaaa commented 6 years ago

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:66 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(64): YoutubeDownloader\ServiceProvider->YoutubeDownloader{closure}(Object(YoutubeDownloader\Container\SimpleContainer)) #2 /opt/lampp/htdocs/YouTube-Downloader/src/Container/SimpleContainer.php(64): Closure->__invoke(Object(YoutubeDownloader\Container\SimpleContainer)) #3 /opt/lampp/htdocs/YouTube-Downloader/src/ServiceProvider.php(144): YoutubeDownloader\Container\SimpleContainer->get('YoutubeDownload...') #4 /opt/lampp/htdocs/YouTube-Downloader/src/Container/SimpleContainer.php(64): YoutubeDownloader\ServiceProvider->YoutubeDownloader{closure}(Object(YoutubeDownloader\Container\S in /opt/lampp/htdocs/YouTube-Downloader/src/Cache/FileCache.php on line 66

chadul commented 6 years ago

Chmod 777 the "cache" directory

Art4 commented 6 years ago

Thanks @chadul, this should solve the problem.

Art4 commented 6 years ago

duplicates #295