Large file upload
Permalink
So I'm trying to upload a file. When the script runs with a small file, no problems. When the script is run with a large file, the database connection times out by the time the file is done uploading, and i'm getting an ADODB connection error when I get back to running my php script. Is there a way to re-initialize this connection?
I've made changes to increase the memory size, but it still doesn't allow file uploads, even ones large enough to time out, but small enough to fit in memory.
Are you getting the same error as before or are you now getting a different error?
Is the script timing out?
Maybe you need to increase php max_execution_time?
Is the script timing out?
Maybe you need to increase php max_execution_time?
The script isn't timing out, when I just do the file upload and do NOTHING afterwards then nothing breaks, but the moment I touch any concrete5 functions the script throws an error saying that the ADODB connection has expired.
You'll want to have larger values than the example above. Typically, 128M is ideal.