Posted on: 01/08/04 03:39pm
By: rtcomp
Help please!!!
I keep getting this error:
Warning: copy(z:/www/images/userphotos/tmp.jpg): failed to open stream: No such file or directory in z:wwwsystemclassesupload.class.php on line 522
Couldn't copy z:/www/images/userphotos/tmp.jpg to z:/www/images/userphotos/BigBoss.JPG. You'll need remove both files
Everytime I try to upload a pic.
Here is my config.php:
$_CONF['image_lib'] = 'x:/web/ImageMagick/convert.exe';
and
$_CONF['path_to_mogrify'] = 'z:/www/images/userphotos';
What am I doing wrong, PLEASE!!!
email: rtcomp@hotpop.com
Re:ImageMagic
Posted on: 01/08/04 03:52pm
By: Turias
$_CONF['image_lib'] should be either 'imagemagick' or 'netpbm', depending on what is installed on your webserver. It should not be a path.
If you have imagemagick installed, $_CONF['path_to_mogrify'] should be the path to the actual executable. My linux box has it at '/usr/bin/mogrify'. It will be different for your machine. Find the path to mogrify and enter it there.
Re:ImageMagic
Posted on: 01/08/04 08:41pm
By: ScurvyDawg
Here are my settings as well, for your reference.
$_CONF['image_lib'] = 'imagemagick';
$_CONF['path_to_mogrify'] = '/usr/bin/mogrify';
Good Luck
Re:ImageMagic
Posted on: 01/09/04 11:54am
By: rtcomp
Ok, I see what the problem was. It was the max image/photo size that kept killing it
Re:ImageMagic
Posted on: 01/09/04 12:04pm
By: rtcomp
$@#$@^$%^# I incressed the file size but now my error is:
Image, Bob.jpg had trouble being resized: 'd:/ImageMagick' is not recognized as an internal or external command,
That is the file convert.exe Oh this is going to drive me nuts.
Bob
Re:ImageMagic
Posted on: 01/09/04 02:12pm
By: Dirk
[QUOTE BY= rtcomp] Image, Bob.jpg had trouble being resized: 'd:/ImageMagick' is not recognized as an internal or external command,[/QUOTE]
Looks like you still haven't set the path to mogrify properly. Compare with the examples the others posted above - you need to include the name of the mogrify executable in your path, not only point it to the directory.
bye, Dirk