Hello.
I have left all the default parameters to upload files in DATABASE mode (2M, ...etc). I have no problem to upload small file ( <100ko ) but I have an error when I try to upload bigger ones :
[21-Jun-2006 18:39:34] PHP Fatal error: 401 in H:\wamp\www\mantis\core\database_api.php on line 128
Could someone help me ?
Impossible to upload bigger files ....
Moderators: Developer, Contributor
There's been a lot of discussion about this topic on this BBS. Since I'm working on a project taht involves big multimedia files, I had to vastly increase my server's file upload size limit. IIRC there are about four or five parameters you have to change in php, ftp server, apache, and mantis. Unfortunately, I can't find my notes about what I did. :( Do a search on "upload" and I'm sure you'll find a lot of posts on the subject.
questions about file upload methods
Recently my Mantis server has been giving this error message after file uploads: "SYSTEM WARNING: ftp_put() [function.ftp-put]: Cound not create file." Unfortunately, the error message doesn't give the values of the parameters that routien gets, so it's going to take some fiddling with the code to hunt this down.
I couldn't find any documentation that really explains what the file upload methods DISK, DATABASE, or FTP mean, so I grepped the source code for the various globals set in the preferences file. Interestingly, I could not find anywhere that the various constants $g_file_upload_* are actually used.
Now I'm worried...
I couldn't find any documentation that really explains what the file upload methods DISK, DATABASE, or FTP mean, so I grepped the source code for the various globals set in the preferences file. Interestingly, I could not find anywhere that the various constants $g_file_upload_* are actually used.
Now I'm worried...