{"id":3225,"date":"2014-04-29T16:20:37","date_gmt":"2014-04-29T16:20:37","guid":{"rendered":"https:\/\/www.inmotionhosting.com\/support\/2014\/04\/29\/edit-upload-limit\/"},"modified":"2020-10-09T13:19:35","modified_gmt":"2020-10-09T17:19:35","slug":"edit-upload-limit","status":"publish","type":"post","link":"https:\/\/www.inmotionhosting.com\/support\/edu\/prestashop\/edit-upload-limit\/","title":{"rendered":"Fixing the Error: &#8220;This file is missing&#8221; in PrestaShop 1.6"},"content":{"rendered":"<p>One great feature PrestaShop has is to allow the sale of virtual products. These are downloadable items such as ebooks, videos, audio files, software, etc. These files can be very small or very large in size, depending on the nature of the file.<\/p>\n<p>When adding a virtual product in PrestaShop, there may be issues when the file is over 10MB. The issue manifests as a missing file error like the one below:<\/p>\n<div class=\"code_block\">This file \u201ctestfile.txt\u201d is missing:<br>\nServer file name : 9a98f2108138018a56bdeb32f83c8bd285da3358<\/div>\n<p>We have discovered how to correct this issue and explain it in our article below.<\/p>\n<h2>How to increase the upload limit in PrestaShop 1.6<\/h2>\n<ol class=\"article_list\">\n<li><a href=\"https:\/\/www.inmotionhosting.com\/support\/edu\/cpanel\/how-to-log-into-cpanel\/\">Log into your cPanel dashboard<\/a>.\n<div style=\"clear: both;\"><\/div>\n<\/li>\n<li>From within the dashboard, click on the <strong>File Manager<\/strong> icon, located in the <em>Files<\/em> category.\n<div style=\"clear: both;\"><\/div>\n<\/li>\n<li>Once in the <em>File Manager<\/em> navigate to the root folder for your PrestaShop store. Unless you have it in a special folder, the root folder should be <em>public_html<\/em>.\n<div style=\"clear: both;\"><\/div>\n<\/li>\n<li>Once in the root folder, you should see the normal PrestaShop file structure. You should see an <em>admin<\/em> folder (though it may be named differently), <em>cache<\/em>, <em>config<\/em>, <em>classes<\/em>, and others. Double click on the <strong>classes<\/strong> folder to open it.\n<div style=\"clear: both;\"><\/div>\n<\/li>\n<li>Look through the files and locate the <em>Uploader.php<\/em> file. Open it for editing.\n<div style=\"clear: both;\"><\/div>\n<\/li>\n<li><a href=\"\/support\/images\/stories\/edu\/ps16\/errors\/file-is-missing\/edit-setting.png\" rel=\"lightbox-0\"><img decoding=\"async\" class=\"std_ss\" style=\"float: right; margin: 0px 15px 15px 15px;\" title=\"Click here to view the larger image\" src=\"\/support\/images\/stories\/edu\/ps16\/errors\/file-is-missing\/edit-setting.png\" alt=\"\" width=\"200\"><\/a>\n<div style=\"clear: both;\"><\/div>\n<p>Once open look for the setting \u201c<em>const DEFAULT_MAX_SIZE = 10485760;<\/em>\u201d which is located near the top of the file, around line 29. The setting is set in bytes, so 10485760 bytes is 10MB, change it to anything you like. The chart below demonstrates some options in bytes.<\/p>\n<table class=\"article_table\" style=\"width: 100%;\">\n<tbody>\n<tr>\n<th>MegaBytes<\/th>\n<th>Bytes<\/th>\n<\/tr>\n<tr>\n<td>10<\/td>\n<td>10485760<\/td>\n<\/tr>\n<tr>\n<td>20<\/td>\n<td>20971520<\/td>\n<\/tr>\n<tr>\n<td>30<\/td>\n<td>31457280<\/td>\n<\/tr>\n<tr>\n<td>50<\/td>\n<td>52428800<\/td>\n<\/tr>\n<tr>\n<td>100<\/td>\n<td>104857600<\/td>\n<\/tr>\n<tr>\n<td>250<\/td>\n<td>262144000<\/td>\n<\/tr>\n<tr>\n<td>500<\/td>\n<td>524288000<\/td>\n<\/tr>\n<tr>\n<td>1000 (1GB)<\/td>\n<td>1048576000<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>You do not have to set the numbers exactly as shown, they are merely for reference purposes and for purists like me who have to be exact. Be sure to enter a number large enough to accommodate the file size you will be working with.<\/p>\n<div style=\"clear: both;\"><\/div>\n<\/li>\n<li>After you edit the setting, click on the <strong>Save Changes<\/strong> button in the upper right corner to save and activate the change. You can now upload the file successfully. Below is a before and after showing the error and how it appears once it the setting is changed.\n<div style=\"clear: both;\"><\/div>\n<\/li>\n<\/ol>\n<table class=\"article_table\" style=\"width: 100%;\">\n<tbody>\n<tr>\n<th>Before<\/th>\n<th>After<\/th>\n<\/tr>\n<tr>\n<td><a href=\"\/support\/images\/stories\/edu\/ps16\/errors\/file-is-missing\/before.png\" rel=\"lightbox-0\"><img decoding=\"async\" class=\"std_ss\" title=\"Click here to view the larger image\" src=\"\/support\/images\/stories\/edu\/ps16\/errors\/file-is-missing\/before.png\" alt=\"\" width=\"100%\"><\/a>\n<div style=\"clear: both;\"><\/div>\n<\/td>\n<td><a href=\"\/support\/images\/stories\/edu\/ps16\/errors\/file-is-missing\/after.png\" rel=\"lightbox-0\"><img decoding=\"async\" class=\"std_ss\" title=\"Click here to view the larger image\" src=\"\/support\/images\/stories\/edu\/ps16\/errors\/file-is-missing\/after.png\" alt=\"\" width=\"100%\"><\/a>\n<div style=\"clear: both;\"><\/div>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n","protected":false},"excerpt":{"rendered":"<p>One great feature PrestaShop has is to allow the sale of virtual products. These are downloadable items such as ebooks, videos, audio files, software, etc. These files can be very small or very large in size, depending on the nature of the file. When adding a virtual product in PrestaShop, there may be issues when<a class=\"moretag\" href=\"https:\/\/www.inmotionhosting.com\/support\/edu\/prestashop\/edit-upload-limit\/\"> Read More ><\/a><\/p>\n","protected":false},"author":8,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[92,4335],"tags":[4391],"class_list":["post-3225","post","type-post","status-publish","format-standard","hentry","category-prestashop","category-error-numbers","tag-prestashop-v1-6"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.1.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Fixing the Error: &quot;This file is missing&quot; in PrestaShop 1.6 | InMotion Hosting<\/title>\n<meta name=\"description\" content=\"Learn how to adjust the upload limit in PrestaShop 1.6.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.inmotionhosting.com\/support\/edu\/prestashop\/edit-upload-limit\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Fixing the Error: &quot;This file is missing&quot; in PrestaShop 1.6 | InMotion Hosting\" \/>\n<meta property=\"og:description\" content=\"Learn how to adjust the upload limit in PrestaShop 1.6.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.inmotionhosting.com\/support\/edu\/prestashop\/edit-upload-limit\/\" \/>\n<meta property=\"og:site_name\" content=\"InMotion Hosting Support Center\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/inmotionhosting\/\" \/>\n<meta property=\"article:published_time\" content=\"2014-04-29T16:20:37+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2020-10-09T17:19:35+00:00\" \/>\n<meta name=\"author\" content=\"Scott Mitchell\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@InMotionHosting\" \/>\n<meta name=\"twitter:site\" content=\"@InMotionHosting\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Scott Mitchell\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/prestashop\/edit-upload-limit\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/prestashop\/edit-upload-limit\/\"},\"author\":{\"name\":\"Scott Mitchell\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/d850efb28ef3573db7d24b0d8fa9eaed\"},\"headline\":\"Fixing the Error: &#8220;This file is missing&#8221; in PrestaShop 1.6\",\"datePublished\":\"2014-04-29T16:20:37+00:00\",\"dateModified\":\"2020-10-09T17:19:35+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/prestashop\/edit-upload-limit\/\"},\"wordCount\":366,\"commentCount\":14,\"publisher\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\"},\"keywords\":[\"Prestashop 1v.6\"],\"articleSection\":[\"Prestashop\",\"Website Error Numbers\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.inmotionhosting.com\/support\/edu\/prestashop\/edit-upload-limit\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/prestashop\/edit-upload-limit\/\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/prestashop\/edit-upload-limit\/\",\"name\":\"Fixing the Error: \\\"This file is missing\\\" in PrestaShop 1.6 | InMotion Hosting\",\"isPartOf\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#website\"},\"datePublished\":\"2014-04-29T16:20:37+00:00\",\"dateModified\":\"2020-10-09T17:19:35+00:00\",\"description\":\"Learn how to adjust the upload limit in PrestaShop 1.6.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/prestashop\/edit-upload-limit\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.inmotionhosting.com\/support\/edu\/prestashop\/edit-upload-limit\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/prestashop\/edit-upload-limit\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.inmotionhosting.com\/support\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Fixing the Error: &#8220;This file is missing&#8221; in PrestaShop 1.6\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#website\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/\",\"name\":\"InMotion Hosting Support Center\",\"description\":\"Web Hosting Support &amp; Tutorials\",\"publisher\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.inmotionhosting.com\/support\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\",\"name\":\"InMotion Hosting\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg\",\"contentUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg\",\"width\":696,\"height\":696,\"caption\":\"InMotion Hosting\"},\"image\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/inmotionhosting\/\",\"https:\/\/x.com\/InMotionHosting\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/d850efb28ef3573db7d24b0d8fa9eaed\",\"name\":\"Scott Mitchell\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/author\/scott\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Fixing the Error: \"This file is missing\" in PrestaShop 1.6 | InMotion Hosting","description":"Learn how to adjust the upload limit in PrestaShop 1.6.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.inmotionhosting.com\/support\/edu\/prestashop\/edit-upload-limit\/","og_locale":"en_US","og_type":"article","og_title":"Fixing the Error: \"This file is missing\" in PrestaShop 1.6 | InMotion Hosting","og_description":"Learn how to adjust the upload limit in PrestaShop 1.6.","og_url":"https:\/\/www.inmotionhosting.com\/support\/edu\/prestashop\/edit-upload-limit\/","og_site_name":"InMotion Hosting Support Center","article_publisher":"https:\/\/www.facebook.com\/inmotionhosting\/","article_published_time":"2014-04-29T16:20:37+00:00","article_modified_time":"2020-10-09T17:19:35+00:00","author":"Scott Mitchell","twitter_card":"summary_large_image","twitter_creator":"@InMotionHosting","twitter_site":"@InMotionHosting","twitter_misc":{"Written by":"Scott Mitchell","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/prestashop\/edit-upload-limit\/#article","isPartOf":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/prestashop\/edit-upload-limit\/"},"author":{"name":"Scott Mitchell","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/d850efb28ef3573db7d24b0d8fa9eaed"},"headline":"Fixing the Error: &#8220;This file is missing&#8221; in PrestaShop 1.6","datePublished":"2014-04-29T16:20:37+00:00","dateModified":"2020-10-09T17:19:35+00:00","mainEntityOfPage":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/prestashop\/edit-upload-limit\/"},"wordCount":366,"commentCount":14,"publisher":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#organization"},"keywords":["Prestashop 1v.6"],"articleSection":["Prestashop","Website Error Numbers"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.inmotionhosting.com\/support\/edu\/prestashop\/edit-upload-limit\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/prestashop\/edit-upload-limit\/","url":"https:\/\/www.inmotionhosting.com\/support\/edu\/prestashop\/edit-upload-limit\/","name":"Fixing the Error: \"This file is missing\" in PrestaShop 1.6 | InMotion Hosting","isPartOf":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#website"},"datePublished":"2014-04-29T16:20:37+00:00","dateModified":"2020-10-09T17:19:35+00:00","description":"Learn how to adjust the upload limit in PrestaShop 1.6.","breadcrumb":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/prestashop\/edit-upload-limit\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.inmotionhosting.com\/support\/edu\/prestashop\/edit-upload-limit\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/prestashop\/edit-upload-limit\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.inmotionhosting.com\/support\/"},{"@type":"ListItem","position":2,"name":"Fixing the Error: &#8220;This file is missing&#8221; in PrestaShop 1.6"}]},{"@type":"WebSite","@id":"https:\/\/www.inmotionhosting.com\/support\/#website","url":"https:\/\/www.inmotionhosting.com\/support\/","name":"InMotion Hosting Support Center","description":"Web Hosting Support &amp; Tutorials","publisher":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.inmotionhosting.com\/support\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.inmotionhosting.com\/support\/#organization","name":"InMotion Hosting","url":"https:\/\/www.inmotionhosting.com\/support\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/","url":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg","contentUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg","width":696,"height":696,"caption":"InMotion Hosting"},"image":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/inmotionhosting\/","https:\/\/x.com\/InMotionHosting"]},{"@type":"Person","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/d850efb28ef3573db7d24b0d8fa9eaed","name":"Scott Mitchell","url":"https:\/\/www.inmotionhosting.com\/support\/author\/scott\/"}]}},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"primary_category":null,"_links":{"self":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/3225","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/users\/8"}],"replies":[{"embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/comments?post=3225"}],"version-history":[{"count":2,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/3225\/revisions"}],"predecessor-version":[{"id":61955,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/3225\/revisions\/61955"}],"wp:attachment":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/media?parent=3225"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/categories?post=3225"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/tags?post=3225"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}