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?

 
PineCreativeLabs replied on at Permalink Reply
PineCreativeLabs
It sounds like you may need to increase the PHP memory limit. This can be done by editing the .htaccess file.
memory_limit = 32M
upload_max_filesize = 24M
post_max_size = 32M

You'll want to have larger values than the example above. Typically, 128M is ideal.
NovakInc replied on at Permalink Reply
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.
WebcentricLtd replied on at Permalink Reply
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?
NovakInc replied on at Permalink Reply
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.