We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
  • I'm having an issue on a site that we updated from 2.2.8 to 2.2.10. The thumbnails no longer show in the ModX Resource Browser. It just shows the missing image icon. Images are fine on the front end. Everything was working fine until this update. Here is my system info. Any thoughts would be great.

    PHP 5.3 (more info)5.3.26 (default)-
    PHP 5.4 (more info)5.4.21-
    PHP Settings (edit)--
    PERL (more info)5.10.1/usr/bin/perl
    Ruby1.8.7/usr/local/bin/ruby
    Python2.6.6/usr/local/bin/python
    MySQL 55.5.32-
    ImageMagick-/usr/local/bin
    NetPBM-/usr/local/netpbm/bin
    Sendmail-/usr/lib/sendmail [ed. note: mdsdesign last edited this post 10 years, 3 months ago.]
      Michael Smull
      http://www.bigpixelstudio.com
      twitter: @mdsdesign
      • 30912
      • 463 Posts
      Hiya,

      Had a similar problem myself, I found that mine was linked to the permissions set for the update, that might be worth checking first, I changed my assets folder permissions and it all worked after that smiley

      hope that helps.
      • Thanks, but that doesn't seem to be the problem. I tried changing the permissions and still have the same issue.

        Quote from: Tyreal2012 at Dec 19, 2013, 04:52 PM
        Hiya,

        Had a similar problem myself, I found that mine was linked to the permissions set for the update, that might be worth checking first, I changed my assets folder permissions and it all worked after that smiley

        hope that helps.
          Michael Smull
          http://www.bigpixelstudio.com
          twitter: @mdsdesign
        • Do you get any error messages, or errors in the network output (chrome inspect > network tab - firefox is similar)?

          The only change was upgrading Revo, or did you also change PHP version?
            Patrick | Server Wrangler
            About Me: Website | TweetsMODX Hosting
          • I'm bringing this post back to life. I still haven't found a resolution to this issue and now I have found out that the thumbnails for my image galleries also don't work on the front end. When you click on where the images should be the photos show up, but no thumbnails. Still no thumbnails showing up in the backend of the site as well.

            I did not upgrade PHP and there are no errors showing using the developer tool in Safari.

            I really need help here. It was one thing when it was just on the backend but now with galleries not working on the front end it's a real problem.

            Any help would be appreciated.
              Michael Smull
              http://www.bigpixelstudio.com
              twitter: @mdsdesign
            • Just want to add that I just tried to add a new photo to one of the gallery's that the thumbnails are not working on and I get and Access Denied error when trying to upload the image. Not sure if that is helpful or not.

              This seems like it has to be a permissions error of some kind, right? I haven't changed my permissions and the assets folder and the Gallery folder are set to 775. The folders for each of the 4 galleries are also set to 775. I tried changing to 777 and that didn't work either.
                Michael Smull
                http://www.bigpixelstudio.com
                twitter: @mdsdesign
              • This is related to the changes in the phpthumb.class.php that was updated in 2.2.11 for a security issue:
                http://forums.modx.com/thread/88743/phpthumbsup-not-working-after-update-to-2-2-11-pl

                Installing pthumb apparently allows you to keep your phpthumbof references in place however it still works as expected.

                  Author of zero books. Formerly of many strange things. Pairs well with meats. Conversations are magical experiences. He's dangerous around code but a markup magician. BlogTwitterLinkedInGitHub
                • Just to be clear, I haven't updated to 2.2.11 yet. This happened when I updated from 2.2.8 to 2.2.10. That is the current version I'm running.

                  So, I can go and install phpthumb. You've lost me a bit on what if anything I need to do to make phpthumb work. I'm not very technical when it comes to this type of stuff. Do I have to change settings to allow modx to use phpthumb? If so, can you point to where those changes would need to be made? Again, with as much detail as possible.

                  Thanks in advance.

                  Quote from: smashingred at Jan 27, 2014, 07:19 PM
                  This is related to the changes in the phpthumb.class.php that was updated in 2.2.11 for a security issue:
                  http://forums.modx.com/thread/88743/phpthumbsup-not-working-after-update-to-2-2-11-pl

                  Installing pthumb apparently allows you to keep your phpthumbof references in place however it still works as expected.

                    Michael Smull
                    http://www.bigpixelstudio.com
                    twitter: @mdsdesign
                  • I just installed pThumb. Hasn't changed a thing.
                      Michael Smull
                      http://www.bigpixelstudio.com
                      twitter: @mdsdesign
                    • Oh, Michael. I am so sorry. I misread your OP completely. Yeah, this is not at all related to what was going on before. Did the thumbs ever work on either of these servers? Do you have GD and Imagemagick installed? Have you looked at the php error logs? Have you turned on logging so you get errors reported on actions? Are there any errors in the error log in MODX. Your access denied on upload sounds like you don't have file upload permissions which is normally set in php.ini.
                        Author of zero books. Formerly of many strange things. Pairs well with meats. Conversations are magical experiences. He's dangerous around code but a markup magician. BlogTwitterLinkedInGitHub