Cannot uploade after upgrade to CPG 1.4.15 Cannot uploade after upgrade to CPG 1.4.15
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

Main Menu

Cannot uploade after upgrade to CPG 1.4.15

Started by Mimer, February 02, 2008, 03:41:15 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Mimer

Hi

I've upgradet to CPG 1.4.15 and I get this message when I try to HTTP uploade:
The file 'albums/userpics/10002/a7502_big.jpg' can't be inserted in the album

Error executing ImageMagick - Return value: 127

Cmd line :
'/usr/local/bin/convert -quality 80 -antialias -resize x60 -crop 60x60+10+0 -unsharp 0.5x0.707106781187+1.2+0.03 '\''albums/userpics/10002/a7502_big.jpg'\'' '\''albums/userpics/10002/mini_a7502_big.jpg'\'''

The convert program said:
sh: /usr/local/bin/convert -quality 80 -antialias -resize x60 -crop 60x60+10+0 -unsharp 0.5x0.707106781187+1.2+0.03 'albums/userpics/10002/a7502_big.jpg' 'albums/userpics/10002/mini_a7502_big.jpg': No such file or directory

File: /mounted-storage/home10/sub001/sc15863-WIQP/www/gal_fa/db_input.php - Line: 451

I've searched threads, but found no solution.
I've checked path to ImageMagick, permissions to folders and php settings. All should be OK.
I have another CPG 1.4.14 on same host, not upgradet yet, that works fine.

Mimer  8)

Coppermine install: http://fjotte.com/gal_fa/
Forum install:
Coppermine version: cpg1.4.15 + Strams MOD pack for 1.4.15 + Pluginpack
Forum version:
Test user account: test / test

Nibbler

This is caused by a bug introduced in the 1.4.15 update. Check the announcements thread tomorrow for the resolution.

Mimer

Deleted all lines containing the code
$cmd = escapeshellarg($cmd);
in include/picmgmt.inc.php and include/imageObjectIM.class.php

HTTP uploade and Batch add using ImageMagick works again  :)

I did the same in include/picmgmt.inc.php from Strams MOD pack and uploade works fine.

Mimer  8)

(Sorry for the double post  :-[)