We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 14822
    • 61 Posts
    Quote from: Oleg at Apr 14, 2011, 07:33 PM

    Did you install the phpthumbof package? If so, what errors are you getting?
    Off corse I have installed the last phpthumbof, the error message is

     [2011-04-14 18:00:57] (ERROR @ /var/www/casafolclor/core/model/phpthumb/phpthumb.class.php : 1312) PHP warning: getimagesize(/var/www/casafolclor//casafolclor/assets/components/gallery/files/7/97.jpg): failed to open stream: No such file or directory


    This a topic the same error with the phpthumbof when revo is installed in a subfolder http://modxcms.com/forums/index.php/topic,63182.0.html, I apply the fix and work fine in my tv. But I have the erro when I use the phpthumb with gallery.


    NEW: this error happen in my local server. I solve this issue put in the fileurl a output filter and work fine, but i don’t know if this work in my server online. My temporal solution:

    <img src="[[+fileurl:replace=`[[++base_url]]== `:phpthumbof=`w=420&h=224`]]" alt="[[+name]] - [[++site_name]]" />


    • I actually had to do something almost exactly the same to fix the problem on one of my clients’ servers, but I never figured out the cause because we ended up switching servers. If my issue was the same as yours, the problem is not with phpthumbof but with the fileurl the Gallery snippet generates on a specific server environment and/ or settings configuration.

      Keep us updated if you ever figure out the cause or if something changes on your online server.
        WebsiteZen.com - MODX and E-Commerce web development in the San Francisco Bay Area
        • 14822
        • 61 Posts
        Quote from: Oleg at Apr 14, 2011, 11:47 PM

        I actually had to do something almost exactly the same to fix the problem on one of my clients’ servers, but I never figured out the cause because we ended up switching servers. If my issue was the same as yours, the problem is not with phpthumbof but with the fileurl the Gallery snippet generates on a specific server environment and/ or settings configuration.

        Keep us updated if you ever figure out the cause or if something changes on your online server.

        Unfortunately my temporary solution (:replace = ` [[base_url]] == `) only work at my local server, in my server online it work eliminating this line. The bad thing is that whenever I update the BD I have to be careful sad