coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 upload => Topic started by: stanny on February 27, 2006, 03:08:48 PM

Title: Upload problem on CPG1.4.4 / IIS6 / PHP 5.0
Post by: stanny on February 27, 2006, 03:08:48 PM
I am sorry if I did not see the right solution in the whole Forum but I have the following problem ...

When I try to upload images I become those warings ...

\include\picmgmt.inc.php

Notice line 205: Undefined index: OS
Warning line 210: exec() [function.exec]: Unable to fork [c:/ImageMagick/convert -quality 80 -antialias -geometry 150x200 "D:\WWWServer\PHP\cpg144\.\albums\edit\mHTTP_temp_64405029.jpg" "D:\WWWServer\PHP\cpg144\.\albums\edit\preview_0e6370bd.jpg"]

Warning line 219: shell_exec() [function.shell-exec]: Unable to execute 'c:/ImageMagick/convert -quality 80 -antialias -geometry 150x200 "D:\WWWServer\PHP\cpg144\.\albums\edit\mHTTP_temp_64405029.jpg" "D:\WWWServer\PHP\cpg144\.\albums\edit\preview_0e6370bd.jpg" 2>&1'

Warning line 225: unlink(./albums/edit/preview_0e6370bd.jpg) [function.unlink]: No such file or directory

\include\functions.inc.php
Notice line 2662: Undefined variable: i

Can anyone help me?

Title: Re: Upload problem on CPG1.4.4 / IIS6 / PHP 5.0
Post by: Joachim Müller on March 01, 2006, 09:15:49 AM
Use GD instead of ImageMagick then.
Title: Re: Upload problem on CPG1.4.4 / IIS6 / PHP 5.0
Post by: thrdgeek on July 14, 2006, 08:33:25 PM
GD is not support with PHP 5 on a Windows server.
Title: Re: Upload problem on CPG1.4.4 / IIS6 / PHP 5.0
Post by: Joachim Müller on July 15, 2006, 01:16:51 AM
Who says so?