Media path mismatch

This is my process.

  1. Add media using the media manager.
  2. Create a blog post
  3. Try to add images to the post and the path doesn’t seem to work.
  4. Change the path manually to the file inside content box and it does work.
    Of course we would want to eliminate 4 and change three to works. It shows a “/__media/” path and that is not working. Is there a setting off or what is the cause here? I wanted to figure it out before filing a bug and make sure it wasn’t something done wrong in setup.

Can you paste in the full URL that’s being generated. I’m not too familiar with the media providers right off, but I assume “__media” is a custom-generated route in one of the module configs.

Also, can you elaborate on “doesn’t work”. Do get an error, 404, etc?

Thanks!

~Brad

ColdBox Platform Evangelist
Ortus Solutions, Corp

E-mail: brad@coldbox.org
ColdBox Platform: http://www.coldbox.org
Blog: http://www.codersrevolution.com

I'd like to know the answer to that, too. Been having to manually paste in the direct content path. Tweaked the settings but can't seem to find out how _media is set.

I believe this is a bug and was fixed on the dev branch.

When do you push live updates?

Anyone can fork GitHub down keep the nightly build downloaded to their machine, but it won’t always work if there are new settings/DB records that go along with it. We’ve been releasing a new minor version (via installer) about once a month.

Thanks!

~Brad

ColdBox Platform Evangelist
Ortus Solutions, Corp

E-mail: brad@coldbox.org
ColdBox Platform: http://www.coldbox.org
Blog: http://www.codersrevolution.com

Ah we ran into the same problem. Can you give me a revision that I can merge the necessary changes into out installation?

The current update seems to have fixed this issue. 1.5.5 ! :slight_smile:

Today I changed “useMediaPath” to false [/modules/contentbox/model/system/SettingService.cfc]
This worked as well.

Will try the update later.

Cheers