Note that there are some explanatory texts on larger screens.

plurals
  1. POFile uploading not working for larger files
    text
    copied!<p>I am trying to upload a .zip file. It is working well for small files . But I can upload files >2MB. When I try to upload files >2 MB google chrome shows in the bottom left corner as (uploadin : --%) where -- is a no like 10. But it is stuck after 14%. After some time it shows an error like "Error 101 (net::ERR_CONNECTION_RESET): The connection was reset."This web page is not available.</p> <p>Please help me</p> <p>This is the form code</p> <pre><code>&lt;form name="addnewitem" id="addnewitem" method="post" enctype="multipart/form-data"&gt; &lt;?php if (($succ==0) &amp;&amp; ($message!="")) { echo "&lt;div class='error'&gt;".$message."&lt;/div&gt;"; } ?&gt; &lt;?php if ($msg!="") { echo "&lt;div class='success'&gt;".$msg."&lt;/div&gt;"; } ?&gt; &lt;?php if ($msg1!="") { echo "&lt;div class='error'&gt;".$msg1."&lt;/div&gt;"; } ?&gt; &lt;div class="list-item"&gt; &lt;div class="form"&gt; &lt;h2&gt;Name &amp; Description&lt;/h2&gt; &lt;div class="row"&gt; &lt;div class="left"&gt; &lt;label&gt;Item Title:&lt;/label&gt; &lt;/div&gt; &lt;div class="right"&gt; &lt;input name="listitemname" id="listitemname" type="text" class="input" maxlength="50" value="&lt;?php echo $_POST['listitemname']; ?&gt;" /&gt; &lt;em&gt;Maximum 50 characters&lt;/em&gt; &lt;/div&gt; &lt;/div&gt; &lt;div class="row"&gt; &lt;div class="left"&gt; &lt;label&gt; Item Description: &lt;/label&gt;&lt;/div&gt; &lt;div class="right"&gt; &lt;textarea name="itemdescription" id="itemdescription" cols="10" rows="5"&gt;&lt;?php echo $_POST['itemdescription'];?&gt;&lt;/textarea&gt; &lt;em&gt;Maximum 600 characters&lt;/em&gt; &lt;/div&gt; &lt;/div&gt; &lt;/div&gt; &lt;div class="form"&gt; &lt;h2&gt; Item Files &amp; Preview &lt;/h2&gt; &lt;div class="row"&gt; &lt;div class="left"&gt; &lt;label&gt; Item Thumbnail: &lt;/label&gt; &lt;/div&gt; &lt;div class="right"&gt;&lt;input type="file" name="thumbnailimage" id="thumbnailimage" class="input" /&gt; &lt;em&gt;JPG or PNG, 80 x 80 Thumbail&lt;/em&gt; &lt;/div&gt; &lt;/div&gt; &lt;div class="row"&gt; &lt;div class="left"&gt; &lt;label&gt; Item Rollover Preview: &lt;/label&gt;&lt;/div&gt; &lt;div class="right"&gt;&lt;input type="file" name="rolloverimage" id="rolloverimage" class="input" /&gt; &lt;em&gt;JPG or PNG, 190 x 190 Preview Image&lt;/em&gt; &lt;/div&gt; &lt;/div&gt; &lt;div class="row"&gt; &lt;div class="left"&gt; &lt;label&gt; Screenshot image 1: &lt;/label&gt;&lt;/div&gt; &lt;div class="right"&gt;&lt;input type="file" name="themepreview1" id="themepreview1" class="input" /&gt; &lt;em&gt;JPG or PNG, 420 x 420 Image Screenshot ( Required )&lt;/em&gt; &lt;/div&gt; &lt;/div&gt; &lt;div class="row"&gt; &lt;div class="left"&gt; &lt;label&gt; Screenshot image 2: &lt;/label&gt;&lt;/div&gt; &lt;div class="right"&gt;&lt;input type="file" name="themepreview2" id="themepreview2" class="input" /&gt; &lt;em&gt;JPG or PNG, 420 x 420 Image Screenshot ( Optional )&lt;/em&gt; &lt;/div&gt; &lt;/div&gt; &lt;div class="row"&gt; &lt;div class="left"&gt; &lt;label&gt; Screenshot image 3: &lt;/label&gt;&lt;/div&gt; &lt;div class="right"&gt;&lt;input type="file" name="themepreview3" id="themepreview3" class="input" /&gt; &lt;em&gt;JPG or PNG, 420 x 420 Image Screenshot ( Optional )&lt;/em&gt; &lt;/div&gt; &lt;/div&gt; &lt;div class="row"&gt; &lt;div class="left"&gt; &lt;label&gt; Screenshot image 4: &lt;/label&gt;&lt;/div&gt; &lt;div class="right"&gt;&lt;input type="file" name="themepreview4" id="themepreview4" class="input" /&gt; &lt;em&gt;JPG or PNG, 420 x 420 Image Screenshot ( Optional )&lt;/em&gt; &lt;/div&gt; &lt;/div&gt; &lt;div class="row"&gt; &lt;div class="left"&gt; &lt;label&gt; Item Zip File: &lt;/label&gt;&lt;/div&gt; &lt;div class="right"&gt;&lt;input type="file" name="itemfile" id="itemfile" class="input" /&gt; &lt;em&gt;.ZIP File Only &lt;/em&gt; &lt;/div&gt; &lt;/div&gt; &lt;div class="row"&gt; &lt;div class="left"&gt; &lt;label&gt;Demo URL:&lt;/label&gt; &lt;/div&gt; &lt;div class="right"&gt; &lt;input name="demourl" id="demourl" type="text" class="input" value="&lt;?php echo $_POST['demourl']; ?&gt;" /&gt; &lt;em&gt;Enter the www.themepreviewurl.com here for the item Live Preview&lt;/em&gt; &lt;/div&gt; &lt;/div&gt; &lt;/div&gt; &lt;div class="form"&gt; &lt;h2&gt; Category &amp; Attributes &lt;/h2&gt; &lt;div class="row"&gt; &lt;div class="left"&gt; &lt;label&gt; Category: &lt;/label&gt;&lt;/div&gt; &lt;div class="right"&gt; &lt;?php $getmaincategories = "SELECT category_name,category_id FROM ".$tbl_main_categories." WHERE category_status = 1"; $exec_getmaincategories = mysql_query($getmaincategories); echo "&lt;select name='categoryname' id='categoryname'&gt;"; echo "&lt;option value='' &gt;Select a Category Now&lt;/option&gt;"; while($rows_getmaincategories = mysql_fetch_array($exec_getmaincategories)) { $getsubcategories = "SELECT sub_category_name,sub_category_hash FROM ".$tbl_sub_categories." WHERE sub_category_status=1 AND category_id=".$rows_getmaincategories['category_id']; $exec_getsubcategories = mysql_query($getsubcategories); echo "&lt;option disabled='disabled' value='".$rows_getmaincategories['category_id']."'&gt;".$rows_getmaincategories['category_name']."&lt;/option&gt;"; while($rows_getsubcategories = mysql_fetch_array($exec_getsubcategories)) { if ($_REQUEST['categoryname'] == $rows_getsubcategories['sub_category_hash']) { echo $selectedvalue = "selected='selected'"; } echo "&lt;option value='".$rows_getsubcategories['sub_category_hash']."' style='padding-right:inherit' $selectedvalue&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;-".$rows_getsubcategories['sub_category_name']."&lt;/option&gt;"; } } echo "&lt;/select&gt;"; ?&gt; &lt;/div&gt; &lt;/div&gt; &lt;div class="row"&gt; &lt;div class="left"&gt; &lt;label&gt; Compatible Browsers:&lt;br /&gt; use 'ctrl' to select multiples &lt;/label&gt;&lt;/div&gt; &lt;div class="right"&gt; &lt;select multiple="multiple" class="select" name="browsercompatiable[]" id="browsercompatiable[]"&gt; &lt;option value=""&gt;Select&lt;/option&gt; &lt;option value="ie7" &lt;?php if ($_REQUEST['browsercompatiable'] == "ie7") echo "selected='selected'"; ?&gt;&gt;IE7&lt;/option&gt; &lt;option value="ie8" &lt;?php if ($_REQUEST['browsercompatiable'] == "ie8") echo "selected='selected'"; ?&gt;&gt;IE8&lt;/option&gt; &lt;option value="ie9" &lt;?php if ($_REQUEST['browsercompatiable'] == "ie9") echo "selected='selected'"; ?&gt;&gt;IE9&lt;/option&gt; &lt;option value="firefox" &lt;?php if ($_REQUEST['browsercompatiable'] == "firefox") echo "selected='selected'"; ?&gt;&gt;Firefox&lt;/option&gt; &lt;option value="safari" &lt;?php if ($_REQUEST['browsercompatiable'] == "safari") echo "selected='selected'"; ?&gt;&gt;Safari&lt;/option&gt; &lt;option value="chrome" &lt;?php if ($_REQUEST['browsercompatiable'] == "chrome") echo "selected='selected'"; ?&gt;&gt;Chrome&lt;/option&gt; &lt;/select&gt; &lt;/div&gt; &lt;/div&gt; &lt;div class="row"&gt; &lt;div class="left"&gt; &lt;label&gt; Files Includes:&lt;br /&gt; Use 'ctrl' to select multiples &lt;/label&gt;&lt;/div&gt; &lt;div class="right"&gt; &lt;select multiple="multiple" size="5" class="select" name="filesinclude[]" id="filesinclude[]"&gt; &lt;option value=""&gt;Select&lt;/option&gt; &lt;option value="ie7" &lt;?php if ($_REQUEST['filesinclude'] == "ie7") echo "selected='selected'"; ?&gt;&gt;PSD Files&lt;/option&gt; &lt;option value="ie8" &lt;?php if ($_REQUEST['filesinclude'] == "ie8") echo "selected='selected'"; ?&gt;&gt;Documentation&lt;/option&gt; &lt;option value="ie9" &lt;?php if ($_REQUEST['filesinclude'] == "ie9") echo "selected='selected'"; ?&gt;&gt;Multiple Layouts&lt;/option&gt; &lt;option value="firefox" &lt;?php if ($_REQUEST['filesinclude'] == "firefox") echo "selected='selected'"; ?&gt;&gt;Multiple Colour Options&lt;/option&gt; &lt;option value="safari" &lt;?php if ($_REQUEST['filesinclude'] == "safari") echo "selected='selected'"; ?&gt;&gt;Video Help Files&lt;/option&gt; &lt;option value="chrome" &lt;?php if ($_REQUEST['filesinclude'] == "chrome") echo "selected='selected'"; ?&gt;&gt;Other&lt;/option&gt; &lt;/select&gt; &lt;/div&gt; &lt;/div&gt; &lt;div class="row"&gt; &lt;div class="left"&gt; &lt;label&gt; Columns: &lt;/label&gt;&lt;/div&gt; &lt;div class="right"&gt; &lt;select name="noofcolumns" id="noofcolumns"&gt; &lt;option value=""&gt;Select&lt;/option&gt; &lt;option value="1" &lt;?php if ($_REQUEST['noofcolumns'] == "1") echo "selected='selected'"; ?&gt;&gt;1&lt;/option&gt; &lt;option value="2" &lt;?php if ($_REQUEST['noofcolumns'] == "2") echo "selected='selected'"; ?&gt;&gt;2&lt;/option&gt; &lt;option value="3" &lt;?php if ($_REQUEST['noofcolumns'] == "3") echo "selected='selected'"; ?&gt;&gt;3&lt;/option&gt; &lt;option value="4" &lt;?php if ($_REQUEST['noofcolumns'] == "4") echo "selected='selected'"; ?&gt;&gt;4&lt;/option&gt; &lt;option value="5" &lt;?php if ($_REQUEST['noofcolumns'] == "5") echo "selected='selected'"; ?&gt;&gt;5&lt;/option&gt; &lt;/select&gt; &lt;/div&gt; &lt;/div&gt; &lt;div class="row"&gt; &lt;div class="left"&gt; &lt;label&gt; Layout: &lt;/label&gt;&lt;/div&gt; &lt;div class="right"&gt; &lt;select name="layout" id="layout"&gt; &lt;option value=""&gt;Select&lt;/option&gt; &lt;option value="1" &lt;?php if ($_REQUEST['layout'] == "1") echo "selected='selected'"; ?&gt;&gt;1&lt;/option&gt; &lt;option value="2" &lt;?php if ($_REQUEST['layout'] == "2") echo "selected='selected'"; ?&gt;&gt;2&lt;/option&gt; &lt;option value="3" &lt;?php if ($_REQUEST['layout'] == "3") echo "selected='selected'"; ?&gt;&gt;3&lt;/option&gt; &lt;option value="4" &lt;?php if ($_REQUEST['layout'] == "4") echo "selected='selected'"; ?&gt;&gt;4&lt;/option&gt; &lt;option value="5" &lt;?php if ($_REQUEST['layout'] == "5") echo "selected='selected'"; ?&gt;&gt;5&lt;/option&gt; &lt;/select&gt; &lt;em&gt;Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus id arcu vitae eros molestie ultricies ut sit amet nisi. Nulla facilisi.&lt;/em&gt; &lt;/div&gt; &lt;/div&gt; &lt;/div&gt; &lt;div class="form"&gt; &lt;h2&gt;Tags&lt;/h2&gt; &lt;div class="row"&gt; &lt;div class="left"&gt; &lt;label&gt;Tags:&lt;/label&gt; &lt;/div&gt; &lt;div class="right"&gt; &lt;textarea name="itemtags" id="itemtags" cols="10" rows="5"&gt;&lt;?php echo $_POST['itemtags']; ?&gt;&lt;/textarea&gt; &lt;em&gt;Maximum 50 characteres&lt;/em&gt; &lt;/div&gt; &lt;/div&gt; &lt;/div&gt; &lt;div class="botton"&gt; &lt;input name="additem" id="additem" type="submit" value="Upload Now" class="btn" /&gt; &lt;/div&gt; &lt;/div&gt; &lt;/form&gt; </code></pre> <p>And I would like to upload >3MB files in the .zip field shown below</p> <pre><code>&lt;div class="right"&gt;&lt;input type="file" name="itemfile" id="itemfile" class="input" /&gt; &lt;em&gt;.ZIP File Only &lt;/em&gt; &lt;/div&gt; </code></pre>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload