We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 19471
    • 6 Posts
    Hello, I’m working with revo and from sometime thumbpics for tv variables just got broken. If I add for document a new tv picture, it works and show thumb after, but when I reload document I see broken pic under tv picpath. Let me show the log:

    [2010-11-18 13:08:27] (ERROR @ /home/n/naroyru/public_html/core/model/phpthumb/phpthumb.functions.php : 474) PHP warning: shell_exec() [<a href=’function.shell-exec’>function.shell-exec</a>]: Unable to execute ’&quot;/usr/bin/convert&quot; -help 2&gt;&amp;1’

    [2010-11-18 13:08:27] (ERROR @ /home/n/naroyru/public_html/core/model/phpthumb/phpthumb.functions.php : 474) PHP warning: shell_exec() [<a href=’function.shell-exec’>function.shell-exec</a>]: Unable to execute ’&quot;/usr/bin/convert&quot; logo: -resize 1x &quot;/home/n/naroyru/public_html/connectors/system/pThumb6ckQBV&quot; 2&gt;&amp;1 2&gt;&amp;1’

    [2010-11-18 13:08:27] (ERROR @ /home/n/naroyru/public_html/core/model/phpthumb/phpthumb.functions.php : 474) PHP warning: shell_exec() [<a href=’function.shell-exec’>function.shell-exec</a>]: Unable to execute ’&quot;/usr/bin/convert&quot; -background &quot;#FFFFFF&quot; -resize 80x60 &quot;/home/n/naroyru/public_html/photos/brands/Toys/besttoy.jpg[0]&quot; jpeg:&quot;/home/n/naroyru/public_html/connectors/system/pThumb6ckQBV&quot; 2&gt;&amp;1 2&gt;&amp;1’

    [2010-11-18 13:08:27] (ERROR @ /home/n/naroyru/public_html/core/model/phpthumb/phpthumb.functions.php : 474) PHP warning: shell_exec() [<a href=’function.shell-exec’>function.shell-exec</a>]: Unable to execute ’&quot;/usr/bin/convert&quot; logo: -resize 1x &quot;/home/n/naroyru/public_html/connectors/system/pThumbqxdt8K&quot; 2&gt;&amp;1 2&gt;&amp;1’

    [2010-11-18 13:08:27] (ERROR @ /home/n/naroyru/public_html/core/model/phpthumb/phpthumb.functions.php : 474) PHP warning: shell_exec() [<a href=’function.shell-exec’>function.shell-exec</a>]: Unable to execute ’&quot;/usr/bin/convert&quot; -background &quot;#FFFFFF&quot; -resize 80x60 &quot;/home/n/naroyru/public_html/photos/brands/Toys/besttoy.jpg[0]&quot; jpeg:&quot;/home/n/naroyru/public_html/connectors/system/pThumbqxdt8K&quot; 2&gt;&amp;1 2&gt;&amp;1’

    This is holy crap guys.. why this mechanism got broken? We neen to add pictures for documents, and now we can’t see what we adding... Please help.

    P.s: Ver 2.0.3.
      • 9677
      • 3 Posts
      Hi all,

      i have this problem too.
      I found phpthumb.functions.php use exec(), system(), passthru(), shell_exec() functions to work with imagemagic.
      On my shared hosting aren’t this functions disabled, but i haven’t access to execute shell commands.
      [2010-11-26 11:54:39] (ERROR @ /www/sites/6/site6376/public_html/parkety/core/model/phpthumb/phpthumb.functions.php : 462) PHP warning: passthru() [<a href=’function.passthru’>function.passthru</a>]: Unable to fork [which convert 2&gt;&amp;1]

      Solutions is maybe use imagemagic php api (imagick) for generate thumbnails or for resizing images.

      PHP Version 5.2.6-1+lenny9
      GD Support enabled
      GD Version 2.0 or higher
      FreeType Support enabled
      FreeType Linkage with freetype
      FreeType Version 2.3.7
      T1Lib Support enabled
      GIF Read Support enabled
      GIF Create Support enabled
      JPG Support enabled
      PNG Support enabled
      WBMP Support enabled

      imagick module enabled
      imagick module version 2.1.1-rc1
      imagick classes Imagick, ImagickDraw, ImagickPixel, ImagickPixelIterator
      ImageMagick version ImageMagick 6.3.7 08/09/09 Q16 http://www.imagemagick.org
      ImageMagick copyright Copyright (C) 1999-2008 ImageMagick Studio LLC
      ImageMagick release date 08/09/09
      ImageMagick Number of supported formats: 179