hola a tots,<br><br>l'altre dia vaig muntar un petit servidor a casa i em vaig posar a instal·lar el gallery2. Tot va anar bé fins que va arribar el moment d'activar tots el mòduls corresponents. Amb el mòdul de l'ImageMagick (que també vaig instal·lar i que no va donar errors) em surt aquest missatge quan intento activar-lo:
<br><br><br><div class="gbBlock">
<h3>
Debug output (1 failed test)
<span id="AdminImageMagick_trace-toggle" class="giBlockToggle gcBackground1 gcBorder2" style="border-width: 1px;" onclick="BlockToggle('AdminImageMagick_debugSnippet', 'AdminImageMagick_trace-toggle')">-</span>
</h3>
<p class="giDescription">
We gathered this debug output while testing your ImageMagick binaries.
If you read through this carefully you may discover the reason why your
ImageMagick binaries failed the tests. </p>
<pre id="AdminImageMagick_debugSnippet" class="gcBackground1 gcBorder2" style="border-style: dotted; border-width: 1px; padding: 4px; display: block;">is_dir(/usr/local/bin/)<br>Loading plugin imagemagick<br>imagemagick plugin successfully instantiated
<br>Check the version of the imagemagick plugin<br>The version of the imagemagick plugin is ok<br>getcwd()<br>chdir(/home/gallery2/tmp/)<br>file_exists(/usr/local/bin/gm)<br>is_executable(/usr/local/bin/gm)<br>file_exists(/usr/local/bin/gm)
<br>Executing: ( "/usr/local/bin/gm" "identify" <br>"/usr/share/gallery2/modules/imagemagick/data/test.gif" )<br>2>/home/gallery2/tmp/g2dbgK6Kp2j<br>getParameter exec.expectedStatus for core plugin
<br>file_exists(/home/gallery2/tmp/g2dbgK6Kp2j)<br>filesize(/home/gallery2/tmp/g2dbgK6Kp2j)<br>unlink(/home/gallery2/tmp/g2dbgK6Kp2j)<br>Regular Output:<br>/usr/share/gallery2/modules/imagemagick/data/test.gif GIF 50x50+0+0
<br>PseudoClass 8c 8-bit 232.0 0.000u 0:01<br>Error Output:<br>Status: 0 (expected 0)<br>file_exists(/usr/local/bin/gm)<br>is_executable(/usr/local/bin/gm)<br>tempnam(/home/gallery2/tmp/, imgk_)<br>file_exists(/usr/local/bin/gm)
<br>Executing: ( "/usr/local/bin/gm" "convert" "-size" "200x200" <br>"-geometry" "200x200" <br>"/usr/share/gallery2/modules/imagemagick/data/test.gif"
<br>"/home/gallery2/tmp/imgk_jSZqHr" ) 2>/home/gallery2/tmp/g2dbg0rMdAz<br>getParameter exec.expectedStatus for core plugin<br>file_exists(/home/gallery2/tmp/g2dbg0rMdAz)<br>filesize(/home/gallery2/tmp/g2dbg0rMdAz)
<br>unlink(/home/gallery2/tmp/g2dbg0rMdAz)<br>Regular Output:<br>Error Output:<br>Status: 0 (expected 0)<br>unlink(/home/gallery2/tmp/imgk_jSZqHr)<br>file_exists(/usr/local/bin/gm)<br>is_executable(/usr/local/bin/gm)<br>file_exists(/usr/local/bin/gm)
<br>is_executable(/usr/local/bin/gm)<br>tempnam(/home/gallery2/tmp/, imgk_)<br>Executing: ( "/usr/local/bin/gm" "composite" "-geometry" "+0+0" <br>"/usr/share/gallery2/modules/imagemagick/data/test.jpg"
<br>"/usr/share/gallery2/modules/imagemagick/data/test.gif" <br>"/home/gallery2/tmp/imgk_hywbp7" ) 2>/home/gallery2/tmp/g2dbgoDIw7E<br>getParameter exec.expectedStatus for core plugin<br>file_exists(/home/gallery2/tmp/g2dbgoDIw7E)
<br>filesize(/home/gallery2/tmp/g2dbgoDIw7E)<br>fopen(/home/gallery2/tmp/g2dbgoDIw7E, r, 0)<br>feof(Resource id #104)<br>fgets(Resource id #104, 4096)<br>feof(Resource id #104)<br>fgets(Resource id #104, 4096)<br>feof(Resource id #104)
<br>fclose(Resource id #104)<br>unlink(/home/gallery2/tmp/g2dbgoDIw7E)<br>Regular Output:<br>Error Output:<br>/usr/local/bin/gm composite: Missing an image filename.<br>Status: 1 (expected 0)<br>file_exists(/home/gallery2/tmp/imgk_hywbp7)
<br>unlink(/home/gallery2/tmp/imgk_hywbp7)<br>chdir(/usr/share/gallery2) </pre>
</div><br>Agraïria que algú m'expliqués com ho puc arreglar, ja que no ho he sapigut fer jo.<br>Gràcies.<br><br>-- <br><br>És indiferent ensopegar dues vegades amb la mateixa pedra que amb dues de diferents.<br>