forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 upload => Topic started by: decx on January 19, 2007, 09:41:46 pm

Title: "0 files were uploaded" problem
Post by: decx on January 19, 2007, 09:41:46 pm
I just did a new install of Coppermine on a new webhosting account yesterday.  At first it work without any problems, then after a few hours all I would get when I tried to upload was the "0 files were uploaded" error even with a tiny 1024x768 255KB image.  I've even tried doing a completely new, clean install with new DB entries (different prefix) so maybe it's the webhost's (1and1.com) server gone haywire?

The relevant php.ini settings are:
memory_limit = 40M
post_max_size = 8M
upload_max_filesize = 20M
max_input_time = -1
file_uploads = on
upload_tmp_dir = no value

The permissions for all the CPG directories are 755.

The files settings in CPG is a limit of 5120KB and 4096 pixels max.

For troubleshooting the test account is:
user: test2
pw: test2
URL = http://s94664503.onlinehome.us/cpg

Thanks!
Title: Re: "0 files were uploaded" problem
Post by: Joachim Müller on January 20, 2007, 10:57:09 am
I get
Quote
No file was uploaded !

If you have really selected a file to upload, check that the server allows file uploads...

File: /homepages/46/d94664485/htdocs/cpg/db_input.php - Line: 311
even for a small image. Does your server actually allow uploads. Checkk for mod_security. Make sure a temp dir exists.
Title: Re: "0 files were uploaded" problem
Post by: decx on January 20, 2007, 08:37:21 pm
From what I can find the servers aren't running mod_security.  As for uploads, it does accept uploads, as I've also tested a PHP file hosting script on it and uploads work fine there, plus uploading on coppermine did work initially when I installed it.

Hmm... for some reason upload is working again now, I haven't touched anything since yesterday so I guess it's a server issue of some sort.  I guess I'll have to wait and see if it holds up.
Title: Re: "0 files were uploaded" problem
Post by: emmett on March 05, 2007, 07:43:22 pm
Well i m getting this error 0 files were uploaded successfully, in addition , ' sorry there no album to upload the files to' is more than pain in the but, any body who needs to learn this would take forever to master the art of coppermine uploading. This has to be fixed or this application is useless regardless of all these available features. :'(
Title: Re: "0 files were uploaded" problem
Post by: Joachim Müller on March 06, 2007, 07:24:16 am
Start your own thread after having read the upload troubleshooting section of the docs (http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#upload_trouble). Locking.