This is driving me nuts. I have Googled the sh*t out of it to no avail. Perhaps yuo kind folks will have a solution for me.
I am trying to upload JPG pictures to an online catalog app and it is not working. I get a error code of 3, which means that the upload was supposedly incomplete. The "name" element of the array does contain the correct file name so I know that an upload is at least attempted. My timeout values and max size values, including the one in the hidden html field are all set to suitably large values. I have tried it on both Firefox and IE browsers and it does the same thing. There are no errors being logged other than the usual 404 on the favicon.ico and startup and shutdown messages. I do have error logging cranked up to ALL.
My environment is
Redhat 8 (or maybe 9 - i can't remember)
Apache 2.0.54
PHP 5.0.2
DAV/2
Configure command is
./configure' '--with-apxs2=/usr/local/apache2/bin/apxs' --with-mysql=/usr/lib/mysql
So far I have tried:
1) Checking applicable values in httpd.conf, including the secondary php config file (php.conf), which my installation does not have.
2) Setting applicable values in php.ini and making sure that php is actually using the correct version of this file by verifying with phpinfo(). Uploading is turned on and limit is set to 8M.
3) Checked permissions on /tmp folder to ensure that they are O777.
4) Put a suitably large <limitRequestBody> directive in the Virtual Server container for the site I am working on.
5) Checked the <limit> directive in the applicable directory container to make sure that it allows PUT and MKCOL requests.
😕 This driving me crazy since nothing that I try seems to fix this stupid problem. Everything else on the server works great, even webDAV.