Page 1 of 1
[vQmod] Increase File Upload Limits
Posted: Wed Aug 10, 2011 12:27 am
by uksitebuilder
This mod increases the limits on File Uploading to approx 2mb file size / 1000px X 1000px
Tested on 1.5.x
Re: In response to this post
Posted: Sat Oct 29, 2011 5:26 am
by iclogic
[ Json Hillz ]
I think that the code is going to be wonderful, the only issue I have is, Some of us are not fully knowledgeable about how or where you install this script. So if you could, maybe you could reply, with some form of a response as to where am I Navigating to. Also in addition, I have the script, but where am I placing this code, In what file, and what line should it go in.
Re: [vQmod] Increase File Upload Limits
Posted: Sat Oct 29, 2011 3:12 pm
by uksitebuilder
All scripts in this vqmods forum require that you have vqmod installed.
If you have previously edited your site files manually then vqmod will probably not work for you
Download vqmod from vqmod.com (get the opencart version)
Once installed you put these vqmod scripts / files in to the vqmod/xml folder
Re: [vQmod] Increase File Upload Limits
Posted: Thu Mar 15, 2012 5:02 pm
by erselshabani
I just installed qvmod, and I have uploaded xml script in XML folder, but I dont know if I have to do anything else or not?
COuld you please advice ?
Thanks,
uksitebuilder wrote:All scripts in this vqmods forum require that you have vqmod installed.
If you have previously edited your site files manually then vqmod will probably not work for you
Download vqmod from vqmod.com (get the opencart version)
Once installed you put these vqmod scripts / files in to the vqmod/xml folder
Re: [vQmod] Increase File Upload Limits
Posted: Fri Mar 16, 2012 11:20 pm
by uksitebuilder
Shouldnt need to do anything else.
Can you upload files in admin now that are larger than 300kbs ?
Re: [vQmod] Increase File Upload Limits
Posted: Tue Aug 27, 2013 8:49 pm
by azel_inc
it doesnt work for me, using latest OC. still cant upload more than 300kb
Re: [vQmod] Increase File Upload Limits
Posted: Sat Oct 12, 2013 5:02 am
by isme
Re: [vQmod] Increase File Upload Limits
Posted: Sat Oct 12, 2013 5:58 am
by isme
There has been an update in the base code of opencart.
in the download file: uksb_increase_file_upload.xml
simply replace the line :
Code: Select all
<![CDATA[ if (@move_uploaded_file($this->request->files['image']['tmp_name'], $directory . '/' . basename($this->request->files['image']['name']))) {]]>
With the line:
Code: Select all
<![CDATA[if (@move_uploaded_file($this->request->files['image']['tmp_name'], $directory . '/' . $filename)) {]]>
Hope this helps...
isme