We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 1169
    • 312 Posts
    Regarding the ~ in the URL.

    I remember a thread but am unable to find it and I THINK not sure but it had a solution changing a line in phpthumb.
    Afraid it is a bit vague.

    Have tried searching to no avail.

    Hope you find the answer.

    As you say more a phpthumb problem than MODx

    Maybe try phpthumb forum.

    Regards
      DEVELOPMENT ENV:- Ubuntu 12.04 | MODx Revolution 2.2.8 | LAMP 2i Apache 2.2.22 | Php 5.3.10 | Mysql 5.5.31 MySQL client version: 5.5.31
      • 17249 ☆ A M B ☆
      • 165 Posts
      Im getting the same error code using the Gallery addon Template Variables plugin with Revolution 2.0.2
      my setup doesn’t have ~ involved in the url. (though im using friendly URLs)

      Other thumbs generated by the Gallery addon are working good except the Template variables plugin.

      Im using Windows XP Server 2003, PHP Version 5.2.13
      Can’t find any reference to ImageMagick

      How do i know if imagemagick is installed?
      If so, i think i will need to update the system property related to the imagemagick path in the manager. its just empty now.

      GD seems to be enabled:

      GD Support enabled
      GD Version bundled (2.0.34 compatible)
      FreeType Support enabled
      FreeType Linkage with freetype
      FreeType Version 2.1.9
      T1Lib Support enabled
      GIF Read Support enabled
      GIF Create Support enabled
      JPG Support enabled
      PNG Support enabled
      WBMP Support enabled
      XBM Support enabled



      (ERROR @ /assets/components/gallery/connector.php) [Gallery] Error outputting thumbnail:
      OutputThumbnail() failed because !is_resource($this->gdimg_output) in file "phpthumb.class.php" on line 557
      
        • 22840
        • 1,572 Posts
        Im also having this error:
        [2010-09-29 06:05:16] (ERROR @ /~campmain/connectors/system/phpthumb.php) Error outputting thumbnail:
        OutputThumbnail() failed because !is_resource($this->gdimg_output) in file "phpthumb.class.php" on line 557


        This is a clean install, no addons installed and no edits done.

        Using Site 5 for hosting this one and meets all the server requirements including GD and Imagemagic
          • 28215
          • 4,149 Posts
          More than likely because of the ~ in your URL.
            shaun mccormick | bigcommerce mgr of software engineering, former modx co-architect | github | splittingred.com
            • 22840
            • 1,572 Posts
            Is there any way round this Shaun, not bothered for me but we are starting to roll out Revo on all new client sites which are all built on domains with ~ in them before we transfer the hosting over. We normally get the client to populate the content so this may be a issue for some.

            Thanks
              • 17249 ☆ A M B ☆
              • 165 Posts
              Installed ImageMagick, updated the imagemagick property in the manager and restarted the server.
              Still the error persists. Any additional help to solve this?

              Seems to be im only getting the error from the Gallery Template Variables.


              [2010-10-02 22:09:39] (ERROR @ /assets/components/gallery/connector.php) [Gallery] phpThumb was unable to generate a thumbnail for: mypath\modx\core\cache\phpthumb\phpThumb_cache_modx.mysite.com_src74c74490e41406f46af8b20d7dfd198d_para700c633d06d539557e38f5e26a3d794_dat0.jpeg
              [2010-10-02 22:09:39] (ERROR @ /assets/components/gallery/connector.php) [Gallery] Error outputting thumbnail:
              OutputThumbnail() failed because !is_resource($this->gdimg_output) in file "phpthumb.class.php" on line 557
                • 17249 ☆ A M B ☆
                • 165 Posts
                Can someone confirm this is not an error only affecting sites with ~ in it as in my case?
                If you need more info to replicate the problem let me know.
                  • 28215
                  • 4,149 Posts
                  Can you guys file this in http://bugs.modx.com/ so it doesnt get lost in the forums?

                  And upgrade to 2.0.3 before filing, it might have been fixed in there. tongue
                    shaun mccormick | bigcommerce mgr of software engineering, former modx co-architect | github | splittingred.com
                    • 17249 ☆ A M B ☆
                    • 165 Posts
                    Just did a fresh install to try this with 2.03 and still problem persists.
                    here’s the entry:

                    http://bugs.modx.com/browse/ADDON-172

                    Please excuse in advance if was not submitted correctly or incomplete (this was my first bug entry) smiley

                    Regards and thanks for the help.
                    Pablo.
                      • 5430
                      • 247 Posts
                      Anybody got new insites on this? Running 2.0.7 and this problem persists. ImageMagick and GD are running, but no thumbnails anywhere. Even double checked the ImageMagick path with my host. I know this is an old topic, but hoping someone has found a solution.