Reading back over his earlier post, I believe the errors are occurring within the conditional block. He ran the same test as you without issue. *Excerpt from earlier message:*
Exactly. Yet - code ABOVE the CFIF worked. So if I did <cfdump var="#server#"><cfabort> and reloaded, I saw the dump. Yet any change I made inside the cfif (for example, changing the listgetAt, commenting it out, etc) simply did not show up. > What's the condition that would execute what's inside the cfif block? > What's the error? BlogCFC uses a large CFIF block to initialize all the application scope variables. So it will run when things are starting up, or you can force it to run with ?reinit=1 in the URL. On Thu, Feb 26, 2009 at 9:35 PM, Matthew Woodward <[email protected]>wrote: > Raymond Camden wrote: > >> No, the code looks like so (pseudo-code) >> >> if not isdefined app.init >> set a bunch of crap >> app.init = true >> ed if >> >> > > Been messing with this for a while and can't reproduce it--just making sure > I did the steps correctly to try to reproduce: > > 1. Downloaded latest OpenBD Ready2Run > 2. Downloaded latest BlogCFC > 3. Dropped BlogCFC code into cfmlWebContext_1 > 4. Created database, datasource, etc. > 5. I commented out all the version check stuff > 6. Ran code--loaded fine > 7. Added <cfdump var="#server#"> to Application.cfm (the one in the client > directory) right before the big conditional block > 8. Ran code--saw dump > 9. Removed dump > 10. Ran code again--dump wasn't there > > This was all on a Mac with MySQL 5. > > So when you put the dump in there you saw the dump, but then after you > removed it it didn't go away? > > -- > Matt Woodward > [email protected] > http://www.mattwoodward.com/blog > > Please do not send me proprietary file formats such as Word, PowerPoint, > etc. as attachments. > http://www.gnu.org/philosophy/no-word-attachments.html > > -- Anthony Hixon, Jr. Certified Advanced ColdFusion MX 7 Developer Mobile: (706) 639-3617 [email protected] --~--~---------~--~----~------------~-------~--~----~ Open BlueDragon Public Mailing List http://groups.google.com/group/openbd?hl=en official site @ http://www.openbluedragon.org/ !! save a network - trim replies before posting !! -~----------~----~----~----~------~----~------~--~---
