Welcome Guest, Not a member yet? Register   Sign In
No POST data exists when uploading file bigger 8MB
#1

[eluser]ariel_esp[/eluser]
CI 3.0
No POST data exists when uploading file bigger 8MB
smaller files. work fine.

CI 2.1.3 ... work fine

Simple form upload... work fine ....
#2

[eluser]boltsabre[/eluser]
Look into your php.ini file (or phpinfo() if you cannot access it), I'm pretty sure that there is a max upload limit, you'll have to either change it manually in the php.ini file, or if not, I'm pretty sure there is an override you can do either in the .htaccess file or in php itself.

Sorry, cannot remember exactly what it is, just remember this from other forum posts, but it gives you a starting point, you'll now easily be able to find what you need to fix this on google!

Good luck.
#3

[eluser]ariel_esp[/eluser]
I already checked... like I write.... work fine with simple forms upload ....and on CI 2.1.3 ...
I already tested localhost and production server....

are there some different config or bug on CI 3 ????!?
#4

[eluser]TheFuzzy0ne[/eluser]
Are you using a free host? What's the maximum file size you're allowed to upload? You should be able to see that in the phpinfo() output - as boltsabre said...

At the top of your index.php file, you could try this:
Code:
ini_set('post_max_size', '16M');
ini_set('upload_max_filesize', '16M');

If that doesn't help, please tell us the values of these settings in the phpinfo() output, your problem is most likely there.
#5

[eluser]dinisptc[/eluser]
i am having the same problem

i inserted this code below at the index.php


ini_set('post_max_size', '11M');
ini_set('upload_max_filesize', '10M');

its not overriding the php.ini

i added the same two files to the .htaccess and the app crashes

which part of phpinfo(); you need to see ?




Theme © iAndrew 2016 - Forum software by © MyBB