|
View:
New views
20 Messages
—
Rating Filter:
Alert me
|
| < Prev | 1 - 2 | Next > |
|
|
Reality checkJust need confirmation that I'm not losing it.. I have apache running on my dev server. A client gave me his files and I'm trying to get them set up on my local server (he is running IIS). However, after I create the mappings in CF and go to the directory that in his IIS, he has set to default to, I get a ColdFusion error (some variable is a complex variable or some such). It finds the files and the cfc as well. So.. It isn't that I'm using Apache and they are using IIS.. Right? The code is just broke. or am I missing something here? ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:324303 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=17837.14401.4 |
|
|
Re: Reality check>>>The code is just broke.It sounds like it, but it would be helpful if you showed us the actual error message. -- Alan Rother Adobe Certified Advanced ColdFusion MX 7 Developer Manager, Phoenix Cold Fusion User Group, AZCFUG.org ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:324304 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=17837.14401.4 |
|
|
Re: Reality checkThat might depend on the app. We have seen instances where IIS will pass something as one CGI variable, whereby Apache would send it as something completely different. If you don't have internal logic to check for both and act accordingly, it can be an issue. These occurrences are rare, but possible. Steve "Cutter" Blades Adobe Certified Professional Advanced Macromedia ColdFusion MX 7 Developer Co-Author of "Learning Ext JS" http://www.packtpub.com/learning-ext-js/book _____________________________ http://blog.cutterscrossing.com On 7/7/2009 10:24 AM, Phillip Vector wrote: > Just need confirmation that I'm not losing it.. > > I have apache running on my dev server. A client gave me his files and > I'm trying to get them set up on my local server (he is running IIS). > > However, after I create the mappings in CF and go to the directory > that in his IIS, he has set to default to, I get a ColdFusion error > (some variable is a complex variable or some such). It finds the files > and the cfc as well. > > So.. It isn't that I'm using Apache and they are using IIS.. Right? > The code is just broke. > > or am I missing something here? > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:324305 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=17837.14401.4 |
|
|
RE: Reality checkDon't forget about case-sensitivity of filenames. Especially on includes and such. > -----Original Message----- > From: Phillip Vector [mailto:vector@...] > Sent: Tuesday, July 07, 2009 10:25 AM > To: cf-talk > Subject: Reality check > > > Just need confirmation that I'm not losing it.. > > I have apache running on my dev server. A client gave me his files and > I'm trying to get them set up on my local server (he is running IIS). > > However, after I create the mappings in CF and go to the directory > that in his IIS, he has set to default to, I get a ColdFusion error > (some variable is a complex variable or some such). It finds the files > and the cfc as well. > > So.. It isn't that I'm using Apache and they are using IIS.. Right? > The code is just broke. > > or am I missing something here? > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:324308 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=17837.14401.4 |
|
|
Re: Reality checkThe files were given to me as is and I was told they work fine on his windows dev machine. The more I think about it, the more I'm wondering if I don't have the files that are on the server, or his remake of it (he said only the admin directory works currently, but on the site, the non-admin files work). I'm installing a virtural machine and seeing about eliminating all possible issues with the server config. On Tue, Jul 7, 2009 at 9:18 AM, Nathan C. Smith<nathan.smith@...> wrote: > > Don't forget about case-sensitivity of filenames. Especially on includes and such. > >> -----Original Message----- >> From: Phillip Vector [mailto:vector@...] >> Sent: Tuesday, July 07, 2009 10:25 AM >> To: cf-talk >> Subject: Reality check >> >> >> Just need confirmation that I'm not losing it.. >> >> I have apache running on my dev server. A client gave me his files and >> I'm trying to get them set up on my local server (he is running IIS). >> >> However, after I create the mappings in CF and go to the directory >> that in his IIS, he has set to default to, I get a ColdFusion error >> (some variable is a complex variable or some such). It finds the files >> and the cfc as well. >> >> So.. It isn't that I'm using Apache and they are using IIS.. Right? >> The code is just broke. >> >> or am I missing something here? >> >> > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:324309 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=17837.14401.4 |
|
|
Re: Reality checkAs for the error message.. The WEEKDAYDAO argument passed to the init function is not of type ScheduleTimeDAO. If the component name is specified as a type of this argument, its possible that a definition file for the component cannot be found or is not accessible. The error occurred in C:\Webpages\Testing\vv_loc\cfcs\schedules\ScheduleDAO.cfc: line 6 Called from C:\Webpages\VinoVisit\vv_loc\cfcs\schedules\ScheduleBuilder.cfc: line 22 Called from C:\Webpages\VinoVisit\vv_loc\admin\application.cfc: line 22 4 : <cfset variables.instance.scheduleWeekdayDAO=null /> 5 : 6 : <cffunction name="init" access="package" output="false" returntype="ScheduleDAO"> 7 : <cfargument name="TimeDAO" type="ScheduleTimeDAO" required="true"> 8 : <cfargument name="WeekdayDAO" type="ScheduleTimeDAO" required="true"> The main thing that makes me suspect that it's code is that I'm accessing http://127.0.0.1/Testing/vv_loc/admin/ and it's correctly pointing to C:\Webpages\Testing\vv_loc\cfcs\schedules\ScheduleDAO.cfc On Tue, Jul 7, 2009 at 9:23 AM, Phillip Vector<vector@...> wrote: > The files were given to me as is and I was told they work fine on his > windows dev machine. The more I think about it, the more I'm wondering > if I don't have the files that are on the server, or his remake of it > (he said only the admin directory works currently, but on the site, > the non-admin files work). > > I'm installing a virtural machine and seeing about eliminating all > possible issues with the server config. > > On Tue, Jul 7, 2009 at 9:18 AM, Nathan C. Smith<nathan.smith@...> wrote: >> >> Don't forget about case-sensitivity of filenames. Especially on includes and such. >> >>> -----Original Message----- >>> From: Phillip Vector [mailto:vector@...] >>> Sent: Tuesday, July 07, 2009 10:25 AM >>> To: cf-talk >>> Subject: Reality check >>> >>> >>> Just need confirmation that I'm not losing it.. >>> >>> I have apache running on my dev server. A client gave me his files and >>> I'm trying to get them set up on my local server (he is running IIS). >>> >>> However, after I create the mappings in CF and go to the directory >>> that in his IIS, he has set to default to, I get a ColdFusion error >>> (some variable is a complex variable or some such). It finds the files >>> and the cfc as well. >>> >>> So.. It isn't that I'm using Apache and they are using IIS.. Right? >>> The code is just broke. >>> >>> or am I missing something here? >>> >>> >> >> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:324310 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=17837.14401.4 |
|
|
RE: Reality checkHey Nathan, Could you provide the error your receiving? Paul Alkema Application Developer http://www.alkemadesigns.com/ -----Original Message----- From: Nathan C. Smith [mailto:nathan.smith@...] Sent: Tuesday, July 07, 2009 12:18 PM To: cf-talk Subject: RE: Reality check Don't forget about case-sensitivity of filenames. Especially on includes and such. > -----Original Message----- > From: Phillip Vector [mailto:vector@...] > Sent: Tuesday, July 07, 2009 10:25 AM > To: cf-talk > Subject: Reality check > > > Just need confirmation that I'm not losing it.. > > I have apache running on my dev server. A client gave me his files and > I'm trying to get them set up on my local server (he is running IIS). > > However, after I create the mappings in CF and go to the directory > that in his IIS, he has set to default to, I get a ColdFusion error > (some variable is a complex variable or some such). It finds the files > and the cfc as well. > > So.. It isn't that I'm using Apache and they are using IIS.. Right? > The code is just broke. > > or am I missing something here? > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:324311 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=17837.14401.4 |
|
|
Re: Reality checkIs the app installed at the same place than on his machine relative to the root? The error seems to say that the object isn't returning in the right type, probably because it's missing the path (or mapping). Francois Levesque http://blog.critical-web.com/ On Tue, Jul 7, 2009 at 12:24 PM, Phillip Vector <vector@...>wrote: > > As for the error message.. > > The WEEKDAYDAO argument passed to the init function is not of type > ScheduleTimeDAO. > If the component name is specified as a type of this argument, its > possible that a definition file for the component cannot be found or > is not accessible. > > The error occurred in > C:\Webpages\Testing\vv_loc\cfcs\schedules\ScheduleDAO.cfc: line 6 > Called from > C:\Webpages\VinoVisit\vv_loc\cfcs\schedules\ScheduleBuilder.cfc: > line 22 > Called from C:\Webpages\VinoVisit\vv_loc\admin\application.cfc: line 22 > > 4 : <cfset variables.instance.scheduleWeekdayDAO=null /> > 5 : > 6 : <cffunction name="init" access="package" output="false" > returntype="ScheduleDAO"> > 7 : <cfargument name="TimeDAO" type="ScheduleTimeDAO" > required="true"> > 8 : <cfargument name="WeekdayDAO" type="ScheduleTimeDAO" > required="true"> > > The main thing that makes me suspect that it's code is that I'm > accessing http://127.0.0.1/Testing/vv_loc/admin/ and it's correctly > pointing to C:\Webpages\Testing\vv_loc\cfcs\schedules\ScheduleDAO.cfc > > > On Tue, Jul 7, 2009 at 9:23 AM, Phillip Vector<vector@...> > wrote: > > The files were given to me as is and I was told they work fine on his > > windows dev machine. The more I think about it, the more I'm wondering > > if I don't have the files that are on the server, or his remake of it > > (he said only the admin directory works currently, but on the site, > > the non-admin files work). > > > > I'm installing a virtural machine and seeing about eliminating all > > possible issues with the server config. > > > > On Tue, Jul 7, 2009 at 9:18 AM, Nathan C. Smith<nathan.smith@...> > wrote: > >> > >> Don't forget about case-sensitivity of filenames. Especially on > includes and such. > >> > >>> -----Original Message----- > >>> From: Phillip Vector [mailto:vector@...] > >>> Sent: Tuesday, July 07, 2009 10:25 AM > >>> To: cf-talk > >>> Subject: Reality check > >>> > >>> > >>> Just need confirmation that I'm not losing it.. > >>> > >>> I have apache running on my dev server. A client gave me his files and > >>> I'm trying to get them set up on my local server (he is running IIS). > >>> > >>> However, after I create the mappings in CF and go to the directory > >>> that in his IIS, he has set to default to, I get a ColdFusion error > >>> (some variable is a complex variable or some such). It finds the files > >>> and the cfc as well. > >>> > >>> So.. It isn't that I'm using Apache and they are using IIS.. Right? > >>> The code is just broke. > >>> > >>> or am I missing something here? > >>> > >>> > >> > >> > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:324312 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=17837.14401.4 |
|
|
Re: Reality check>>>The WEEKDAYDAO argument passed to the init function is not of type ScheduleTimeDAO. Umm Bingo. If you check "*Disable CFC Type Check " in the CFADMIN (Server Settings>Settings) That will make this error go away.* *=] * -- Alan Rother Adobe Certified Advanced ColdFusion MX 7 Developer Manager, Phoenix Cold Fusion User Group, AZCFUG.org ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:324313 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=17837.14401.4 |
|
|
Re: Reality checkHolly s**t... That worked.. Thanks. :) On Tue, Jul 7, 2009 at 9:28 AM, Alan Rother<alan.rother@...> wrote: > >>>>The WEEKDAYDAO argument passed to the init function is not of > type ScheduleTimeDAO. > Umm Bingo. > If you check "*Disable CFC Type Check " in the CFADMIN (Server > Settings>Settings) That will make this error go away.* > > *=] > * > -- > Alan Rother > Adobe Certified Advanced ColdFusion MX 7 Developer > Manager, Phoenix Cold Fusion User Group, AZCFUG.org > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:324314 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=17837.14401.4 |
|
|
RE: Reality checkGood call Alan. :) Paul Alkema Application Developer http://www.alkemadesigns.com/ -----Original Message----- From: Phillip Vector [mailto:vector@...] Sent: Tuesday, July 07, 2009 12:33 PM To: cf-talk Subject: Re: Reality check Holly s**t... That worked.. Thanks. :) On Tue, Jul 7, 2009 at 9:28 AM, Alan Rother<alan.rother@...> wrote: > >>>>The WEEKDAYDAO argument passed to the init function is not of > type ScheduleTimeDAO. > Umm Bingo. > If you check "*Disable CFC Type Check " in the CFADMIN (Server > Settings>Settings) That will make this error go away.* > > *=] > * > -- > Alan Rother > Adobe Certified Advanced ColdFusion MX 7 Developer > Manager, Phoenix Cold Fusion User Group, AZCFUG.org > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:324315 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=17837.14401.4 |
|
|
RE: Reality check<cfset variables.instance.scheduleWeekdayDAO=null /> Ermmmmmmm, since when has this worked?! Do you create your own null variable? Adrian > -----Original Message----- > From: Phillip Vector [mailto:vector@...] > Sent: 07 July 2009 17:24 > To: cf-talk > Subject: Re: Reality check > > > As for the error message.. > > The WEEKDAYDAO argument passed to the init function is not of type > ScheduleTimeDAO. > If the component name is specified as a type of this argument, its > possible that a definition file for the component cannot be found or > is not accessible. > > The error occurred in > C:\Webpages\Testing\vv_loc\cfcs\schedules\ScheduleDAO.cfc: line 6 > Called from > C:\Webpages\VinoVisit\vv_loc\cfcs\schedules\ScheduleBuilder.cfc: > line 22 > Called from C:\Webpages\VinoVisit\vv_loc\admin\application.cfc: line 22 > > 4 : <cfset variables.instance.scheduleWeekdayDAO=null /> > 5 : > 6 : <cffunction name="init" access="package" output="false" > returntype="ScheduleDAO"> > 7 : <cfargument name="TimeDAO" type="ScheduleTimeDAO" > required="true"> > 8 : <cfargument name="WeekdayDAO" type="ScheduleTimeDAO" > required="true"> > > The main thing that makes me suspect that it's code is that I'm > accessing http://127.0.0.1/Testing/vv_loc/admin/ and it's correctly > pointing to C:\Webpages\Testing\vv_loc\cfcs\schedules\ScheduleDAO.cfc > > > On Tue, Jul 7, 2009 at 9:23 AM, Phillip > Vector<vector@...> wrote: > > The files were given to me as is and I was told they work fine on his > > windows dev machine. The more I think about it, the more I'm > wondering > > if I don't have the files that are on the server, or his remake of it > > (he said only the admin directory works currently, but on the site, > > the non-admin files work). > > > > I'm installing a virtural machine and seeing about eliminating all > > possible issues with the server config. > > > > On Tue, Jul 7, 2009 at 9:18 AM, Nathan C. > Smith<nathan.smith@...> wrote: > >> > >> Don't forget about case-sensitivity of filenames. Especially on > includes and such. > >> > >>> -----Original Message----- > >>> From: Phillip Vector [mailto:vector@...] > >>> Sent: Tuesday, July 07, 2009 10:25 AM > >>> To: cf-talk > >>> Subject: Reality check > >>> > >>> > >>> Just need confirmation that I'm not losing it.. > >>> > >>> I have apache running on my dev server. A client gave me his files > and > >>> I'm trying to get them set up on my local server (he is running > IIS). > >>> > >>> However, after I create the mappings in CF and go to the directory > >>> that in his IIS, he has set to default to, I get a ColdFusion error > >>> (some variable is a complex variable or some such). It finds the > files > >>> and the cfc as well. > >>> > >>> So.. It isn't that I'm using Apache and they are using IIS.. Right? > >>> The code is just broke. > >>> > >>> or am I missing something here? ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:324317 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=17837.14401.4 |
|
|
Re: Reality checkLike I mentioned before, this is badly written code and apparently, it's being held together by some gum and duct tape (TAKE THAT MCGUYVER!) :) Anyway, yeah. I hope to be able to convince the guy to just let me overhaul the entire thing as there's allot of things like this. On Tue, Jul 7, 2009 at 10:23 AM, Adrian Lynch<contact@...> wrote: > > <cfset variables.instance.scheduleWeekdayDAO=null /> > > Ermmmmmmm, since when has this worked?! > > Do you create your own null variable? > > Adrian > >> -----Original Message----- >> From: Phillip Vector [mailto:vector@...] >> Sent: 07 July 2009 17:24 >> To: cf-talk >> Subject: Re: Reality check >> >> >> As for the error message.. >> >> The WEEKDAYDAO argument passed to the init function is not of type >> ScheduleTimeDAO. >> If the component name is specified as a type of this argument, its >> possible that a definition file for the component cannot be found or >> is not accessible. >> >> The error occurred in >> C:\Webpages\Testing\vv_loc\cfcs\schedules\ScheduleDAO.cfc: line 6 >> Called from >> C:\Webpages\VinoVisit\vv_loc\cfcs\schedules\ScheduleBuilder.cfc: >> line 22 >> Called from C:\Webpages\VinoVisit\vv_loc\admin\application.cfc: line 22 >> >> 4 : <cfset variables.instance.scheduleWeekdayDAO=null /> >> 5 : >> 6 : <cffunction name="init" access="package" output="false" >> returntype="ScheduleDAO"> >> 7 : <cfargument name="TimeDAO" type="ScheduleTimeDAO" >> required="true"> >> 8 : <cfargument name="WeekdayDAO" type="ScheduleTimeDAO" >> required="true"> >> >> The main thing that makes me suspect that it's code is that I'm >> accessing http://127.0.0.1/Testing/vv_loc/admin/ and it's correctly >> pointing to C:\Webpages\Testing\vv_loc\cfcs\schedules\ScheduleDAO.cfc >> >> >> On Tue, Jul 7, 2009 at 9:23 AM, Phillip >> Vector<vector@...> wrote: >> > The files were given to me as is and I was told they work fine on his >> > windows dev machine. The more I think about it, the more I'm >> wondering >> > if I don't have the files that are on the server, or his remake of it >> > (he said only the admin directory works currently, but on the site, >> > the non-admin files work). >> > >> > I'm installing a virtural machine and seeing about eliminating all >> > possible issues with the server config. >> > >> > On Tue, Jul 7, 2009 at 9:18 AM, Nathan C. >> Smith<nathan.smith@...> wrote: >> >> >> >> Don't forget about case-sensitivity of filenames. Especially on >> includes and such. >> >> >> >>> -----Original Message----- >> >>> From: Phillip Vector [mailto:vector@...] >> >>> Sent: Tuesday, July 07, 2009 10:25 AM >> >>> To: cf-talk >> >>> Subject: Reality check >> >>> >> >>> >> >>> Just need confirmation that I'm not losing it.. >> >>> >> >>> I have apache running on my dev server. A client gave me his files >> and >> >>> I'm trying to get them set up on my local server (he is running >> IIS). >> >>> >> >>> However, after I create the mappings in CF and go to the directory >> >>> that in his IIS, he has set to default to, I get a ColdFusion error >> >>> (some variable is a complex variable or some such). It finds the >> files >> >>> and the cfc as well. >> >>> >> >>> So.. It isn't that I'm using Apache and they are using IIS.. Right? >> >>> The code is just broke. >> >>> >> >>> or am I missing something here? > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:324319 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=17837.14401.4 |
|
|
RE: Reality checkThe reason I asked is because <cfset something = null> will error unless null is defined. I thought maybe there was some Java magic going on a few lines up. > -----Original Message----- > From: Phillip Vector [mailto:vector@...] > Sent: 07 July 2009 18:27 > To: cf-talk > Subject: Re: Reality check > > > Like I mentioned before, this is badly written code and apparently, > it's being held together by some gum and duct tape (TAKE THAT > MCGUYVER!) :) > > Anyway, yeah. I hope to be able to convince the guy to just let me > overhaul the entire thing as there's allot of things like this. > > On Tue, Jul 7, 2009 at 10:23 AM, Adrian > Lynch<contact@...> wrote: > > > > <cfset variables.instance.scheduleWeekdayDAO=null /> > > > > Ermmmmmmm, since when has this worked?! > > > > Do you create your own null variable? > > > > Adrian > > > >> -----Original Message----- > >> From: Phillip Vector [mailto:vector@...] > >> Sent: 07 July 2009 17:24 > >> To: cf-talk > >> Subject: Re: Reality check > >> > >> > >> As for the error message.. > >> > >> The WEEKDAYDAO argument passed to the init function is not of type > >> ScheduleTimeDAO. > >> If the component name is specified as a type of this argument, its > >> possible that a definition file for the component cannot be found or > >> is not accessible. > >> > >> The error occurred in > >> C:\Webpages\Testing\vv_loc\cfcs\schedules\ScheduleDAO.cfc: line 6 > >> Called from > >> C:\Webpages\VinoVisit\vv_loc\cfcs\schedules\ScheduleBuilder.cfc: > >> line 22 > >> Called from C:\Webpages\VinoVisit\vv_loc\admin\application.cfc: line > 22 > >> > >> 4 : <cfset variables.instance.scheduleWeekdayDAO=null /> > >> 5 : > >> 6 : <cffunction name="init" access="package" output="false" > >> returntype="ScheduleDAO"> > >> 7 : <cfargument name="TimeDAO" type="ScheduleTimeDAO" > >> required="true"> > >> 8 : <cfargument name="WeekdayDAO" type="ScheduleTimeDAO" > >> required="true"> > >> > >> The main thing that makes me suspect that it's code is that I'm > >> accessing http://127.0.0.1/Testing/vv_loc/admin/ and it's correctly > >> pointing to > C:\Webpages\Testing\vv_loc\cfcs\schedules\ScheduleDAO.cfc > >> > >> > >> On Tue, Jul 7, 2009 at 9:23 AM, Phillip > >> Vector<vector@...> wrote: > >> > The files were given to me as is and I was told they work fine on > his > >> > windows dev machine. The more I think about it, the more I'm > >> wondering > >> > if I don't have the files that are on the server, or his remake of > it > >> > (he said only the admin directory works currently, but on the > site, > >> > the non-admin files work). > >> > > >> > I'm installing a virtural machine and seeing about eliminating all > >> > possible issues with the server config. > >> > > >> > On Tue, Jul 7, 2009 at 9:18 AM, Nathan C. > >> Smith<nathan.smith@...> wrote: > >> >> > >> >> Don't forget about case-sensitivity of filenames. Especially on > >> includes and such. > >> >> > >> >>> -----Original Message----- > >> >>> From: Phillip Vector [mailto:vector@...] > >> >>> Sent: Tuesday, July 07, 2009 10:25 AM > >> >>> To: cf-talk > >> >>> Subject: Reality check > >> >>> > >> >>> > >> >>> Just need confirmation that I'm not losing it.. > >> >>> > >> >>> I have apache running on my dev server. A client gave me his > files > >> and > >> >>> I'm trying to get them set up on my local server (he is running > >> IIS). > >> >>> > >> >>> However, after I create the mappings in CF and go to the > directory > >> >>> that in his IIS, he has set to default to, I get a ColdFusion > error > >> >>> (some variable is a complex variable or some such). It finds the > >> files > >> >>> and the cfc as well. > >> >>> > >> >>> So.. It isn't that I'm using Apache and they are using IIS.. > Right? > >> >>> The code is just broke. > >> >>> > >> >>> or am I missing something here? > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:324320 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=17837.14401.4 |
|
|
Re: Reality checkNope. No java magic. At least, not from what I saw in the limited amount of time I was willing to dive into this. :) On Tue, Jul 7, 2009 at 10:34 AM, Adrian Lynch<contact@...> wrote: > > The reason I asked is because <cfset something = null> will error unless > null is defined. I thought maybe there was some Java magic going on a few > lines up. > >> -----Original Message----- >> From: Phillip Vector [mailto:vector@...] >> Sent: 07 July 2009 18:27 >> To: cf-talk >> Subject: Re: Reality check >> >> >> Like I mentioned before, this is badly written code and apparently, >> it's being held together by some gum and duct tape (TAKE THAT >> MCGUYVER!) :) >> >> Anyway, yeah. I hope to be able to convince the guy to just let me >> overhaul the entire thing as there's allot of things like this. >> >> On Tue, Jul 7, 2009 at 10:23 AM, Adrian >> Lynch<contact@...> wrote: >> > >> > <cfset variables.instance.scheduleWeekdayDAO=null /> >> > >> > Ermmmmmmm, since when has this worked?! >> > >> > Do you create your own null variable? >> > >> > Adrian >> > >> >> -----Original Message----- >> >> From: Phillip Vector [mailto:vector@...] >> >> Sent: 07 July 2009 17:24 >> >> To: cf-talk >> >> Subject: Re: Reality check >> >> >> >> >> >> As for the error message.. >> >> >> >> The WEEKDAYDAO argument passed to the init function is not of type >> >> ScheduleTimeDAO. >> >> If the component name is specified as a type of this argument, its >> >> possible that a definition file for the component cannot be found or >> >> is not accessible. >> >> >> >> The error occurred in >> >> C:\Webpages\Testing\vv_loc\cfcs\schedules\ScheduleDAO.cfc: line 6 >> >> Called from >> >> C:\Webpages\VinoVisit\vv_loc\cfcs\schedules\ScheduleBuilder.cfc: >> >> line 22 >> >> Called from C:\Webpages\VinoVisit\vv_loc\admin\application.cfc: line >> 22 >> >> >> >> 4 : <cfset variables.instance.scheduleWeekdayDAO=null /> >> >> 5 : >> >> 6 : <cffunction name="init" access="package" output="false" >> >> returntype="ScheduleDAO"> >> >> 7 : <cfargument name="TimeDAO" type="ScheduleTimeDAO" >> >> required="true"> >> >> 8 : <cfargument name="WeekdayDAO" type="ScheduleTimeDAO" >> >> required="true"> >> >> >> >> The main thing that makes me suspect that it's code is that I'm >> >> accessing http://127.0.0.1/Testing/vv_loc/admin/ and it's correctly >> >> pointing to >> C:\Webpages\Testing\vv_loc\cfcs\schedules\ScheduleDAO.cfc >> >> >> >> >> >> On Tue, Jul 7, 2009 at 9:23 AM, Phillip >> >> Vector<vector@...> wrote: >> >> > The files were given to me as is and I was told they work fine on >> his >> >> > windows dev machine. The more I think about it, the more I'm >> >> wondering >> >> > if I don't have the files that are on the server, or his remake of >> it >> >> > (he said only the admin directory works currently, but on the >> site, >> >> > the non-admin files work). >> >> > >> >> > I'm installing a virtural machine and seeing about eliminating all >> >> > possible issues with the server config. >> >> > >> >> > On Tue, Jul 7, 2009 at 9:18 AM, Nathan C. >> >> Smith<nathan.smith@...> wrote: >> >> >> >> >> >> Don't forget about case-sensitivity of filenames. Especially on >> >> includes and such. >> >> >> >> >> >>> -----Original Message----- >> >> >>> From: Phillip Vector [mailto:vector@...] >> >> >>> Sent: Tuesday, July 07, 2009 10:25 AM >> >> >>> To: cf-talk >> >> >>> Subject: Reality check >> >> >>> >> >> >>> >> >> >>> Just need confirmation that I'm not losing it.. >> >> >>> >> >> >>> I have apache running on my dev server. A client gave me his >> files >> >> and >> >> >>> I'm trying to get them set up on my local server (he is running >> >> IIS). >> >> >>> >> >> >>> However, after I create the mappings in CF and go to the >> directory >> >> >>> that in his IIS, he has set to default to, I get a ColdFusion >> error >> >> >>> (some variable is a complex variable or some such). It finds the >> >> files >> >> >>> and the cfc as well. >> >> >>> >> >> >>> So.. It isn't that I'm using Apache and they are using IIS.. >> Right? >> >> >>> The code is just broke. >> >> >>> >> >> >>> or am I missing something here? >> > >> > >> >> > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:324321 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=17837.14401.4 |
|
|
Re: Reality checkOn Tue, Jul 7, 2009 at 12:28 PM, Alan Rother<alan.rother@...> wrote: > If you check "*Disable CFC Type Check " in the CFADMIN (Server > Settings>Settings) That will make this error go away.* It's worth noting that this could actually cause other problems for you in the long run if you do not understand what this setting does. To be clear - there is nothing "wrong" with turning this feature off, just make sure you know what it does. -Cameron -- Cameron Childress Sumo Consulting Inc http://www.sumoc.com --- cell: 678.637.5072 aim: cameroncf email: cameronc@... ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:324338 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=17837.14401.4 |
|
|
RE: Reality checkAdrian, You can't see what's before line 4, maybe it's something like... 3: <cfset null="null"> 4: <cfset variables.instance.scheduleWeekdayDAO=null /> Paul Alkema Application Developer http://www.alkemadesigns.com/ -----Original Message----- From: Adrian Lynch [mailto:contact@...] Sent: Tuesday, July 07, 2009 1:24 PM To: cf-talk Subject: RE: Reality check <cfset variables.instance.scheduleWeekdayDAO=null /> Ermmmmmmm, since when has this worked?! Do you create your own null variable? Adrian > -----Original Message----- > From: Phillip Vector [mailto:vector@...] > Sent: 07 July 2009 17:24 > To: cf-talk > Subject: Re: Reality check > > > As for the error message.. > > The WEEKDAYDAO argument passed to the init function is not of type > ScheduleTimeDAO. > If the component name is specified as a type of this argument, its > possible that a definition file for the component cannot be found or > is not accessible. > > The error occurred in > C:\Webpages\Testing\vv_loc\cfcs\schedules\ScheduleDAO.cfc: line 6 > Called from > C:\Webpages\VinoVisit\vv_loc\cfcs\schedules\ScheduleBuilder.cfc: > line 22 > Called from C:\Webpages\VinoVisit\vv_loc\admin\application.cfc: line 22 > > 4 : <cfset variables.instance.scheduleWeekdayDAO=null /> > 5 : > 6 : <cffunction name="init" access="package" output="false" > returntype="ScheduleDAO"> > 7 : <cfargument name="TimeDAO" type="ScheduleTimeDAO" > required="true"> > 8 : <cfargument name="WeekdayDAO" type="ScheduleTimeDAO" > required="true"> > > The main thing that makes me suspect that it's code is that I'm > accessing http://127.0.0.1/Testing/vv_loc/admin/ and it's correctly > pointing to C:\Webpages\Testing\vv_loc\cfcs\schedules\ScheduleDAO.cfc > > > On Tue, Jul 7, 2009 at 9:23 AM, Phillip > Vector<vector@...> wrote: > > The files were given to me as is and I was told they work fine on his > > windows dev machine. The more I think about it, the more I'm > wondering > > if I don't have the files that are on the server, or his remake of it > > (he said only the admin directory works currently, but on the site, > > the non-admin files work). > > > > I'm installing a virtural machine and seeing about eliminating all > > possible issues with the server config. > > > > On Tue, Jul 7, 2009 at 9:18 AM, Nathan C. > Smith<nathan.smith@...> wrote: > >> > >> Don't forget about case-sensitivity of filenames. Especially on > includes and such. > >> > >>> -----Original Message----- > >>> From: Phillip Vector [mailto:vector@...] > >>> Sent: Tuesday, July 07, 2009 10:25 AM > >>> To: cf-talk > >>> Subject: Reality check > >>> > >>> > >>> Just need confirmation that I'm not losing it.. > >>> > >>> I have apache running on my dev server. A client gave me his files > and > >>> I'm trying to get them set up on my local server (he is running > IIS). > >>> > >>> However, after I create the mappings in CF and go to the directory > >>> that in his IIS, he has set to default to, I get a ColdFusion error > >>> (some variable is a complex variable or some such). It finds the > files > >>> and the cfc as well. > >>> > >>> So.. It isn't that I'm using Apache and they are using IIS.. Right? > >>> The code is just broke. > >>> > >>> or am I missing something here? ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:324330 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=17837.14401.4 |
|
|
Custom 404 .cfm pages, and cf flash tags.Hey All, I've recently ran into an issue that I was hoping I could have a little help with. My company has been using custom 404 pages for awhile that we set up in iis however we had never set up this custom 404 page to display on .cfm pages, only missing folders. Ie; www.website.com/asdasdasdsd/ would display a custom 404 error But www.website.com/asdasdasdsd.cfm would not. I recently set this up by going in the iis properties for our site, went to the home directory tab click on configuration and selected edit from the mappings tab. From here I checked the verify that file exists open. This enabled the file.cfm custom error to appear however for some reason it disabled all of my ColdFusion flash forms. None of them appear now. If I undo the iis setting that I changes earlier they all re-appear. Has anyone ever ran into this issue before? Is there a better way to do this? Thanks! Paul Alkema ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:325765 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=17837.14401.4 |
|
|
Re: Custom 404 .cfm pages, and cf flash tags.> From here I checked the verify that file exists open. Don't do that - it breaks things (as you've discovered). Instead, in the Administrator, you can specify the "Missing Template Handler" - set that to the same file as you're using for IIS and it should solve your problem. (You probably also want to set the "Site-wide Error Handler" too.) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:325766 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=17837.14401.4 |
|
|
Re: Custom 404 .cfm pages, and cf flash tags.you can also use onMissingTemplate() method in your Application.cfc this way you can define different error pages and handlers for your missing .cfm templates for each application running on same server, whereas settings in cf admin are server-wide (all applications running on same server will use same missing template page). Azadi Saryev Sabai-dee.com http://www.sabai-dee.com/ On 27/08/2009 21:27, Peter Boughton wrote: > >> From here I checked the verify that file exists open. >> > Don't do that - it breaks things (as you've discovered). > > Instead, in the Administrator, you can specify the "Missing Template Handler" - set that to the same file as you're using for IIS and it should solve your problem. > > (You probably also want to set the "Site-wide Error Handler" too.) > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:325767 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=17837.14401.4 |
| < Prev | 1 - 2 | Next > |
| Free embeddable forum powered by Nabble | Forum Help |