XF 2.2 Cannot upload videos. FFMPEG error

vtcnc

Member
Oops! We ran into some problems.
ErrorException: [E_WARNING] file_exists(): open_basedir restriction in effect. File(/usr/bin/ffmpeg) is not within the allowed path(s): (/home/hobbymac/:/tmp/:/var/tmp/:/opt/alt/php73/usr/share/pear/:/dev/urandom:/usr/local/php73/lib/:/usr/local/php73/lib/:/usr/local/lib/php/) in src/addons/XFMG/Validator/Ffmpeg.php at line 20
  1. XF::handlePhpError()
  2. file_exists() in src/addons/XFMG/Validator/Ffmpeg.php at line 20
  3. XFMG\Validator\Ffmpeg->isValid() in src/addons/XFMG/Ffmpeg/Runner.php at line 27
  4. XFMG\Ffmpeg\Runner->setFfmpegPath() in src/addons/XFMG/Ffmpeg/Runner.php at line 15
  5. XFMG\Ffmpeg\Runner->__construct() in src/addons/XFMG/Service/Media/ThumbnailGenerator.php at line 119
  6. XFMG\Service\Media\ThumbnailGenerator->getTempFrameFromFfMpeg() in src/addons/XFMG/Service/Media/ThumbnailGenerator.php at line 64
  7. XFMG\Service\Media\ThumbnailGenerator->createTempThumbnailFromAttachment() in src/addons/XFMG/Service/Media/TempCreator.php at line 153
  8. XFMG\Service\Media\TempCreator->_save() in src/XF/Service/ValidateAndSavableTrait.php at line 40
  9. XFMG\Service\Media\TempCreator->save() in src/addons/XFMG/Attachment/Media.php at line 148
  10. XFMG\Attachment\Media->onNewAttachment() in src/XF/Service/Attachment/Preparer.php at line 269
  11. XF\Service\Attachment\Preparer->insertTemporaryAttachment() in src/XF/Service/Attachment/Preparer.php at line 29
  12. XF\Service\Attachment\Preparer->insertAttachment() in src/XF/Attachment/Manipulator.php at line 170
  13. XF\Attachment\Manipulator->insertAttachmentFromUpload() in src/XF/Pub/Controller/Attachment.php at line 89
  14. XF\Pub\Controller\Attachment->actionUpload() in src/XF/Mvc/Dispatcher.php at line 350
  15. XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 257
  16. XF\Mvc\Dispatcher->dispatchFromMatch() in src/XF/Mvc/Dispatcher.php at line 113
  17. XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 55
  18. XF\Mvc\Dispatcher->run() in src/XF/App.php at line 2326
  19. XF\App->run() in src/XF.php at line 488
  20. XF::runApp() in index.php at line 20
 
Top Bottom