vhs9210 Posted September 3, 2014 Share Posted September 3, 2014 Hello, I'm Trying to upload an attachment for a product, but I got an error saying The file is too large. Maximum size allowed is: 8192 kB. The file you are trying to upload is 17644 kB. my file size is 17644 kb, I need to upload this file so customers can download it, how can I change the maximum size allowed?, I am working on my localhost and I am using XAMPP, I already modified the php.ini the post_max_size = 48M upload_max_filesize = 40M and already restarted my server but the error is still appearing. please help somebody help me :S Link to comment Share on other sites More sharing options...
vekia Posted September 3, 2014 Share Posted September 3, 2014 hello are you able to verify your php settings in page with php config output? Link to comment Share on other sites More sharing options...
FalsAlarm Posted September 3, 2014 Share Posted September 3, 2014 prestashop forum config file setting maybe Link to comment Share on other sites More sharing options...
vhs9210 Posted September 3, 2014 Author Share Posted September 3, 2014 I can see my php settings in localhost/xampp/phpinfo() and it displays my php information but I got max_execution_time 30 30 max_file_uploads 20 20 max_input_nesting_level 64 64 max_input_time 60 60 max_input_vars 1000 1000 memory_limit 256M 256M open_basedir no value no value output_buffering 4096 4096 output_handler no value no value post_max_size 48M 48M I dont find the 8192 kb value Link to comment Share on other sites More sharing options...
trco Posted December 11, 2014 Share Posted December 11, 2014 i have same problem, i tryed max uploaded size, htaccess etc. but nothing i found line where is PROBLEM !!!! "........ admin/ajaxfilemanager/inc/config.base.php" 73.line //UPLOAD OPTIONS CONFIG 74.line define('CONFIG_UPLOAD_MAXSIZE', 5000 * 1024 ); //by bytes this line get me max uploaded file size was around 4,9 MB what problem when i tryed upload video 42,5 MB ... i changed 5000 to 50000 and HEUREEEEKAA !!!!! all its ok .. i hope help you ! Link to comment Share on other sites More sharing options...
Recommended Posts