Pure ASP Upload 3 Support Product Page

Solved

Just purchased this and can't use it.

Reported 11 Dec 2012 18:39:31
1
has this problem
11 Dec 2012 18:39:31 paul alvarez posted:
See here:www.gtcsystems.com/DMX_asp_upload_error.jpg

I cleared the Cache.
Using CS5.5

I'm trying to put this inside an existing Form with existing Fields. The error given does not make sense.

Help!
thank you

Replies

Replied 11 Dec 2012 18:43:53
11 Dec 2012 18:43:53 Teodor Kuduschiev replied:
Hello Paul,

Please make sure your form has a name and an id.
Replied 11 Dec 2012 18:47:12
11 Dec 2012 18:47:12 paul alvarez replied:
It does:

<form ACTION="<%=MM_editAction%>" METHOD="POST" id="form1" name="form1" >

thanks
Paul
Replied 11 Dec 2012 18:52:05
11 Dec 2012 18:52:05 Teodor Kuduschiev replied:
Please paste all that you have in your form code incl <form> and </form> tags
Replied 11 Dec 2012 18:55:50
11 Dec 2012 18:55:50 paul alvarez replied:
OK, here it is:



<form ACTION="<%=MM_editAction%>" METHOD="POST" name="form1" id="form1">
                  <table width="500" border="0" cellspacing="1" cellpadding="1">
                    <tr>
                      <td class="normal_text"><span class="normal_text_small_blue_bold">GENERAL INFORMATION</span></td>
                      <td>&nbsp;</td>
                    </tr>
                    <tr>
                      <td width="150" class="normal_text">Product Type</td>
                      <td width="350"><label for="Product type"></label>
                        <select name="Product type" class="normal_text" id="Product type">
                          <option value="">select one:</option>
                          <
%While (NOT rsProductTypes.EOF)
%>
                          <option value="<%=(rsProductTypes.Fields.Item("product_type_id").Value)%>"><%=(rsProductTypes.Fields.Item("product_type_name").Value)%></option>
                          <
%  rsProductTypes.MoveNext()
Wend
If (rsProductTypes.CursorType > 0) Then
  rsProductTypes.MoveFirst
Else
  rsProductTypes.Requery
End If
%>
                      </select></td>
                    </tr>
                    <tr>
                      <td width="150" class="normal_text">Product name</td>
                      <td width="350"><label for="Product name"></label>
                      <input name="Product name" type="text" class="normal_text" id="Product name" size="50" /></td>
                    </tr>
                    <tr>
                      <td width="150" class="normal_text">Description</td>
                      <td width="350"><textarea name="Product description" cols="65" rows="5" class="normal_text" id="Product description"></textarea></td>
                    </tr>
                    <tr>
                      <td width="150" class="normal_text">&nbsp;</td>
                      <td width="350">&nbsp;</td>
                    </tr>
                    <tr>
                      <td width="150" class="normal_text_small_blue_bold">PAINTINGS</td>
                      <td width="350">&nbsp;</td>
                    </tr>
                    <tr>
                      <td width="150" class="normal_text">Painting Type</td>
                      <td width="350"><select name="Painting type" class="normal_text" id="Painting type">
                        <option value="">select one:</option>
                        <
%While (NOT rsPaintingTypes.EOF)
%>
                        <option value="<%=(rsPaintingTypes.Fields.Item("painting_type_id").Value)%>"><%=(rsPaintingTypes.Fields.Item("painting_type_name").Value)%></option>
                        <
%  rsPaintingTypes.MoveNext()
Wend
If (rsPaintingTypes.CursorType > 0) Then
  rsPaintingTypes.MoveFirst
Else
  rsPaintingTypes.Requery
End If
%>
                      </select></td>
                    </tr>
                    <tr>
                      <td width="150" class="normal_text">Painting size</td>
                      <td width="350"><label for="Painting size"></label>
                      <input name="Painting size" type="text" class="normal_text" id="Painting size" size="40" /></td>
                    </tr>
                    <tr>
                      <td width="150" class="normal_text">Price - framed</td>
                      <td width="350"><input name="painting price - framed" type="text" class="normal_text" id="painting price - framed" size="40" /></td>
                    </tr>
                    <tr>
                      <td width="150" class="normal_text">Price - Matted only</td>
                      <td width="350"><input name="painting price matted" type="text" class="normal_text" id="painting price matted" size="40" /></td>
                    </tr>
                    <tr>
                      <td width="150" class="normal_text">&nbsp;</td>
                      <td width="350">&nbsp;</td>
                    </tr>
                    <tr>
                      <td width="150" class="normal_text_small_blue_bold">CARDS</td>
                      <td width="350">&nbsp;</td>
                    </tr>
                    <tr>
                      <td class="normal_text">Card Type</td>
                      <td><label for="card type"></label>
                        <select name="card type" class="normal_text" id="card type">
                          <option value="">select one:</option>
                          <
%While (NOT rsCardType.EOF)
%>
                          <option value="<%=(rsCardType.Fields.Item("card_type_id").Value)%>"><%=(rsCardType.Fields.Item("card_type_name").Value)%></option>
                          <
%  rsCardType.MoveNext()
Wend
If (rsCardType.CursorType > 0) Then
  rsCardType.MoveFirst
Else
  rsCardType.Requery
End If
%>
                      </select></td>
                    </tr>
                    <tr>
                      <td width="150" class="normal_text">Price for single</td>
                      <td width="350"><input name="card single price" type="text" class="normal_text" id="card single price" size="40" /></td>
                    </tr>
                    <tr>
                      <td width="150" class="normal_text">Price for box of 10</td>
                      <td width="350"><input name="card price box of 10" type="text" class="normal_text" id="card price box of 10" size="40" /></td>
                    </tr>
                    <tr>
                      <td width="150" class="normal_text">&nbsp;</td>
                      <td width="350">&nbsp;</td>
                    </tr>
                    <tr>
                      <td class="normal_text_small_blue_bold">BOOKS</td>
                      <td>&nbsp;</td>
                    </tr>
                    <tr>
                      <td class="normal_text">Price</td>
                      <td><input name="book price" type="text" class="normal_text" id="book price" size="40" /></td>
                    </tr>
                    <tr>
                      <td class="normal_text">&nbsp;</td>
                      <td>&nbsp;</td>
                    </tr>
                    <tr>
                      <td class="normal_text_small_blue_bold">PHOTO</td>
                      <td>&nbsp;</td>
                    </tr>
                    <tr>
                      <td class="normal_text">Filename of photo<br />
                        <span class="normal_text_small">(no spaces)</span></td>
                      <td><input name="File Upload" type="text" class="normal_text" id="File Upload" size="40" /> <input type="submit" name="button2" id="button2" value="Browse..."> <input name="upload" type="submit" class="ClassTitle" id="upload" value="Upload"></td>
                    </tr>
                    <tr>
                      <td class="normal_text">&nbsp;</td>
                      <td>&nbsp;</td>
                    </tr>
                    <tr>
                      <td class="normal_text">Publish?</td>
                      <td><input name="publish" type="checkbox" id="publish" value="Yes" />
                      <label for="publish"></label></td>
                    </tr>
                    <tr>
                      <td class="normal_text">&nbsp;</td>
                      <td><input type="submit" name="button" id="button" value="Add new product" /></td>
                    </tr>
                  </table>
                  <input type="hidden" name="MM_insert" value="form1" />
                </form>

Replied 11 Dec 2012 18:58:27
11 Dec 2012 18:58:27 Teodor Kuduschiev replied:
Unfiortunately you don't have an upload field.

There is no a
type="file"
field in your code.
Replied 11 Dec 2012 19:11:59
11 Dec 2012 19:11:59 paul alvarez replied:
That was it. The error message was confusing, but I see what you mean now. thanks for the quick responses!

Paul

Reply to this topic