0 uploads were successful. (not similar) 0 uploads were successful. (not similar)
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

0 uploads were successful. (not similar)

Started by jb1, February 12, 2006, 02:23:52 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

jb1

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


jb1

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


Nibbler

I get

Failed to create directory /home/wizardz/albums//home/wizardz/albums/userpics/10002

Check your albums and userpics paths in config are valid.

jb1

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

Nibbler

All http uploads go via /tmp, php scripts don't have control over that part of the process. I'll mark this as solved.