kaena Posted May 31, 2013 Share Posted May 31, 2013 hello customers must send me pictures files so that I can customize the items that I offer, but only cares about the customer can not send me larger than 200 kilobyte file, it is ridiculous for the photo. I'm running 1.4.9.0. You can set the file size to download? thank you in advance help Link to comment Share on other sites More sharing options...
vekia Posted May 31, 2013 Share Posted May 31, 2013 go to the: themes/prestashop/contact-form.tpl you've got there something like: <input type="hidden" name="MAX_FILE_SIZE" value="2000000" /> and increase value="" param Link to comment Share on other sites More sharing options...
MEG Venture Posted May 31, 2013 Share Posted May 31, 2013 (edited) Have you tried backoffice>preferences> Limit upload image value ? If it is 2MB by default, then it seems that your hosting provider limits the upload size. You can increase it by contacting them, by accessing php.ini file via your cpanel (if you have permission) or add that line to your htaccess file (a little difficult and depends on the configuration of your server) Edited May 31, 2013 by MEG Venture (see edit history) Link to comment Share on other sites More sharing options...
MEG Venture Posted May 31, 2013 Share Posted May 31, 2013 go to the: themes/prestashop/contact-form.tpl you've got there something like: <input type="hidden" name="MAX_FILE_SIZE" value="2000000" /> and increase value="" param Hi Vekia, I guess this problem is about product customization. Link to comment Share on other sites More sharing options...
vekia Posted May 31, 2013 Share Posted May 31, 2013 you've got right, but max file size value is hardcoded in the template file, it is ok? Link to comment Share on other sites More sharing options...
MEG Venture Posted May 31, 2013 Share Posted May 31, 2013 sure. Link to comment Share on other sites More sharing options...
kaena Posted May 31, 2013 Author Share Posted May 31, 2013 I replace "2000000" by another number "10000000" (10MB) Link to comment Share on other sites More sharing options...
vekia Posted May 31, 2013 Share Posted May 31, 2013 I replace "2000000" by another number "10000000" (10MB) follow meg suggestion above, go to preferences in your back office and change value there :-) Link to comment Share on other sites More sharing options...
kaena Posted May 31, 2013 Author Share Posted May 31, 2013 it does not change, always error Link to comment Share on other sites More sharing options...
MEG Venture Posted May 31, 2013 Share Posted May 31, 2013 That seems something with the php.ini Link to comment Share on other sites More sharing options...
kaena Posted May 31, 2013 Author Share Posted May 31, 2013 replace : <input type="hidden" name="MAX_FILE_SIZE" value="2000000" /> by <input type="hidden" name="MAX_FILE_SIZE" value="10000000" /> but that does not change Link to comment Share on other sites More sharing options...
vekia Posted May 31, 2013 Share Posted May 31, 2013 create script with phpinfo(); To create a phpinfo file, open a plain text file, add the following lines, and save: Filename: phpinfo.php upload it to your server, then open yourstore/phpinfo.php file in browser you will see specification of php settings for your hosting account <?php phpinfo(); ?> Link to comment Share on other sites More sharing options...
kaena Posted May 31, 2013 Author Share Posted May 31, 2013 I'm a little new to this area Link to comment Share on other sites More sharing options...
vekia Posted May 31, 2013 Share Posted May 31, 2013 okay, so try to contacth with your hosting provider, ask them for maxium file size upload for your account, it's probably exactly as meg said - php limit. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now