Save Product Image in APP_Data Folder

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
pradyuman
Lieutenant, Jr. Grade (LT JG)
Lieutenant, Jr. Grade (LT JG)
Posts: 29
Joined: Tue Sep 16, 2008 11:51 pm
Location: INDIA (Gujarat)
Contact:

Save Product Image in APP_Data Folder

Post by pradyuman » Thu Sep 25, 2008 8:16 am

Hi All,

I have configured AbleCommerce Demo version at my development Server. All works fine, now I have already running AbleCommerce at Live testing server. After Adding New product, when I upload product photograph it gives me File Permission Error. My hosting provider is AbleComerce only they told because it is shared server they can not give that file permission.

Now if I start saving all images to App_Data folder then it must work as it is write permitted folder. I didin't find any way to save image at APP_Data folder.

Can any one tell me how to configure AbleCommerce7.0 so that all uploaded product images will go under App_Data Folder ?

Thank You
Pradyuman Jadeja
M.E.(Computer), B.E.I.T.
pradyuman@gnwebsoft.com
http://www.gnwebsoft.com

User avatar
jmestep
AbleCommerce Angel
Posts: 8164
Joined: Sun Feb 29, 2004 8:04 pm
Location: Dayton, OH
Contact:

Re: Save Product Image in APP_Data Folder

Post by jmestep » Thu Sep 25, 2008 9:10 am

You might want to check with another hoster so you don't run into these problems. Some of us are on shared hosters and are able to do all except encrypt the database connection settings.
You can also upload the images via ftp to the proper folder, then put the links in. If you're trying to upload them and re-size at the same time, you can use something like Irfanview or Batch Picture resizer to size them in a batch before you upload them.
Judy Estep
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx

User avatar
AbleMods
Master Yoda
Master Yoda
Posts: 5170
Joined: Wed Sep 26, 2007 5:47 am
Location: Fort Myers, Florida USA

Re: Save Product Image in APP_Data Folder

Post by AbleMods » Thu Sep 25, 2008 5:18 pm

You shouldn't be putting images in the ~/App_Data/ folder.

Images should go in the ~/Assets/ folders or a sub-folder underneath it.
My hosting provider is AbleComerce only they told because it is shared server they can not give that file permission.
Are you trying to set up products with images using the Able demonstration install? If so, that's probably why you can't upload images.

If you've purchased AC7, then something is not configured properly on the server side. You should be able to upload product images to the ~/Assets/ folder without a permissions error.
Joe Payne
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com

User avatar
jmestep
AbleCommerce Angel
Posts: 8164
Joined: Sun Feb 29, 2004 8:04 pm
Location: Dayton, OH
Contact:

Re: Save Product Image in APP_Data Folder

Post by jmestep » Fri Sep 26, 2008 5:41 am

OOPs, sorry, Able. I didn't read carefully that this was a demo hosted at Able. No, don't get another hosting provider, pradyuman. :D
Judy Estep
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx

Post Reply