Upload larger than 50MB failed

trokus1637

New Member
YetiShare User
Jul 12, 2012
6
0
0
When i try to upload files larger than 50MB i got error: "Request Entity Too Large"

What does it means?

Thank you!
 

localhost

New Member
YetiShare User
Jul 7, 2012
47
0
0
www.droidbin.com
Some server setups do not read the php.ini file from the web dir.

In that case you will need to edit the servers php.ini file, and set the max sizes.

If you have access to the "main" php.ini try setting the following values.

upload_max_filesize = "500M"
post_max_size = "500M"
 

trokus1637

New Member
YetiShare User
Jul 12, 2012
6
0
0
php.ini = 1000M

php.ini Server 1000M and also

The server config is correct. I get no error after the upload, it just shows 100% progress and then I come back like to add a file without obtaining a bond.

I apologize for my English, but I translate thanks to google.
 

trokus1637

New Member
YetiShare User
Jul 12, 2012
6
0
0
php.ini = 1000M

php.ini Server 1000M and also

The server config is correct. I get no error after the upload, it just shows 100% progress and then I come back like to add a file without obtaining a bond.

I apologize for my English, but I translate thanks to google.
 

localhost

New Member
YetiShare User
Jul 7, 2012
47
0
0
www.droidbin.com
Did you also go to yoursite.tld/admin/settings.php , aAnd changed the "The max upload filesize for premium users (in bytes)" to: 1048576000

I'm not sure if this is needed, but did you also restart Apache to make it re-read the php.ini file?

If so, and it still does not work, you should maybe wait for Adam (the admin here). He might know what could cause this I'm only a user...
 

blades1627

New Member
YetiShare User
Jul 7, 2012
5
0
0
I have this same problem, I'm still trying to figure it out. I spoke with the admin about it, and we concluded that it is something with the server host. I'm working with somebody to try and fix it, but it seems like the easiest solution is to switch hosts. Does anyone have recommendations on a host where you could easily upload larger files?
 

localhost

New Member
YetiShare User
Jul 7, 2012
47
0
0
www.droidbin.com
Are you "editing" the correct php.ini file?

IE: My own server (Debian Squeeze) does have 3 different php,ini files:

/etc/php5/apache2/php.ini
/etc/php5/cgi/php.ini
/etc/php5/cli/php.ini

I can run websites in 3 different modes!

To liste the php.ini file that you are using use the following command from cli:
php -i

To see what the php.ini is set to you can use:
php -i | grep upload_max_filesize
upload_max_filesize => 600M => 600M

In my case it's set to 600M (as in 600MB)
 

blades1627

New Member
YetiShare User
Jul 7, 2012
5
0
0
Finally fixed it. It had to do with the PHP using PHPFastCGI apparently. Increasing the FastCGI to allow a higher amount fixed it.

No clue if this will work for anybody else.
 

trokus1637

New Member
YetiShare User
Jul 12, 2012
6
0
0
I apologize. I found the problem. it came from either the script or my setup, but I use cloudlfare.com to secure my site and it is this one that was blocking everything.

I really am sorry and thank you for your help.

This is a great work you do.