Error with Order Anywhere links broken/not working

General ShopSite user discussion

Error with Order Anywhere links broken/not working

Postby smileyfta » Thu May 06, 2010 1:36 pm

I have copy and pasted from html all my links and they work except for this one particular one and when you click on "add to cart" it shows a page with the following error message:

Error verifying /usr/local/Shopsite/ss10.0/sbrc/ipower/sc/205583495c09e25d81f50f2b6a6d99bdb09c,*22ad1cfb2f95a89001407004b2d695dc5fd651,*24736a8f95c3e51ca1a20950fbbe6906d1492dc0:BAD INPUT.auth
This store may not be authorized to run ShopSite software. Please contact the merchant or webmaster.


Solutions:

1) If the file has been modified or corrupted copy the original store.auth file from the install directory to 205583495c09e25d81f50f2b6a6d99bdb09c,*22ad1cfb2f95a89001407004b2d695dc5fd651,*24736a8f95c3e51ca1a20950fbbe6906d1492dc0:BAD INPUT.auth in the store data directory.
2) If solution 1 does not work, contact the vendor that sold you ShopSite software to get a valid auth file.


Details:

Unable to find auth file for 205583495c09e25d81f50f2b6a6d99bdb09c,*22ad1cfb2f95a89001407004b2d695dc5fd651,*24736a8f95c3e51ca1a20950fbbe6906d1492dc0:BAD INPUT.

It is the first item called "Myst of Fire" located here on this web page:
http://www.fireprints.com/allanalbaitis.htm

I have redmade and recopied the link and buttons without any luck I have also published everything. Any suggestions as to how to fix this please would be greatly appreciated.
smileyfta
 
Posts: 27
Joined: Sun May 24, 2009 3:41 pm

Postby loren_d_c » Thu May 06, 2010 2:17 pm

Looking at the HTML source of that page, it looks like you have tried to cobble together multiple add to cart forms (it is certainly not purely in the format that the OrderAnywhere feature would have delivered it). In this one product's add to cart form you have several of the form field values that should only appear once included in the form multiple times. This includes the storeid, dbname, and function fields, which are each in that particular form 3 times (should only be once). You also have the itemnum field in the form 3 times with three different values. This won't produce an error, but it will add those 3 different products to the cart when the form is submitted (once the other duplicate fields are removed). This probably isn't what you want in this case, so you should probably only have the itemnum field in the form once as well.

-Loren
loren_d_c
 
Posts: 2572
Joined: Fri Aug 04, 2006 12:02 pm
Location: Anywhere

Have deleted and repasted without any luck.

Postby smileyfta » Thu May 06, 2010 2:55 pm

Well I have deleted them and recopied and pasted them over and over and they still do not work. How do you suggest I fix it exactly? Thank You in advance.
smileyfta
 
Posts: 27
Joined: Sun May 24, 2009 3:41 pm

Postby Jim » Thu May 06, 2010 4:45 pm

Here is an example of what Loren was talking about.
Code: Select all
<form action="http://shopsite.ipower.com/ss10.0/sc/order.cgi" method="post">
              <input type="hidden" name="itemnum" value="38"><input type="hidden" name="function" value="add"><input type="hidden" name="dbname" value="products"><input type="hidden" name="storeid" value="*1c4c55f5909fb951d07d467b6b50253b">
              <input type="hidden" name="38:finoptnum" value="1">
              <input type="hidden" name="itemnum" value="38">
              <input type="hidden" name="function" value="add">
              <input type="hidden" name="dbname" value="products">
              <input type="hidden" name="storeid" value="*205583495c09e25d81f50f2b6a6d99bdb09c">
              <input type="hidden" name="38:finoptnum" value="1">
              <input type="hidden" name="itemnum" value="40">

              <input type="hidden" name="function" value="add">
              <input type="hidden" name="dbname" value="products">
              <input type="hidden" name="storeid" value="*22ad1cfb2f95a89001407004b2d695dc5fd651">
              <input type="hidden" name="40:finoptnum" value="1">
              <p style="margin-top: 0; margin-bottom: 0"><b>Framed With Print</b></p>
              <p style="margin-top: 0; margin-bottom: 0"><b>Item# FAA17</b><br>
              <select name="38:finopt:0" size="1">
              <option value="16x20 Black Frame-$104.95 ;+0">16x20 Black
              Frame-$104.95</option>

              <option value="16x20 Oak Frame-$104.95 ;+0">16x20 Oak
              Frame-$104.95</option>
              <option value="16x20 Cherry Frame-$104.95 ;+0">16x20 Cherry
              Frame-$104.95</option>
              <option value="22x26 Black Frame-$159.95 ;+60">22x26 Black
              Frame-$159.95</option>
              <option value="22x26 Oak Frame-$159.95 ;+60">22x26 Oak
              Frame-$159.95</option>
              <option value="22x26 Cherry Frame-$159.95 ;+60">22x26 Cherry
              Frame-$159.95</option>
              </select> <input type="hidden" name="38:finoptnum" value="1"><br>

              <input type="hidden" name="storeid" value="*24736a8f95c3e51ca1a20950fbbe6906d1492dc0">
              <input type="hidden" name="dbname" value="products">
              <input type="hidden" name="function" value="add">
              <input type="hidden" name="itemnum" value="38">
              <input type="image" src="http://shopsite.ipower.com/ss10.0/shopsite-images/en-US/buttons/clean-red/red-addtocart.jpg" border="0" align="bottom" alt="Add to Cart" name="Add to Cart" width="109" height="30">
              <input type="image" src="http://shopsite.ipower.com/ss10.0/shopsite-images/en-US/buttons/clean-red/red-viewcart.jpg" border="0" align="bottom" alt="View Cart" name="View Cart" width="96" height="30">
              </p>
            </form>

Notice the multiple lines like
name="storeid" value="*1c4c55f5909fb951d07d467b6b50253b">
<input type="hidden" name="dbname" value="products">
<input type="hidden" name="storeid" value="*205583495c09e25d81f50f2b6a6d99bdb09c">
<input type="hidden" name="storeid" value="*22ad1cfb2f95a89001407004b2d695dc5fd651">
<input type="hidden" name="storeid" value="*24736a8f95c3e51ca1a20950fbbe6906d1492dc0">


There should only be one instance of the storeid, dbname, itemnum, function=add etc in each form that begins with <form ... and ends with </form>

We don't under stand what you are trying to accomplish by having all of those duplicate elements in a single form but it just won't work. You should copy the html code generated for each product from the Merchandising > Order Anywhere page and paste that individually inside of your html page, Making sure that you do not put one form within another form.
Jim
Site Admin
 
Posts: 4953
Joined: Fri Aug 04, 2006 1:42 pm
Location: Utah

Postby smileyfta » Thu May 06, 2010 5:27 pm

I am not trying to duplicate elements, all I am trying to do is have an unframed print and a framed print of "Myst of Fire". I am creating and unframed and a framed just like the rest of my buttons on the same page and in the same manner. I am going to shopsite and copy and pasting from "order anywhere" section the html and it is not working. I am doing it the same way as I did all the other ones.
smileyfta
 
Posts: 27
Joined: Sun May 24, 2009 3:41 pm

Postby Jim » Thu May 06, 2010 8:44 pm

Copy and paste the order anywhere code for an unframed print in one post to the forum Then do another post with the order anywhere code for the framed print. Be sure you copy and paste all of the code for each in the respective posts so we can see exactly what you are starting with.
Jim
Site Admin
 
Posts: 4953
Joined: Fri Aug 04, 2006 1:42 pm
Location: Utah


Return to User Forum

Who is online

Users browsing this forum: No registered users and 115 guests