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/