Unable to add media/configure FileWorkerComponentBase

Jun 10, 2013 at 10:16 AM
I have set up a demo site with the free Magelia license and have run into some problem when trying to add some media. I get the message 'Please configure FileWorkerComponentBase in order to manage files'. I then set the FileWorkerComponentBase under Store Configuration with Folder path to: "C:\ProjectDir\Medias\Images" and Folder Url to my orchard site: http://localhost/media/images/. This however doesn't seem to work and I still get the error message in the media content section.

I took a look at the public demo site that is running here: http://demo.magelia.org/admin/login.aspx?ReturnUrl=%2fadmin%2f and they haven't set the FileWorkerComponentBase settings and still get the media section working.

Am I missing something here? When configuring the store configuration setting I need to uncheck the section that I want to edit in order to fill in the textboxes, does this still mean that the configuration is active? If I try to check that checkbox after filling in the textboxes the configurations seems to disappear.

Thankful for any kind of help!
Coordinator
Jun 10, 2013 at 2:30 PM
Edited Jun 10, 2013 at 2:31 PM
Hi,

WorkerComponent can be configured for the "seller" scope or for the "store configuration" scope.

To configure WorkerComponent :
  • On the "Seller Settings" page, you have a "configuration" tab. You can configure here all workercomponents :
    Image
  • On the "Store configuration" page, you can override settings for specific workerComponent. If "Use seller configuration" is checked, the application will use the configuration specified on the "seller settings" page :
    Image
For your configuration problem :
  • Folder path defines the folder in which the Medias are uploaded.
  • Folder URL defines the URL of this folder for the users.
The configuration you use expect that http://localhost/medias/images/ correspond to the following directory C:\ProjectDir\Medias\Images. Is it the case ?


Cyril DURAND
Coordinator
Jun 10, 2013 at 2:35 PM
Edited Jun 10, 2013 at 2:36 PM
I just see another possible issue.

It seems that you have configured FileSystemWorkerComponent only on the "store configuration" page not on the "seller settings" page.

On some page of the Back-Office we don't know which store to use, so we don't use "WorkerComponent configuration" configured on the "store configuration" scope. We use only the "Seller" scope. Product page is one of these pages :-(


You should configure FileSystemWorkerComponent at the "seller settings" scope.


I have filled on issue on our internal bug tracking and will try to simplify this case in a future release.
Jun 10, 2013 at 3:07 PM
cdurand wrote:
It seems that you have configured FileSystemWorkerComponent only on the "store configuration" page not on the "seller settings" page.
That seemed to be the issue! Works now, thank you.