HomeHome Product Discus... Product Discus...SmithCartSmithCartHow do you set up file upload?How do you set up file upload?
Previous
 
Next
New Post
10/31/2011 8:34 PM
 

SC V4.67.0

I need the ability for customers to upload files with an order, and the file needs to be at the variant level.  I set a variant to be the file upload type.  When I select a file to upload (jpg type), I get the message that the file uploaded correctly but the field turns green and will not add the product to the shopping cart.  It also changes the file path to be C:\fakepath\... my file name.

What is going on?

 

Mary

 
New Post
11/1/2011 7:31 PM
 
Hi Mary,

Which version of DNN are you currently running? are there any errors logged in the Event Viewer?

Thanks,
 
New Post
11/2/2011 5:51 PM
 
Sql Server 2008 R2(SP1); DNN 6.0.2; SC 4.67.00

No, I don't see anything in the event viewer.

Where is it uploading the file to? Is'nt it suppose to include the file name on the order detail info?

Mary
 
New Post
11/3/2011 1:21 PM
 
Hi Mary,

The uploaded files can be found in the Portals\0\SmithCart\CustomerUploads folder.

According to the specifications of HTML5, a file upload control should not reveal the real local path to the file you have selected, if you manipulate its value string with JavaScript. Instead, the string that is returned by the script, which handles the file information is c:\fakepath.

Thanks,

 
Previous
 
Next
HomeHome Product Discus... Product Discus...SmithCartSmithCartHow do you set up file upload?How do you set up file upload?