I have the following error message, please help!
The picture 'albums/userpics/10001/Winter.jpg' can't be inserted in the album
Error executing ImageMagick - Return value: -1
Warning: exec(): Unable to fork [c:/ImageMagick/convert -quality 80 -antialias -geometry 133x100 "C:\Inetpub\album\albums\userpics\10001\Winter.jpg" "C:\Inetpub\album\albums\userpics\10001\thumb_Winter.jpg"] in C:\Inetpub\album\include\picmgmt.inc.php on line 131
Is that the path to convert.exe? Did you actually test IM on the command line before trying to run it with CPG? Did you set the environment shortcut variable? Did you set the permissions correctly?
The path is correct. Tested IM on command line and it worked. The permissions were set correctly. Anyway, I don't know what you mean by "set the environment shortcut vatiable?"
It actually worked well but I have this error after set up Watermarking as per instructions at http://forum.coppermine-gallery.net/index.php?topic=1467
Please help.
well, then you have probably messed with the mod (not applied properly). Revert to the original coppermine files and settings (keep a backup of your current files though). Post feedback if this solves your issue. If yes, re-apply the mod and test again.
GauGau
Reverted to the original coppermine files and setting...... same error...
Uninstalled and installed IM..... same problem.....
Will try to uninstalled and installed the whole coppermine program now.... hope it works....
Uninstalled everything but encountered this while trying to reinstall coppermine. Error message:-
Warning: exec(): Unable to fork [c:/ImageMagick/convert images/nopic.jpg albums/userpics/im.gif] in C:\Inetpub\foto\install.php on line 86
Warning: getimagesize(albums/userpics/im.gif): failed to open stream: No such file or directory in C:\Inetpub\foto\install.php on line 87
Warning: unlink(albums/userpics/im.gif): No such file or directory in C:\Inetpub\foto\install.php on line 88
Please help!
the documentation says to CHMOD the include and albums folder 755 or 777. Obviously you can't do that in Windows, but there's an equivalent there as well: you'll have to set the permissions in the file system (and the IIS console as well). This has been asked quite often, please search the board (http://forum.coppermine-gallery.net/search.php) for "chmod AND windows".
GauGau
Im having a similar problem:
Error executing ImageMagick - Return value: 1
Everything was working 100% fine, and no modifications have been made to any files. Im wondering if there is a locking issue with ImageMagic or something? Im on windows 2000 platform.
Also, it seems that some people are still able to upload images, but when i try to upload currently it returns:
----------------------------------
The file 'albums/userpics/33JENN_SING.jpg' can't be inserted in the album
Error executing ImageMagick - Return value: 1
----------------------------------
Thanks in advance for help on this!
your issue is not similar, it's different:
QuoteReturn value: -1
vs.
QuoteReturn value: 1
Basically, this is a matter of server setup, and it's hard to say what went wrong. Just some hints: make sure the pic you're trying to upload is known-good. Make sure the permissions on ImageMagick's convert.exe haven't changed (I_USR and I_FOOBAR both need read/execute permissions). Make sure the path in coppermine's config is correct. If you're webhosted, ask your webserver admin if something has changed. If you're self-hosted, check your logs.
GauGau