You are here: Re: Strange file upload problem « PHP « IT news, forums, messages
Re: Strange file upload problem

Posted by Erwin Moller on 11/25/05 14:19

daveholden60@hotmail.com wrote:

> I have Googled the crap out of this problem and I cannot find a
> solution anywhere. Hopefully someone will be able to help me out with
> it. I have a RH8 server running Apache 2.0.54 and PHP 5.0.2 that
> refuses to process HTTP file uploads of JPG files from a digital
> camera. It always returns with an error 3 (incomplete file) in the
> ["userfile"] array. The array contains the correct file name in the
> ["name"] field but the ["error"] field contains 3 and the ["size"]
> field contains 0. The file is obviously being uploaded from my browser
> to the server because of the delay after hitting the submit button,
> plus the $_FILES array does have the file name in it.
>
> I have tried the following steps to correct this issue:
>
>
> 1) Checked and rechecked httpd.conf settings including subordinate
> php.config file (which does not exist in my install)
>
> 2) Checked php.ini settings. File uploading is turned on and max file
> size is set to 8M
>
> 3) Checked permissions on the /tmp folder to make sure that they are
> set to 0777
>
> 4) Checked the error logs and they contain the usual batch of
> favicon.ico errors and startup and shutdown messages but no errors
> coming from the scripts that are doing the file requesting or
> processing.
>
> 5) Set the MAX_FILE_SIZE on the form to an appropriately large value.
>
> 5) Checked the error logging to ensure that it is turned on and set to
> ALL.
>
> I am going crazy here because all of this worked fine on the last
> server that these scripts were installed on. Any help or suggestions
> would be appreciated.
>
> Thank you
>
> Dave Holden


Well, this may not be a great help, but I switched back to Apache 1 when
trying to get POSTGRESQL and PHP running on Debian.
:-/
Worked like a charm. ;-)
Apache 2 gave me a headache.

Regards,
Erwin Moller

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация