Hi Peter,

Thanks for the quick response!

I see - I'm using 1.8.0

I agree - it would have been much easier to used a mapped drive letter, but 
CF does not seem to play nice with it. I already spent several hours trying 
to get it to understand a drive letting when creating a mapping in the 
administrator. I'm using CF10 and could not get the mappings to accept the 
mapped network drive. 

On the sites that were not using MachII some of them required CF mappings 
to the root to work, which seemed happy with those using UNC paths (the 
mapped drive would not work for me in the administrator).

On the MachII sites I was setting up I do not need any CF mappings at all 
for them to work - so nothing extra was done in the CF administrator. 
Should I have mapped one anyways? If so the drive letter mapping would 
still be an issue.

I checked the environment setup out for that same reason and the correct 
host names are already there.

For the filter there is numerous files involve - all these have been 
working perfectly in production environments for several years, when on the 
server's physical drive so I know there is no issues with that they are 
doing. I don't want to get into now trying/testing and updating code if 
this setup won't work as in example the site with the filter issue has tens 
of thousands of files and hundreds of thousands of lines of code, so it 
will be a nightmare! :)

If you have found people able to do this successfully in the past its 
likely I just need to update how I have set it up. Otherwise if its going 
to involve many changes to sites already working I may have to resetup the 
server to use it's physical drive, instead of a network one. :(

Best,

Shaun

<https://lh6.googleusercontent.com/-hPgmwm873Ic/T8hGdyg2aOI/AAAAAAAAAC0/W77h_4NBJTs/s1600/screen-capture.png>


On Friday, June 1, 2012 1:57:17 PM UTC+10, Shaun wrote:
>
> Hi, 
>
> I have used MachII on numerous projects, but recently was tasked with 
> relocating some websites using the Framework to a new server. 
>
> The location of the Framework and all websites is on a network drive 
> and as such the root path looks something like: 
>
> //vmware-host/Shared Folders/sites/MachII 
> //vmware-host/Shared Folders/sites/website 
>
> Instead of previously being something like: 
>
> C:\inetpub\wwwroot\MachII 
> C:\inetpub\wwwroot\website 
>
> This seems to have caused a whole range of issues with the Framework 
> and there are many things that are not working. Firstly relative paths 
> in the config would not even load. This was fixed by adding the 
> following code at the end of the expandRelativePath() function in 
> MachII/util/Utils.cfc 
>
> <cfif Left(arguments.baseDirectory, 2) is "\\"> 
>         <cfset resolvedPath = "\\" & resolvedPath /> 
> </cfif> 
>
> However then other things seem to be unworking - depending on the site 
> - one was using the MachII environments and refused to load past that 
> point. Another older site before MachII environments existed (had its 
> own environment system) was reporting errors with "event" being 
> undefined in arguments while using a filter. On that one I was able to 
> remove some filter code and get a page to load, but as soon as an 
> event was triggered I would get the same event undefined error. 
>
> My feeling on this is that events are not being passed through, likely 
> because of something like a hash id for memory storage being different 
> in several places (possible due to me changing that util code) and 
> thus it cant be looked up and found on subsequent execution flow. This 
> is simply a guess but one way or another MachII does not seem to play 
> nice with it being on a network drive. 
>
> Additionally other sites I have migrated that do not use MachII are 
> fine. 
>
> Help on this would be appreciated as all MachII sites wont' work with 
> a network drive setup :( 
>
> Best Regards, 
>
> Shaun Byrnes

-- 
To post to this group, send email to [email protected]
For more options and to unsubscribe, visit this group at 
http://groups.google.com/group/mach-ii-for-coldfusion?hl=en

SVN: http://svn.mach-ii.com/machii/
Wiki / Documentation / Tickets: http://trac.mach-ii.com/machii/

Reply via email to