SOLVED: baseUrl and basePath in media sources get lost

I have several MODx installtion and was never able to activate individual media sources.

When I try this

Name: Photos

basePath images/
basePathRelative Yes
baseUrl images/
baseUrlReleative Yes

the settings in basePath and baseUrl are always empty after saving. In the ressource tree as well as in the media browser the new “Photos” source will be shown - but starting with the root.

Nevertheless the properties settings seems to be correct in the database

a:2:{s:8:"basePath";a:6:{s:4:"name";s:8:"basePath";s:4:"desc";s:23:"prop_file.basePath_desc";s:4:"type";s:9:"textfield";s:7:"options";a:0:{}s:5:"value";s:7:"images/";s:7:"lexicon";s:11:"core:source";}s:7:"baseUrl";a:6:{s:4:"name";s:7:"baseUrl";s:4:"desc";s:22:"prop_file.baseUrl_desc";s:4:"type";s:9:"textfield";s:7:"options";a:0:{}s:5:"value";s:7:"images/";s:7:"lexicon";s:11:"core:source";}}

There are no errors JS errors in the browser console, I checked all path settings in the config files, turned off .htaccess in the root just in case some entry could block something, checked the folder permissions - no luck.

Has anybody any idea whats going wrong?

This way it works for me:

  1. Upload an image in the wanted directory
  2. Make a new media resoureces pointing to the directory. Click save
  3. Clear MODx cache via file system
  4. Reload the manager
  5. Done