BUG: Large file, empty field |
[eluser]Alex van der Vegt[/eluser]
It looks like everything is going fine in the log, except the execution times when i upload a large file(15mb) the execution time is only a few seconds more as a small file (2mb). But when i'm submitting my form i really need to wait a lot more as the log file said.
[eluser]xwero[/eluser]
And you are sure the max_execution_time is the time you added? You can check it quick with ini_get('max_execution_time') if you want more debugging information you can use var_dump(debug_backtrace()); If you can't find the problem after studying those outputs my resources are used up and i can't help you.
[eluser]Alex van der Vegt[/eluser]
I'm sure the max_execution_time is added here is a link to my phpinfo(); Link for phpinfo(); And i'm sure this is correct, because i can upload 15mb files fine when the code is not in ci. I've tested this with this simple code: Code: <?php When i put this code in any controller it isn't working just as the file uploading class. They are both working fine till a max of 8mb and i really need 15mb working.
[eluser]Vince Stross[/eluser]
have you tried to increase your $config['max_size'] to something above 15mb? As you have it right now it is EXACTLY 15MB. Is your file a litle more than that? try to change that to 20MB... just a thought - not sure if it holds any merit. ![]()
[eluser]Alex van der Vegt[/eluser]
Yes i've tried it also without a max_size but still the same error.
[eluser]Fatih[/eluser]
Do you have any solution? Please share. Because I have the same problem ![]()
[eluser]Alex van der Vegt[/eluser]
no i don't have a solution. when you want to upload larger files you need to do it outside CI I'm using CI 1.7 btw
[eluser]Fatih[/eluser]
Mattrick, I guess the problem is in validation class. Because my code is corrupted in validation check stage. I said to use version 1.6.3 of CI -I mean the ex validation class-, the problem is exist. It should be a solution in CI. Please help us... |
Welcome Guest, Not a member yet? Register Sign In |