Upload problems with files over 1 MB
Submitted by jeffleeismyhero on Tue, 10/23/2007 - 20:18.
When I try to upload a file over 1 MB (actually between 900k and 1MB) I get the following error:
Failed to import file '/tmp/phpEssUb6' to the file repository (unique file id: f1d4dd0f36a974003e6f71b174140097e3a78868)
My max upload is set at 80MB and other applications do not have a problem uploading files. ProjectPier shows my max upload at 80MB but it seems that there is a problem getting them into the database.
Is this a known problem?
Any solutions?

Are you saving to the database or the file system?
Is your upload directory chmod'd to 777?
Is /tmp full?
Saving to the database.
What is the value of memory_limit in php.ini?
max_execution_time = 300
max_input_time = 300
memory_limit = 80M
Switching to MySQL 5.0 seems to have eliminated this issue.
For others,
You can try modifying your my.ini file (mysql config) with the following settings:
max_allowed _packet = 100M #Or whatever you wish the size to be; in MB
* Note without the space between "allowed" and the second '_'.
** Text format issue.