Welcome to Geeklog, Anonymous Friday, April 19 2024 @ 10:07 am EDT

Geeklog Forums

ImageMagic


Status: offline

rtcomp

Forum User
Newbie
Registered: 01/04/04
Posts: 3
confused
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
 Quote

Status: offline

Turias

Forum User
Full Member
Registered: 10/20/03
Posts: 807
$_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.
 Quote

Status: offline

ScurvyDawg

Forum User
Full Member
Registered: 11/06/02
Posts: 523
Here are my settings as well, for your reference.

$_CONF['image_lib'] = 'imagemagick';

$_CONF['path_to_mogrify'] = '/usr/bin/mogrify';

Good Luck
 Quote

Status: offline

rtcomp

Forum User
Newbie
Registered: 01/04/04
Posts: 3
Ok, I see what the problem was. It was the max image/photo size that kept killing it Oops!
 Quote

Status: offline

rtcomp

Forum User
Newbie
Registered: 01/04/04
Posts: 3
$@#$@^$%^# 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
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Quote by rtcomp: Image, Bob.jpg had trouble being resized: 'd:/ImageMagick' is not recognized as an internal or external command,

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
 Quote

All times are EDT. The time is now 10:07 am.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content