After we upgraded we noticed that all our media urls seemed to be incorrect when trying to access them in the backend. They look like this for example.
What version did you upgrade from? And did you follow all the steps described in the release notes?
Perhaps you're missing some settings in web.config and the new config files from the config folder - also make sure to merge umbracoSettings.config using winmerge for instance. If I remember correctly some stuff have been added that relates to the media section.
Thanks for the quick answer. The error seems to lie in the umbrac.webservices dll. I completley forgot that we have done our own implementation of it and the uses the old way of saving media.
After updating the mediaservice the url is now correct (no thumbnail is shown though and i still cannot list the images). The link works, and opens the image. In the log I see a lot of this kind of error. Does that have something to do with the media listing?
Error adding stylesheet to tinymce (id: 1049). System.NullReferenceException: Object reference not set to an instance of an object. at umbraco.editorControls.tinyMCE3.TinyMCE..ctor(IData Data, String Configuration)
Media image url incorret after upgrade to 4.9.0
Hi,
After we upgraded we noticed that all our media urls seemed to be incorrect when trying to access them in the backend. They look like this for example.
Hi Tommy
What version did you upgrade from? And did you follow all the steps described in the release notes?
Perhaps you're missing some settings in web.config and the new config files from the config folder - also make sure to merge umbracoSettings.config using winmerge for instance. If I remember correctly some stuff have been added that relates to the media section.
Try skimming the inputs in this post about upgrading from 4.7.1 to 4.9 http://our.umbraco.org/forum/getting-started/installing-umbraco/34436-49-imagesmedia-broke?p=0#comment126546
Hope this helps.
/Jan
Hi Jan,
Thanks for the quick answer. The error seems to lie in the umbrac.webservices dll. I completley forgot that we have done our own implementation of it and the uses the old way of saving media.
System.IO.Directory.CreateDirectory(IOHelper.MapPath(SystemDirectories.Media + "/" + m.getProperty("umbracoFile").Id));
string path = SystemDirectories.Media + "/" + m.getProperty("umbracoFile").Id + "/" + filename;
string fullFilePath = IOHelper.MapPath(path);
I will have to update our code with the new filesystem provider and i think it will work fine. Thanks!
After updating the mediaservice the url is now correct (no thumbnail is shown though and i still cannot list the images). The link works, and opens the image. In the log I see a lot of this kind of error. Does that have something to do with the media listing?
Error adding stylesheet to tinymce (id: 1049). System.NullReferenceException: Object reference not set to an instance of an object. at umbraco.editorControls.tinyMCE3.TinyMCE..ctor(IData Data, String Configuration)
is working on a reply...