Media Settings: database or file system

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
11 years ago
Can someone please explain how these two differ. Which one is better. I had database then I changed it to file system and nothing works in the admin or the site as a user. I changed it back to database and all of my pictures are gone. Had to do a restore.
11 years ago
When you save yor picture in the database ther are no files saved. When you save in file system all picture will be saved in the file system as files.

Wich one that is the best deppends on many things. I prefer to store in file system beacuse the data base can grow very big if you store many picture in it.

I think this is correct answer
11 years ago
When I try and change it to "file system" I get the following error:

We're sorry, an internal error occurred that prevents the request to complete.

Our supporting staff has been notified with this error and will address this issue shortly. We profusely apologize for the inconvenience and for any damage this may cause. You might want to try the same action at later time.
11 years ago
Hi

I had this issues I resolved by removing all images in the Database. Restarted the application in the nop backend changed it in the admin to hold the pictures within the file system and uploaded directly to the products. It works fine my end.

If not reinstal.

Richard
11 years ago
Did you delete the pictures from nopCommerce admin or did you delete the pictures from the back end in SQL?
11 years ago
I deleted them directly from the SQL. But you can do either, If you have allot of images I have between 5000/7000 it would be better to directly delete see example from below.

DELETE FROM [Nop].[dbo].[Picture]where ID Between 1 and 10000; GO


Any problems don't hesitate to ask.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.