I know that there have been a few topics on the boards about these similar problems - but I've read through them - and am still having problems.
Whenever I try to upload a photo from browser, no matter how big or small it is, coppermine always reports back 0 uploads were successful.
I've turned on all of the debugging as per FAQ, but couldn't find any useful information
Phpinfo shows:
file_uploads On On
post_max_size 8M 8M
upload_max_filesize 7M 7M
Host has GD, IM installed.
Fixed
Any help would be great.
-jb
Please set uploads to single file mode as suggested.
http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#upload_trouble
Sorry, fixed.
Error:
Quote
No file was uploaded !
If you have really selected a file to upload, check that the server allows file uploads...
File: /home/.bellboy/wizardz/souldier.org/contiki2/db_input.php - Line: 300
I get
Failed to create directory /home/wizardz/albums//home/wizardz/albums/userpics/10002
Check your albums and userpics paths in config are valid.
Fixed.
It was a problem with the permissions on the "/tmp" directory on the actual server itself.
The webhost has very strict security settings.
Maybe the script should incorporate a user defined temp directory to stop similar problems? I don't know how often you would see this.
Thanks for your quick response Nibbler,
-jb1
All http uploads go via /tmp, php scripts don't have control over that part of the process. I'll mark this as solved.