I have recently compiled my server with phpSuExec and have PHP 5.2.0 and mySQL 5.0.27-standard
Image uploading is working perfectly before installing phpSuExec but after that it's not working
It's shows "1 uploads were successful." and after that while selecting the Albums and Entering description it never shows the images.
I am using Image Magick.
While I ask for the support from host, they told me that My Script is looking for composite at /usr/local/php/bin/composite whereas the correct path is /usr/bin/composite.
But I re-check my Gallery Configuration and it's set as "/usr/bin" for Path to ImageMagick 'convert' utility and "-antialias" for Command line options for ImageMagick
So what can I do to solve this problem.
Coppermine does not use composite. Maybe you installed a mod such as watermarking that does.
http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#upload_trouble
Ya I have installed the mod and ask for the support to my host regarding the mod is not working and they may have given the reply for the same. But now I have uninstalled the mod.
But the uploads were not working even that and I am sure there is no relationship between that mod and uploads as the mod is temp and only work on image requests.
My gallery link is http://pictures.com.np
and you can check through a test account
user: test
pass: test
http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#upload_trouble
Quote from: Nibbler on July 19, 2007, 04:38:46 PM
http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#upload_trouble
I went through the process but the "Upload troubleshooting" doesn't solve.
Set the upload form configuration for all groups to "Single file uploads only" (set File upload boxes to "1", URI upload boxes to "0" and No. of boxes to "fixed")
Quote from: thapame on July 19, 2007, 04:46:30 PM
I went through the process but the "Upload troubleshooting" doesn't solve.
No, you haven't done as suggested there. You have set the number of file upload fields to "1" (as suggested), but you haven't set the number of URI upload fields to "0" (as suggested), but have set it to "1".
There's a reason why Nibbler told you to re-eread the upload troubleshooting section. Blatantly claiming that you
have done as suggested shows little respect for supporters. Nibbler knows his way around better than you do. If he tells you to review, you should do so extra thoroughly.
Do so now. Karma minus one.
Sorry for the misunderstanding. My mind was in big headache that time and is working on several sites at once so I just didn't read whole the reply carefully and won't repeat the same.
Ok I have set File upload boxes to "1", URI upload boxes to "0" and No. of boxes to "fixed" and tried to upload files again, but there is same problem again and this time display some errors.
================
The file 'albums/userpics/opinionNewBlue~1.gif' can't be inserted in the album
Error executing ImageMagick - Return value: 127
Cmd line :
/usr/binconvert -quality 80 -antialias -geometry 9x9 'albums/userpics/opinionNewBlue~1.gif' 'albums/userpics/thumb_opinionNewBlue~1.gif'
================
Missing on Above
================
The convert program said:
File: /home/pictures/public_html/db_input.php - Line: 421
Searching the board for your error message ("Error executing ImageMagick - Return value: 127") would have told you that this is quite common. The erro messages means: you have specified the wrong path to ImageMagick, or you don't have ImageMagick available on your server. Either specify the correct path to it, or change your "method for resizing images" in coppermine's config from "ImageMagick" to "GD2" (if you actually have GD2 on your server.
well the problem is solved
actually I just forget php is running under safe_mode to On and imagemagick doesnot run on the same
so simply disabled the safe mode and everything is working
thanks