We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
  • So I updated my MODX Cloud site to 2.2.11-pl last night. and not none of my phpThumbUp image are working, all was working fine before the update!

    The generated url is correct:
    /phpthumbsup/w/94/h/94/f/png/src/assets/uploads/nieuws/linkedin_logo_1.jpg

    The image works if I use:
    /assets/uploads/nieuws/linkedin_logo_1.jpg

    The /core/cache/phpthumbsup/ folder is empty (I think this must be the problem)

    The error log:

    [2014-01-23 09:48:33] (ERROR @ /paas/c1471/www/core/components/phpthumbsup/model/phpthumbsup/phpthumbsup.class.php : 418) PHP warning: finfo_file(/paas/c1471/www/core/phpthumbsupcache/blog-20130820-veel-schermformaten.c187fd2b7cf4a746af6d43614a4c930d.png): failed to open stream: Bestand of map bestaat niet
    [2014-01-23 09:48:33] (ERROR @ /paas/c1471/www/core/components/phpthumbsup/model/phpthumbsup/phpthumbsup.class.php : 421) PHP warning: md5_file(/paas/c1471/www/core/phpthumbsupcache/blog-20130820-veel-schermformaten.c187fd2b7cf4a746af6d43614a4c930d.png): failed to open stream: Bestand of map bestaat niet
    [2014-01-23 09:48:33] (ERROR @ /paas/c1471/www/core/components/phpthumbsup/model/phpthumbsup/phpthumbsup.class.php : 422) PHP warning: filemtime(): stat failed for /paas/c1471/www/core/phpthumbsupcache/blog-20130820-veel-schermformaten.c187fd2b7cf4a746af6d43614a4c930d.png
    [2014-01-23 09:48:33] (ERROR @ /paas/c1471/www/core/components/phpthumbsup/model/phpthumbsup/phpthumbsup.class.php : 418) PHP warning: finfo_file(/paas/c1471/www/core/phpthumbsupcache/linkedin_logo_1.a6777f8f18f5808dab0824a2cbd2a7ee.jpg): failed to open stream: Bestand of map bestaat niet
    [2014-01-23 09:48:33] (ERROR @ /paas/c1471/www/core/components/phpthumbsup/model/phpthumbsup/phpthumbsup.class.php : 421) PHP warning: md5_file(/paas/c1471/www/core/phpthumbsupcache/linkedin_logo_1.a6777f8f18f5808dab0824a2cbd2a7ee.jpg): failed to open stream: Bestand of map bestaat niet
    [2014-01-23 09:48:33] (ERROR @ /paas/c1471/www/core/components/phpthumbsup/model/phpthumbsup/phpthumbsup.class.php : 422) PHP warning: filemtime(): stat failed for /paas/c1471/www/core/phpthumbsupcache/linkedin_logo_1.a6777f8f18f5808dab0824a2cbd2a7ee.jpg

    Version:

    • MODX Revo 2.2.11-pl on MODX Cloud
    • phpThumbsUp 1.1.1-pl

    I tried:

    • Reinstalling phpThumbsUp
    • Clearing cache
    • Re-uploading images in manager

    Who can help?

    This question has been answered by wax100. See the first response.

      MODX Ambassador (NL) | Responsive web design specialist, developer & speaker
      DESIGNfromWITHIN, MPThemes and Any Screen Size
      Follow me on Twitter | Read my blog | My code on GitHub
    • It looks like .../www/core/phpthumbsupcache/... doesn't exist. Is it supposed to be .../www/core/phpthumbsup/cache/... ? What's your phpthumbsup.cache_path setting set to?

        www.darkstardesign.com

        Are you in the Nashville area? Join us for our next MODX meetup!
      • Yes I tried changing it, it is now {core_path}components/phpthumbsup/cache/ again and still not working.
        The cache folders stays empty, error log says the folder is not there but it is... (and is 777)
          MODX Ambassador (NL) | Responsive web design specialist, developer & speaker
          DESIGNfromWITHIN, MPThemes and Any Screen Size
          Follow me on Twitter | Read my blog | My code on GitHub
        • Ok it is definately something with MODX 2.2.11-pl...
          I tried it on another site where phpThumbsUp was working fine (the site was 2.2.10-pl)

          Updated it to 2.2.11-pl and same problem.
            MODX Ambassador (NL) | Responsive web design specialist, developer & speaker
            DESIGNfromWITHIN, MPThemes and Any Screen Size
            Follow me on Twitter | Read my blog | My code on GitHub
          • I see in the 2.2.11-pl changelog:

            Update phpThumb to 1.7.11-beta to close security vulnerability
            Fix caching of manager menus. Until now, they may not have been ever cached

            Could that be a thing?
              MODX Ambassador (NL) | Responsive web design specialist, developer & speaker
              DESIGNfromWITHIN, MPThemes and Any Screen Size
              Follow me on Twitter | Read my blog | My code on GitHub
            • We'll take a look at that - thanks for bringing this to our attention.
                www.darkstardesign.com

                Are you in the Nashville area? Join us for our next MODX meetup!
              • This is likely related to the phpThumb upgrade in 2.2.11. Not sure why the upgrade has caused these issues but it's been found that anything using the phpthumb.class.php is having issues on upgrade.
                  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
                • WOW How amazing is the MODX community?
                  Within 8 mins a reply from the plugin creator and the MODX core team!

                  Thanks Scott & Jay
                    MODX Ambassador (NL) | Responsive web design specialist, developer & speaker
                    DESIGNfromWITHIN, MPThemes and Any Screen Size
                    Follow me on Twitter | Read my blog | My code on GitHub
                    • 46370
                    • 3 Posts
                    And what's the solution?
                    • discuss.answer
                      • 46370
                      • 3 Posts
                      And what's the solution?