On Apr 3, 1:55 pm, "Peter R. Schmidt" <wshb...@mindspring.com> wrote:
> I would like to bein learning Mach -II. Is there a good place to begin??
You're here - the mailing list is probably one of the best resources!
That said - here are a few others:
Mach-ii.com site - Docs, code (samples) - the resource page could
really stand an update!!!
I found these helpful:
mach-ii.info - download the example files http://mach-ii.info/
(thought right now this seems down?)
Mach-II Development Guide: http://livedocs.adobe.com/wtg/public/machiidevguide/
Sean's other Mach-II stuff: http://corfield.org/index.cfm/event/machii.downloads
MachBlog - check out the code: http://www.machblog.org/
Heard this on ColdFusion Weekly:
http://www.iknowkungfoo.com/blog/index.cfm/2007/2/12/Moving-from-Procedural-to-Object-Oriented-Programming-with-MachII-for-Coldfusion
and
http://www.cfcdeveloper.com/index.cfm/2007/3/27/Creating-an-MVC-Coldfusion-OOP-Application--Part-1
Speaking of CFWeekly - maybe setting up a http://del.icio.us/mach-ii
links page may be useful??
Jim
Thanks for pointing out mach-ii.info was down. I haven't made any code changes recently and out of the blue it's doing a White Screen of Death. It's was a pain to track down because I was not getting any exception. By deleting parts of mach-ii.xml I narrowed down the problem to the <redirect /> command. If I had any events that used the redirect command, I would get the WSD. When I removed all instances of the redirect command the problem goes away. For example
<event-handler event="registration.registercontinue" access="private">
<notify listener="applicationListener" method="sendRegistrationConfirmation" /> <redirect event=" registration.complete" />
</event-handler>
would cause a WSD. Note that just the existence of that in the xml would cause the WSD, even if I tried to execute an event without a redirect.
This only happens on my shared server at CrystalTech and not on my local dev environment. Both are version 7,0,2,142559.
Any ideas why <redirect> would be a probem? and/or how to get better error messages as opposed to WSD?
-Phil
I'm using v1.1.1 and I always get the WSD. Thanks.
-Phil
On 4/4/07, Peter J. Farrell <pe...@mach-ii.com> wrote:
>
--
Sincerely,
Brian Meloche
brianmeloche at gmail dot com
http://www.brianmeloche.com/blog/
User Group Manager,
Cleveland Adobe Users Group,
http://www.clevelandmmug.org
User Group Manager,
Cleveland ColdFusion Users Group,
http://www.clevelandcfug.org
I did notice that there is a space:
<redirect event=" registration.complete" />
In front of your redirect event name. I don't know how many redirects
are in Mach-II.info but there could be the problem.
Does your XML validate against the DTD? Have you tried using the built
in validate XML of Mach-II? It could give you an idea of what's up.
Also, is the shared host Linux based? I assume you're testing on
Windows. Could be a casing issue, but then again I've run 1.1.1 on
Linux/Unix boxes.
.Peter
I just checked Mach-II.info - there are hundreds of lines of whitespace
in the served file which leads me to believe there is a enablecfoutput
tag somewhere. Are you sure you don't have an enablecfoutput="true"
somewhere in your code that's causing no output to be displayed? If it
just started cropping up, it could have been a file a stuck in the cache
and a server restart etc. caused a re-parsing of the file thus the
sudden issue. It is more likely not a Mach-II issue.
You can try and turn on the TracePlugin which is in the core framework
under plugins - this should give you an idea of what the framework is
doing. Instructions are in the file header of the TracePlugin.
.pjf
.pjf