forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 upload => Topic started by: RailsAddict on February 14, 2007, 06:38:14 pm

Title: "0 files uploaded".... I've read all the troubleshooting guides
Post by: RailsAddict on February 14, 2007, 06:38:14 pm
Imagamagick works fine
MySql is set up properly
I can browse the gallery fine
I can't upload files :(

I've chmod'd the heck out of the required folders (albums and its children) and all are at 777 at the moment.  I can administer the site, create albums and all of that jazz, but I cannot get file uploads to work.  I've turned debug mode on, checked the Apache log files, and I can't find anything.  The only thing that I can think of is that we are running this site behind Apache's mod_proxy_balancer that is on another machine.  Anyone have any idea if mod_proxy_balancer could be the problem, and if so, what kind of special configuration I have to give it?

Thanks!
Title: Re: "0 files uploaded".... I've read all the troubleshooting guides
Post by: T16 on February 14, 2007, 06:53:17 pm
I have the same problem and I followed this thread --> http://forum.coppermine-gallery.net/index.php?topic=24088.0
and added the following

php_value upload_max_filesize 30M
php_value post_max_size 30M

in the .htaccess file under my domains to increase the PHP upload limit to 32 MB maximum.

It works fine for me.

Title: Re: "0 files uploaded".... I've read all the troubleshooting guides
Post by: RailsAddict on February 14, 2007, 08:07:22 pm
Thanks for the tip, I'll try it out.  I've realised that it's not a problem with mod_proxy_balancer..  I've removed it from behind the balancer and I still have the same problem.  We may have a problem with Apache itself (as in it needs a recompile), but we're not sure.  We've given apache permission for everything, wrote a test php script that writes a file, verified that it works though the command line, but then verified that it kind-of worked through Apache.  It wrote the test file, but it was blank (0 bytes).  Any ideas there?

Thanks,
Scott

Title: Re: "0 files uploaded".... I've read all the troubleshooting guides
Post by: Joachim Müller on February 15, 2007, 07:35:38 am
Quote
I've read all the troubleshooting guides
You may have done so, but you definitely haven't done as suggested in the upload troubleshooting section of the docs (http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#upload_trouble). Re-read it and do exactly as suggested there.