lokuttz Posted April 29, 2014 Share Posted April 29, 2014 Hi i was hoping that someone could help me with upload errors i get every time i attempt to upload files for virtual products. its hard to believe that no one else ran into this problem. any help would be greatly appreciated! this is my error message error: This file "someFILEname.zip" is missing :Server file name : 0957470de51b04c4ed50da54d7e82ea5a2b6d154 size of file attempted to upload 150MB ACTUAL MAX FILE UPLOADABLE = 10MB the script will not let me download anything over 10MB PRESTASHOP CONFIG PREFERENCE SETTINGS max file size is set to 384MB ADMINISTRATION PREFERENCES SHOWS MAX FILE UPLOAD SIZE TO BE 384MB CPANEL PHP CONFIG MAX UPLOAD LIMIT 364MB Sub Section Directive Info Value Language Options asp_tags Allow ASP-style <% %> tags. Off File Uploads file_uploads Whether to allow HTTP file uploads. On Paths and Directories include_path Windows: "\path1;\path2" c:\php\includes" .:/usr/lib/php:/usr/local/lib/php Resource Limits max_execution_time Maximum execution time of each script, in seconds 30 Resource Limits max_input_time Maximum amount of time each script may spend parsing request data 60 Resource Limits memory_limit 384M Data Handling register_globals You should do your best to write your scripts so that they do not require register_globals to be on; Using form variables as globals can easily lead to possible security problems, if the code is not very well thought of. Off Language Options safe_mode Off File Uploads upload_max_filesize Maximum allowed size for uploaded files. 384M please help Link to comment Share on other sites More sharing options...
prestamax Posted April 29, 2014 Share Posted April 29, 2014 (edited) ADMINISTRATION PREFERENCES SHOWS MAX FILE UPLOAD SIZE TO BE 384MB CPANEL PHP CONFIG MAX UPLOAD LIMIT 364MB There are two values you need to check in php.ini one is post_max_size and the other is upload_max_filesize You need to change both. If you don't have access to php.ini you could try to increase the values in your .htaccess php_value upload_max_filesize 364M php_value post_max_size 364M Edited April 29, 2014 by prestamax (see edit history) Link to comment Share on other sites More sharing options...
scottm Posted April 29, 2014 Share Posted April 29, 2014 (edited) Hey lokuttz, We ran across this just yesterday with one of our customers. The issue is a constant that is set in the /classes/Uploader.php file. It is at line 29, I believe. The constant is set in bytes and appears as below: const DEFAULT_MAX_SIZE = 10485760; Currently it is 10MB, just increase the number there and it should work for you. If you have a cPanel webserver you can follow the instructions from the article we just created on the subject.Fixing the error "This file is missing" in PrestaShop 1.6 Let me know it that helps you out! Edited April 29, 2014 by scottm (see edit history) 4 Link to comment Share on other sites More sharing options...
lokuttz Posted May 1, 2014 Author Share Posted May 1, 2014 worked perfectly! you saved me so much time. thank you! Link to comment Share on other sites More sharing options...
awahab Posted May 13, 2014 Share Posted May 13, 2014 Hi #scottm, I used PS_1.5.6 but i couldn't find the uploader.php in classes folder can help me where the uploader.php in this version. Link to comment Share on other sites More sharing options...
scottm Posted May 14, 2014 Share Posted May 14, 2014 Hello awahab, It appears that this was not implemented until version 1.6. I downloaded 1.5.6.0, 1.5.6.1, and 1.5.6.2 and the Uploader.php file does not yet exist in the classes folder. Are you getting the error "This file "someFILEname.zip" is missing :" ? Link to comment Share on other sites More sharing options...
Recommended Posts