Photo previews not loading

Getting Failed to load resource: the server responded with image_transcoder.php:1  a status of 404 () on some uploaded images after being uploaded. They are there if you click on them but not loading in the Album as preview. Some do load, but not all of them. Depending on how many upload you may get lucky and they do finally load or do not. Anyone else run into this issue? My server is more then capable, I did go between PHP versions to test and same issue. Also checked for anything in the PHP.Ini, but then realized that should be fine, being images are fine and just not processing previews right away. No errors to say why :/ Have shifted between PHP versions as well. I checked with server host and connection test came out phenomenal and no hardware issues. I am on an umanaged dedicated server, WHM/CPANEL, using APACHE 2.4. I am wondering if it is a caching issue or something blocking it, but again some photos go through and then some do not. I did a page inspect and the ones I seen with the error have a load time of over 300 seconds and those are small logo files. When you click on image link they open fine as well, just previews are being a hassle.

  • 736
  • More
Replies (15)
    • I had the same problem with php7.0 and 7.1 but no problem with 7.2.
      But I coudnt find what is the setting / module causing this.

      • I had something similar happen to me when I installed UNA and then upgraded the PHP version AFTER the install. You can try to do this:

        Go into Studio > Settings > General - Remove the chechmark from "Use GD library for image processing". 

        From Studio launch page click Dashboard. Click the down arrow by Cache and delete all cache.

        Refresh your website page and see if the images display. 

        IF THEY DO - Go back into the General settings and put the checkmark back next to "Use GD library for image processing". Clear cache and refresh your website page and they "should" still appear. 

        This worked for me when I had the same issue. I figured it was due to the caching of how the images were stored/rendered after the upgrade of PHP. 

        • I tried this with no result. Still same thing. Thanks for the advice :) 

          • Will have to try this after work and see if this works. Have my wife uploading all the albums that gave issues to see what happens. I had reinstalled about three times trying to figure stuff out. 

            • after noticing Chris's warning about GD lab I tested with different php versions:
              =< 7.1 it needs Studio > Settings > general > use gd lib for image processing needs to be selected
              for php7.2 and 7.3 it is not needed

              • I tried not using it and same thing. I then checked it back again. Still the same issue. Thanks for the help. Will try it again when I get home. 

                • After changing the gd setting better to clear Una cache, from the studio again.

                  • Tried it again and cleared cache and still same thing. You can see what I mean at vybz dot live in albums. With it on or off still same thing.

                    • Same here, running PHP 7.3 atm (tested 7.2 as well without any difference) and have disabled the "use GD library" in Studio.  The server is idling but one page load takes 20 seconds cause I have like 91 requests with 404, trying to reach image_transcoder.php

                      Edit adding: when I call the url directly in browser like

                      https://una.tld.com/image_transcoder.php?o=bx_events_avatar&h=245&dpx=1&t=1560898952

                      it works. But in "normal" page call not at all.

                      • Same exact problem 😑 

                        • Alex T⚜️ or other from the boonex team any idea?

                          • Hello trunky !

                            Usually, this trouble depends from the low resources. It happens often when several sites are placed in one server and the cases when all of them have a big number of request simultaneously generate the memory exceeding or similar troubles. But every case should be investigated.

                            • it happens - seems randomly - again and again. Sometimes it's loaded via image_transcoder, then the page takes 40 seconds to load. Sometimes it's working fast.

                              And from my checks no problems with the server, CPU load is low on all 4 cores, RAM is sufficient, PHP settings are up to 128 MB RAM. But pages like members with standard settings (like loading 48 profiles) is so slow....

                              GD processing is off

                              • Hello trunky !

                                Looks like occupied resources from the other sites in your hosting.

                                • Studio> Einstellungen> Allgemein /

                                  GD-Bibliothek für Bildverarbeitung nicht verfügbar

                                  Login or Join to comment.