large file attachment not working - 05/12/2004 10:40 PM
Today I encountered an issue where a user tried to upload a 1.18MB powerpoint file to a post. When the user clicks the "Ok, Submit" button, the browser immedietly (within less than a second) goes to an error "The page cannot be displayed" screen.
I've increased the attach file size to 100000000 bytes so the system should allow the file to be added. I can upload smaller PPT files so the format is accepted. Note: from some testing I did, it seems like 500K is the magic size barrier for any uploads. If I in config.inc I set my maximum upload size to something really small (e.g. 5 bytes) and try to upload a file less than 500K I get the expected UBB error message saying the file is too large and to try again. If I then try to upload a file larger than 500K I get the strange "The page cannot be displayed" browser error.
I'm not sure what's going on, but if anyone has any thoughts, I'd appreciate it.
I changed my php.ini file as follows and rebooted by computer.
max_execution_time now at 3000 seconds
post_max_size now at 100M
upload_max_filesize at 100M
Someone on another forum suggested adjusting my upload size in my.cnf, but I'm not sure where that goes> The file is as follows:
[mysqld]
datadir=/var/lib/mysql
socket=/var/lib/mysql/mysql.sock
[mysql.server]
user=mysql
basedir=/var/lib
[safe_mysqld]
err-log=/var/log/mysqld.log
pid-file=/var/run/mysqld/mysqld.pid
Finally, I'm running 6.4.1. The site is behind a firewall so unfortunatly you won't be able to see the error.
I'd appreciate any help suggestions. This is pretty frustrating.
I've increased the attach file size to 100000000 bytes so the system should allow the file to be added. I can upload smaller PPT files so the format is accepted. Note: from some testing I did, it seems like 500K is the magic size barrier for any uploads. If I in config.inc I set my maximum upload size to something really small (e.g. 5 bytes) and try to upload a file less than 500K I get the expected UBB error message saying the file is too large and to try again. If I then try to upload a file larger than 500K I get the strange "The page cannot be displayed" browser error.
I'm not sure what's going on, but if anyone has any thoughts, I'd appreciate it.
I changed my php.ini file as follows and rebooted by computer.
max_execution_time now at 3000 seconds
post_max_size now at 100M
upload_max_filesize at 100M
Someone on another forum suggested adjusting my upload size in my.cnf, but I'm not sure where that goes> The file is as follows:
[mysqld]
datadir=/var/lib/mysql
socket=/var/lib/mysql/mysql.sock
[mysql.server]
user=mysql
basedir=/var/lib
[safe_mysqld]
err-log=/var/log/mysqld.log
pid-file=/var/run/mysqld/mysqld.pid
Finally, I'm running 6.4.1. The site is behind a firewall so unfortunatly you won't be able to see the error.
I'd appreciate any help suggestions. This is pretty frustrating.