My webhost is after moving my account to a new server running php5 (the old one ran php4). Since then coppermine has been unable to upload photos as such.
In the file select, files can be selected and uploaded, but when attempting to place in album it says files cannot be placed.
If i try upload from URL it does not work at all.
Checked permissions for upload folder and they are set correctly. Webhost is unable to see much of a solution
Any ideaS?
Yes: do exactly as suggested in the "upload troubleshooting" section of the docs. Continue reading the "asking for support on upload issues" section. Do as suggested there.
OK, I have followed the steps in the sticky, in debug mode it gave me the following errors:
Any ideas from these....?
/upload.php
* Notice line 1972: Undefined variable: file_failure_array
* Notice line 1973: Undefined variable: URI_failure_array
* Notice line 1974: Undefined variable: zip_failure_array
/include/picmgmt.inc.php
* Notice line 205: Undefined index: OS
* Warning line 225: unlink(./albums/edit/preview_45e3abfb.jpg) [function.unlink]: No such file or directory
/include/functions.inc.php
* Notice line 2683: Undefined variable: i
/include/picmgmt.inc.php
* Notice line 205: Undefined index: OS
* Warning line 225: unlink(albums/userpics/thumb_greengrass02_-_Copy.jpg) [function.unlink]: No such file or directory
Nope, you haven't done as suggested. In fact, you did quite the opposite of what you're supposed to do, as nobody needs your notices - you're not even supposed to turn notices_display on.
Do exactly as I suggested in my initial reply on this thread.
Didnt turn notices display or anythin of its sort on- merely went into debug mode and followed steps...
I'll go back to the sticky and try find some (invisible) step that I have missed..... ??? ???
OK, turned out I didnt select single file upload only. Seems like an Image Magick issue,
The file 'albums/userpics/vbulletin3_logo_white.gif' can't be inserted in the album
Error executing ImageMagick - Return value: 127
Cmd line :
/usr/bin/convert -quality 80 -antialias -geometry 100x23 'albums/userpics/vbulletin3_logo_white.gif' 'albums/userpics/thumb_vbulletin3_logo_white.gif'
The convert program said:
sh: /usr/bin/convert: No such file or directory
File: /home/s27769/public_html/photos/db_input.php - Line: 402
To me it seems like file permissions are odd somewhere- although they are all set to 777 where appropriate in albums?
It means either you don't have imagemagick on the server or the path is wrong. Try switching to GD2 in config.
OK it now works after switching to GD2 :D