We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 33657
    • 128 Posts
    If i go into my browser in 2.0.8 Revolution I see a bunch of broken links

    if i copy the path URL

    http://zadesigns.com/connectors/system/phpthumb.php?src=/random_images/vice.jpg&w=159&h=280

    I get a thumb that size...

    but if i do

    http://zadesigns.com/connectors/system/phpthumb.php?src=/random_images/vice.jpg&w=20&h=20 I get a popup to download phpthumb.php and it doesn’t work

    Error 324 (net::ERR_EMPTY_RESPONSE): Unknown error.

    is there any reason why this is happening?

      • 33657
      • 128 Posts
      also...

      if i got into the /core/cache/phpthumb/ directory via SFTP I can see ALL of the generated thumbs and they are all valid correct images.

      so where is the disconnect?
        • 33657
        • 128 Posts
        redid all the paths. set the paths to blank, relavive, absolute, / , public_html, and 100 other things.

        deleted the files in my server, no matter what I do, the images come up as BROKEN IMAGE LINKS. but if i go into my server and look in the cache/phpthumb folder they are all getting created.

        the user is nobody / nobody for chown Do you think that is causing the manager to not load them? crazy thing is that the manager can pull them up once i select them but the thumbnail is busted. this is definetally a bug. I did it on another modx 2.0.8 and the thumbnails showed up! WOOOOO! then i logged out and logged in 2 hours later and broken thumbnail images. something is certainly wrong.
          • 9207 ☆ A M B ☆
          • 2,475 Posts
          Have you checked your server logs?

          And have you enabled debug mode in phpThumb? It might kick out some errors that would identify the problem.
            • 33657
            • 128 Posts
            how would I enable debug mode of it in modx?
              • 33657
              • 128 Posts
              all images are broken links on phpthumb.

              if i remove phpthumb and use the real one (not modx one) i can at least get error messages to load (purple images with red text)

              but with modx implementation i get broken links,. this is on 4 or 5 modx websites on different servers... am I the only one who doesn’t get thumbnails>???

              i got them to display ONCE on a site and then when i logged out and back in, broken ! so something is off...

              how do i view debug on phpthumb for modx? any other suggestions? where is phpthumb located in modx? the connectors/system/phpthumb.php is not the real file, where is the real one at?
                • 25801
                • 6 Posts
                Quote from: zurie at Feb 28, 2011, 10:22 AM

                i got them to display ONCE on a site and then when i logged out and back in, broken ! so something is off...


                I got the exact same problem ! Maybe it’s got something to do with access right ? Because unless I’m logged in to modx, phpthumb does not return anything.
                The images can be accessed directly though !

                Any thoughts about that ?

                Seriously, this phpthumb is a mess ! And not docs whatsoever !
                  • 9207 ☆ A M B ☆
                  • 2,475 Posts
                  Yeah, PHPThumb is a mess... that’s why it got brutally hacked.

                  Have you made any recent changes to your server? Like moving hosts or editing your .htaccess file? I’ve seen weird things happen with directives in the .htaccess that force a handler for .php files, for example.
                    • 28906
                    • 3 Posts
                    I’ve got exactly the same Problems. Did you find any solution?
                      • 25801
                      • 6 Posts
                      If you’re interested, I posted my solution here to fix phpThumbOf : http://modxcms.com/forums/index.php/topic,61682.msg354424.html#msg354424

                      It’s more of a hack than a fix, but the idea is to look into the logs and see what errors you get.