We have moved to GitHub Issues
You are viewing the read-only archive of Umbraco's issue tracker. To create new issues, please head over to GitHub Issues.
Make sure to read the blog posts announcing the move for more information.
Created by Sebastiaan Janssen 19 Aug 2012, 14:55:05 Updated by Sebastiaan Janssen 28 Aug 2012, 09:27:32
Subtask of: U4-136
I'm hosting Umbraco 4.8.0 on Binero.se, and my site is hosted by several application pools, all reading their content from an unc path.
APPL_PHYSICAL_PATH = \atm.binero.net\content[id][id][domain]\public_html
(Swedish documentation at http://www.binero.se/support/faq/webbdatabas/vad-ar-den-absoluta-sokvagen )
UmbracoFile.Save calls IOHelper.MapPath twice for the path that's used to create the directory where the [in my case] media files should be stored.
input = ~/media/xxx first = \atm.binero.net\content...\public_html\media\xxx second = \atm.binero.net\content...\public_html\atm.binero.se\content...\public_html\media\xxx
The second resolve will create the folder atm.binero.net in public_html which also shows up in my ftp client. The solution/fix for me was to remove the second call to IOHelper.MapPath. I used Reflexil to do this, but I'll attempt to provide a handwritten diff. ;)
''Originally created on CodePlex by [sisve|http://www.codeplex.com/site/users/view/sisve]'' on 7/26/2012 6:16:50 PM [Codeplex ID: 30947 - Codeplex Votes: 4]
Due to the changes to the media uploader, this code is no longer in place so should not be a problem any more.
Backwards Compatible: True
Affected versions: 4.8.0, 4.9.0
Due in version: 4.9.0