Comment to 'Image Tanscoder and storage.php'
  • To transcode an image or video UNA needs to fetch the original file, UNA tries to get it via URL from the server itself, however if your site can't be loaded from the server itself then it fails.

    It maybe different way to fix this, but in most cases it helps if you add the following line to /etc/hosts file:

    127.0.0.1 your-una.domain
    
    • Sorry for the late reply  , your suggestion below worked out perfectly, can post images and videos without issue, however I had to disable MP4 transcoding for all my videos to post correctly without error, it might be my FFMPEG version and or the CPU I am using, only set this deployment up for testing when I upgrade to a better server I will spend more time on the transcoding bit, thank you for your time

      To transcode an image or video UNA needs to fetch the original file, UNA tries to get it via URL from the server itself, however if your site can't be loaded from the server itself then it fails.
      It maybe different way to fix this, but in most cases it helps if you add the following line to /etc/hosts file:
      127.0.0.1 your-una.domain
      
      • Hello, in which folder is this file located?

        • Hello, i can't upload images here is my hosts...is it ok for you?

          image_transcoder.php?o=sys_images_editor&h=1245&dpx=2&t=1682959894