{"id":6196,"date":"2014-04-13T19:09:23","date_gmt":"2014-04-13T19:09:23","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2014\/04\/13\/http-error-when-using-uploadify-plugin-for-jquery-collection-of-common-programming-errors\/"},"modified":"2014-04-13T19:09:23","modified_gmt":"2014-04-13T19:09:23","slug":"http-error-when-using-uploadify-plugin-for-jquery-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2014\/04\/13\/http-error-when-using-uploadify-plugin-for-jquery-collection-of-common-programming-errors\/","title":{"rendered":"&ldquo;http error&rdquo; when using Uploadify plugin for JQuery-Collection of common programming errors"},"content":{"rendered":"<p>I&#8217;m using the plugin from here: http:\/\/www.uploadify.com\/<\/p>\n<p>I have setup a simple test case, select a file etc &amp; I get a &#8220;HTTP Error&#8221; when I try to upload.<\/p>\n<p>Here is the relevant code from my header..<\/p>\n<pre><code>\n\n \n\n\n\n\n$(document).ready(function() {\n    $('#sampleFile').uploadify({\n        'uploader': 'include\/uploadify\/uploadify.swf',\n        'script': 'upload_test.php',\n        'folder': '\/work\/avais\/bizlists\/lists',\n        'cancelImg': 'include\/uploadify\/cancel.png'\n    });\n});\n\n\n\n<\/code><\/pre>\n<p>.. and here is my html code..<\/p>\n<pre><code>\n    <br \/>\n    \n    \n\n<\/code><\/pre>\n<p>I would provide the link but it&#8217;s inside an admin area.<\/p>\n<p>I couldn&#8217;t find any documentation on troubleshooting errors on this plugin.<\/p>\n<p><strong>Edit:<\/strong> I checked it with fiddler &amp; it seems I&#8217;m getting a &#8220;Response Code 413 &#8211; Request Entity Too Large&#8221; error.<\/p>\n<p><strong>Edit:<\/strong> Problem fixed&#8230;. it was an issue with some stuff I had in the .htaccess file, probably the &#8220;LimitRequestBody&#8221;.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;m using the plugin from here: http:\/\/www.uploadify.com\/ I have setup a simple test case, select a file etc &amp; I get a &#8220;HTTP Error&#8221; when I try to upload. Here is the relevant code from my header.. $(document).ready(function() { $(&#8216;#sampleFile&#8217;).uploadify({ &#8216;uploader&#8217;: &#8216;include\/uploadify\/uploadify.swf&#8217;, &#8216;script&#8217;: &#8216;upload_test.php&#8217;, &#8216;folder&#8217;: &#8216;\/work\/avais\/bizlists\/lists&#8217;, &#8216;cancelImg&#8217;: &#8216;include\/uploadify\/cancel.png&#8217; }); }); .. and here is my [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-6196","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/6196","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=6196"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/6196\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=6196"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=6196"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=6196"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}