local install - ses non working(I think)
I have been developing on our live server as the site has been down for some time. I am trying to get things right and just installed apache and cf11 on my local box. This is the error I get when I try to bring up the site's home page. Any ideas, I am not sure what to try. Thanks. MissingInclude Could not find the included template /site_theartoflovingcatsanddogs_com/index.cfm/cfid/2/cftoken/60648468/index.cfm. Note: If you wish to use an absolute template path (for example, template=/mypath/index.cfm) with CFINCLUDE, you must create a mapping for the path using the ColdFusion Administrator. Or, you can use per-application settings to specify mappings specific to this application by specifying a mappings struct to THIS.mappings in Application.cfc. br Using relative paths (for example, template=index.cfm or template=../index.cfm) does not require the creation of any special mappings. It is therefore recommended that you use relative paths with CFINCLUDE whenever possible. /site_theartoflovingcatsanddogs_com/index.cfm/cfid/2/cftoken/60648468/index.cfm [empty string] [empty string]cfcatch.tagcontext - array1cfcatch.tagcontext - struct COLUMN0IDCFINCLUDELINE29RAW_TRACEat cfindex2ecfm1457390167.runPage(C:\wwwroot\index.cfm:29)TEMPLATE C:\wwwroot\index.cfmTYPECFML2cfcatch.tagcontext - structCOLUMN0IDCFINCLUDE LINE198RAW_TRACEat cfApplication2ecfc65118548$funcONREQUEST.runFunction(C:\wwwroot\Application.cfc:198) TEMPLATEC:\wwwroot\Application.cfcTYPECFML -- Regards, chedder is bedder ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:359877 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: local install - ses non working(I think)
Yes, this is the code: cfinclude template=/site_theartoflovingcatsanddogs_com/index.cfm/cfid/#session.cfid#/cftoken/#session.cftoken#/index.cfm What caught me off guard is that this has been working without problem for many months on the live site, http://www.theartoflovingcatsanddogs.com I guess my actual question, rephrased better, is why does this work on crystaltech but not on my new cf11 install? I'm not sure of the cf version for ct. I'm sorry I was not clear. On Tue, Dec 23, 2014 at 5:05 PM, Maureen mamamaur...@gmail.com wrote: It is fairly clear that the path you are using for the include is invalid. It needs to be a physical path, not a url, and I doubt if your physical path includes /site_ theartoflovingcatsanddogs_com/index.cfm/cfid/2/cftoken/60648468/index.cfm Are you using a variable to build the include path? On Tue, Dec 23, 2014 at 6:58 PM, Matthew Smith chedders...@gmail.com wrote: I have been developing on our live server as the site has been down for some time. I am trying to get things right and just installed apache and cf11 on my local box. This is the error I get when I try to bring up the site's home page. Any ideas, I am not sure what to try. Thanks. MissingInclude Could not find the included template /site_theartoflovingcatsanddogs_com/index.cfm/cfid/2/cftoken/60648468/index.cfm. Note: If you wish to use an absolute template path (for example, template=/mypath/index.cfm) with CFINCLUDE, you must create a mapping for the path using the ColdFusion Administrator. Or, you can use per-application settings to specify mappings specific to this application by specifying a mappings struct to THIS.mappings in Application.cfc. br Using relative paths (for example, template=index.cfm or template=../index.cfm) does not require the creation of any special mappings. It is therefore recommended that you use relative paths with CFINCLUDE whenever possible. /site_theartoflovingcatsanddogs_com/index.cfm/cfid/2/cftoken/60648468/index.cfm [empty string] [empty string]cfcatch.tagcontext - array1cfcatch.tagcontext - struct COLUMN0IDCFINCLUDELINE29RAW_TRACEat cfindex2ecfm1457390167.runPage(C:\wwwroot\index.cfm:29)TEMPLATE C:\wwwroot\index.cfmTYPECFML2cfcatch.tagcontext - structCOLUMN0IDCFINCLUDE LINE198RAW_TRACEat cfApplication2ecfc65118548$funcONREQUEST.runFunction(C:\wwwroot\Application.cfc:198) TEMPLATEC:\wwwroot\Application.cfcTYPECFML -- Regards, chedder is bedder ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:359881 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
struct not recognized as such
The ORDER_INFO_STRUCT argument passed to the show_payment_method function is not of type struct. Shows as such though: struct ATTRIBUTES_SCOPE structCFID51604885 CFTOKEN6319 FUSEACTION SECUREORDERAPP.orderreview PayerIDL7DMX2AYUGYYG SHOW_CHANGES0 SUPPRESSLAYOUT 1 onRequestStarttrue tokenEC-8MT53877XA8883547 Regards, chedder is bedder ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:359235 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
code suddenly stops working for no apparent reason
cfcase value=createUser cfinvoke component=cfcs.qry-todatabase method=qry_peopleCreateNewUser argumentcollection=#attributes# returnvariable=qry_peopleCreateNewUser cfif qry_peopleCreateNewUser.returnKey eq -1 cfset XFA.badLogin = #fusebox.thisCircuit#.go cfmodule fuseaction=#XFA.badLogin# error=badPassword emailaddress = #attributes.emailAddress# cfid=#cfid# cftoken=#session.cftoken# template=#fusebox.rootpath##modself# cfelse cfmodule fuseaction=#fusebox.thisCircuit#.startSession userid=#qry_peopleCreateNewUser.returnKey# template=#fusebox.rootpath##modself# cfid=#cfid# cftoken=#session.cftoken# /cfif /cfcase cfcase value=startSession cflock scope=SESSION timeout=10 type=EXCLUSIVE cfset session.loggedIn = 1 cfset variables.tmp = structdelete(session, billinginfo) /cflock cfset client.userID = attributes.userID cfset XFA.defaultReturnFuseaction = #fusebox.homeCircuit#.home cfif listFirst(evaluate(client.#fusebox.thiscircuit#returnFuseaction), .) eq SECUREOrderApp cfobject component=cfcs.qry-todatabase name=qry / cfset qry_orderInfoBufferCreate = qry.qry_orderInfoBufferEdit( cfuserid=#session.CFID#0#session.CFTOKEN#) / cfset qry_cartAssignPersonKey = qry.qry_cartAssignPersonKey( cfuserid=#session.CFID#0#session.CFTOKEN#, app_user_id = #CLIENT.USERID#) / /cfif cfinclude template=url_thisCircuit_returnFuseAction.cfm /cfcase getting this error even though explicitly passed... Element USERID is undefined in ATTRIBUTES. The error occurred in *D:/Inetpub/redhotkitties/site_theartoflovingcatsanddogs_com/authentication/fbx_Switch.cfm: line 91* *Called from* D:/Inetpub/redhotkitties/site_theartoflovingcatsanddogs_com/fbx_fusebox30_CF50.cfm: line 273 *Called from* D:/Inetpub/redhotkitties/site_theartoflovingcatsanddogs_com/fbx_fusebox30_CF50.cfm: line 33 *Called from* D:/Inetpub/redhotkitties/site_theartoflovingcatsanddogs_com/fbx_fusebox30_CF50.cfm: line 1 *Called from* D:/Inetpub/redhotkitties/site_theartoflovingcatsanddogs_com/index.cfm: line 9 *Called from* D:/Inetpub/redhotkitties/site_theartoflovingcatsanddogs_com/Application.cfc: line 62 89 : cfset variables.tmp = structdelete(session, billinginfo) 90 : /cflock*91 : cfset client.userID = attributes.userID* 92 : cfset XFA.defaultReturnFuseaction = #fusebox.homeCircuit#.home 93 : cfif listFirst(evaluate(client.#fusebox.thiscircuit#returnFuseaction), .) eq SECUREOrderApp ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:359217 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: code suddenly stops working for no apparent reason
But it is being explicitly passed. That's where I'm lost. On Aug 30, 2014, at 12:44, Phillip Vector vec...@mostdeadlygame.com wrote: The reason is apparent. Element USERID is undefined in ATTRIBUTES. Trace the attribute back and figure out where it was set and see why it isn't being set. On Sat, Aug 30, 2014 at 11:31 AM, Matthew Smith chedders...@gmail.com wrote: cfcase value=createUser cfinvoke component=cfcs.qry-todatabase method=qry_peopleCreateNewUser argumentcollection=#attributes# returnvariable=qry_peopleCreateNewUser cfif qry_peopleCreateNewUser.returnKey eq -1 cfset XFA.badLogin = #fusebox.thisCircuit#.go cfmodule fuseaction=#XFA.badLogin# error=badPassword emailaddress = #attributes.emailAddress# cfid=#cfid# cftoken=#session.cftoken# template=#fusebox.rootpath##modself# cfelse cfmodule fuseaction=#fusebox.thisCircuit#.startSession userid=#qry_peopleCreateNewUser.returnKey# template=#fusebox.rootpath##modself# cfid=#cfid# cftoken=#session.cftoken# /cfif /cfcase cfcase value=startSession cflock scope=SESSION timeout=10 type=EXCLUSIVE cfset session.loggedIn = 1 cfset variables.tmp = structdelete(session, billinginfo) /cflock cfset client.userID = attributes.userID cfset XFA.defaultReturnFuseaction = #fusebox.homeCircuit#.home cfif listFirst(evaluate(client.#fusebox.thiscircuit#returnFuseaction), .) eq SECUREOrderApp cfobject component=cfcs.qry-todatabase name=qry / cfset qry_orderInfoBufferCreate = qry.qry_orderInfoBufferEdit( cfuserid=#session.CFID#0#session.CFTOKEN#) / cfset qry_cartAssignPersonKey = qry.qry_cartAssignPersonKey( cfuserid=#session.CFID#0#session.CFTOKEN#, app_user_id = #CLIENT.USERID#) / /cfif cfinclude template=url_thisCircuit_returnFuseAction.cfm /cfcase getting this error even though explicitly passed... Element USERID is undefined in ATTRIBUTES. The error occurred in *D:/Inetpub/redhotkitties/site_theartoflovingcatsanddogs_com/authentication/fbx_Switch.cfm: line 91* *Called from* D:/Inetpub/redhotkitties/site_theartoflovingcatsanddogs_com/fbx_fusebox30_CF50.cfm: line 273 *Called from* D:/Inetpub/redhotkitties/site_theartoflovingcatsanddogs_com/fbx_fusebox30_CF50.cfm: line 33 *Called from* D:/Inetpub/redhotkitties/site_theartoflovingcatsanddogs_com/fbx_fusebox30_CF50.cfm: line 1 *Called from* D:/Inetpub/redhotkitties/site_theartoflovingcatsanddogs_com/index.cfm: line 9 *Called from* D:/Inetpub/redhotkitties/site_theartoflovingcatsanddogs_com/Application.cfc: line 62 89 : cfset variables.tmp = structdelete(session, billinginfo) 90 : /cflock*91 : cfset client.userID = attributes.userID* 92 : cfset XFA.defaultReturnFuseaction = #fusebox.homeCircuit#.home 93 : cfif listFirst(evaluate(client.#fusebox.thiscircuit#returnFuseaction), .) eq SECUREOrderApp ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:359219 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
error accessing cfadministrator after install(iis)
http://127.0.0.1/cfide/administrator/ Server Error in Application DEFAULT WEB SITE Internet Information Services 7.5 Error Summary HTTP Error 500.0 - Internal Server Error The page cannot be displayed because an internal server error has occurred. Detailed Error Information Module IsapiModule NotificationExecuteRequestHandler Handler cfmHandler Error Code 0x800700c1 Requested URL http://127.0.0.1:80/cfide/administrator/index.cfm Physical Path C:\ColdFusion11\cfusion\wwwroot\CFIDE\administrator\index.cfm Logon MethodAnonymous Logon User Anonymous Most likely causes: IIS received the request; however, an internal error occurred during the processing of the request. The root cause of this error depends on which module handles the request and what was happening in the worker process when this error occurred. IIS was not able to access the web.config file for the Web site or application. This can occur if the NTFS permissions are set incorrectly. IIS was not able to process configuration for the Web site or application. The authenticated user does not have permission to use this DLL. The request is mapped to a managed handler but the .NET Extensibility Feature is not installed. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:359179 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: error accessing cfadministrator after install(iis)
Do I just adjust the permissions of the folder in windows? What else can I do? -Original Message- From: Phillip Vector Sent: Sunday, August 24, 2014 11:15 AM To: cf-talk Subject: Re: error accessing cfadministrator after install(iis) Most likely causes: IIS received the request; however, an internal error occurred during the processing of the request. The root cause of this error depends on which module handles the request and what was happening in the worker process when this error occurred. IIS was not able to access the web.config file for the Web site or application. This can occur if the NTFS permissions are set incorrectly. IIS was not able to process configuration for the Web site or application. The authenticated user does not have permission to use this DLL. The request is mapped to a managed handler but the .NET Extensibility Feature is not installed. On Sun, Aug 24, 2014 at 9:11 AM, Matthew Smith chedders...@gmail.com wrote: http://127.0.0.1/cfide/administrator/ Server Error in Application DEFAULT WEB SITE Internet Information Services 7.5 Error Summary HTTP Error 500.0 - Internal Server Error The page cannot be displayed because an internal server error has occurred. Detailed Error Information Module IsapiModule NotificationExecuteRequestHandler Handler cfmHandler Error Code 0x800700c1 Requested URL http://127.0.0.1:80/cfide/administrator/index.cfm Physical Path C:\ColdFusion11\cfusion\wwwroot\CFIDE\administrator\index.cfm Logon MethodAnonymous Logon User Anonymous Most likely causes: IIS received the request; however, an internal error occurred during the processing of the request. The root cause of this error depends on which module handles the request and what was happening in the worker process when this error occurred. IIS was not able to access the web.config file for the Web site or application. This can occur if the NTFS permissions are set incorrectly. IIS was not able to process configuration for the Web site or application. The authenticated user does not have permission to use this DLL. The request is mapped to a managed handler but the .NET Extensibility Feature is not installed. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:359182 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: error accessing cfadministrator after install(iis)
When changing permissions I am getting Access is denied. Weird. -Original Message- From: Phillip Vector Sent: Sunday, August 24, 2014 11:15 AM To: cf-talk Subject: Re: error accessing cfadministrator after install(iis) Most likely causes: IIS received the request; however, an internal error occurred during the processing of the request. The root cause of this error depends on which module handles the request and what was happening in the worker process when this error occurred. IIS was not able to access the web.config file for the Web site or application. This can occur if the NTFS permissions are set incorrectly. IIS was not able to process configuration for the Web site or application. The authenticated user does not have permission to use this DLL. The request is mapped to a managed handler but the .NET Extensibility Feature is not installed. On Sun, Aug 24, 2014 at 9:11 AM, Matthew Smith chedders...@gmail.com wrote: http://127.0.0.1/cfide/administrator/ Server Error in Application DEFAULT WEB SITE Internet Information Services 7.5 Error Summary HTTP Error 500.0 - Internal Server Error The page cannot be displayed because an internal server error has occurred. Detailed Error Information Module IsapiModule NotificationExecuteRequestHandler Handler cfmHandler Error Code 0x800700c1 Requested URL http://127.0.0.1:80/cfide/administrator/index.cfm Physical Path C:\ColdFusion11\cfusion\wwwroot\CFIDE\administrator\index.cfm Logon MethodAnonymous Logon User Anonymous Most likely causes: IIS received the request; however, an internal error occurred during the processing of the request. The root cause of this error depends on which module handles the request and what was happening in the worker process when this error occurred. IIS was not able to access the web.config file for the Web site or application. This can occur if the NTFS permissions are set incorrectly. IIS was not able to process configuration for the Web site or application. The authenticated user does not have permission to use this DLL. The request is mapped to a managed handler but the .NET Extensibility Feature is not installed. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:359183 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: error accessing cfadministrator after install(iis)
something else I noticed... These is no cfide folder under wwwroot. see pics -Original Message- From: Phillip Vector Sent: Sunday, August 24, 2014 11:15 AM To: cf-talk Subject: Re: error accessing cfadministrator after install(iis) Most likely causes: IIS received the request; however, an internal error occurred during the processing of the request. The root cause of this error depends on which module handles the request and what was happening in the worker process when this error occurred. IIS was not able to access the web.config file for the Web site or application. This can occur if the NTFS permissions are set incorrectly. IIS was not able to process configuration for the Web site or application. The authenticated user does not have permission to use this DLL. The request is mapped to a managed handler but the .NET Extensibility Feature is not installed. On Sun, Aug 24, 2014 at 9:11 AM, Matthew Smith chedders...@gmail.com wrote: http://127.0.0.1/cfide/administrator/ Server Error in Application DEFAULT WEB SITE Internet Information Services 7.5 Error Summary HTTP Error 500.0 - Internal Server Error The page cannot be displayed because an internal server error has occurred. Detailed Error Information Module IsapiModule NotificationExecuteRequestHandler Handler cfmHandler Error Code 0x800700c1 Requested URL http://127.0.0.1:80/cfide/administrator/index.cfm Physical Path C:\ColdFusion11\cfusion\wwwroot\CFIDE\administrator\index.cfm Logon MethodAnonymous Logon User Anonymous Most likely causes: IIS received the request; however, an internal error occurred during the processing of the request. The root cause of this error depends on which module handles the request and what was happening in the worker process when this error occurred. IIS was not able to access the web.config file for the Web site or application. This can occur if the NTFS permissions are set incorrectly. IIS was not able to process configuration for the Web site or application. The authenticated user does not have permission to use this DLL. The request is mapped to a managed handler but the .NET Extensibility Feature is not installed. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:359184 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
error even after clearing cache.
Expression Element CFID is undefined in SESSION. [empty string] 0 [empty string] [empty string] cfcatch.tagcontext - array 1 cfcatch.tagcontext - structCOLUMN 0ID?? LINE29 RAW_TRACEat cfindex2ecfm713351370.runPage(D:\home\ theartoflovingcatsanddogs.com\wwwroot\index.cfm:29) TEMPLATED:\home\ theartoflovingcatsanddogs.com\wwwroot\index.cfm TYPECFML Here is the code for index.cfm, which I have uploaded twice now and cleared the template cache. cfset request.cfcpath = site_theartoflovingcatsanddogs_com.cfcs. cfsetting requesttimeout= cfset SESdummyExtension = .cfm cfset SESrBaseName = baseHREF cfinclude template=sesConverter.cfm !---cfif REMOTE_ADDR contains 192.168.1 or remote_addr eq 68.174.223.157 or remote_addr contains 128.30.52. or cgi.REMOTE_ADDR eq 70.191.243.11--- !--- cftry --- cfinclude template=fbx_fusebox30_CF50.cfm !--- cfcatch type=Any cfinclude template=errorhandler.cfm /cfcatch /cftry --- !---cfelse !--- cfinclude template=fbx_fusebox30_CF50.cfm --- site under constructionbr / a href=http://www.theartoflovingcatsanddogs.com/blog/;view the blog here/a /cfif--- -- Regards, chedder is bedder ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:359000 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: error even after clearing cache.
Ah, thanks. I thought it was a client variable. I will give it a try. On Sat, Jul 26, 2014 at 8:09 AM, Andrew Scott andr...@andyscott.id.au wrote: CFID CFTOKEN are cookie scoped, unless you're copying them to the session. If that is the case then it sounds like the session has expired. Regards, Andrew Scott WebSite: http://www.andyscott.id.au/ Google+: http://plus.google.com/113032480415921517411 On Sat, Jul 26, 2014 at 10:57 PM, Matthew Smith chedders...@gmail.com wrote: Expression Element CFID is undefined in SESSION. [empty string] 0 [empty string] [empty string] cfcatch.tagcontext - array 1 cfcatch.tagcontext - structCOLUMN 0ID?? LINE29 RAW_TRACEat cfindex2ecfm713351370.runPage(D:\home\ theartoflovingcatsanddogs.com\wwwroot\index.cfm:29) TEMPLATED:\home\ theartoflovingcatsanddogs.com\wwwroot\index.cfm TYPECFML Here is the code for index.cfm, which I have uploaded twice now and cleared the template cache. cfset request.cfcpath = site_theartoflovingcatsanddogs_com.cfcs. cfsetting requesttimeout= cfset SESdummyExtension = .cfm cfset SESrBaseName = baseHREF cfinclude template=sesConverter.cfm !---cfif REMOTE_ADDR contains 192.168.1 or remote_addr eq 68.174.223.157 or remote_addr contains 128.30.52. or cgi.REMOTE_ADDR eq 70.191.243.11--- !--- cftry --- cfinclude template=fbx_fusebox30_CF50.cfm !--- cfcatch type=Any cfinclude template=errorhandler.cfm /cfcatch /cftry --- !---cfelse !--- cfinclude template=fbx_fusebox30_CF50.cfm --- site under constructionbr / a href=http://www.theartoflovingcatsanddogs.com/blog/;view the blog here/a /cfif--- -- Regards, chedder is bedder ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:359003 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: need help with two sites - willing to pay $45/hour
' ok I got the pathing issue sorted. I am having a weird issue with the home page formatting. I have a br and the page layout it putting the test to the right, and the two last images are missing. Not sure what is going on. Please download the latest files before you make any changes, I have added text to the home page. thanks. On Wed, Jul 23, 2014 at 8:14 AM, Byron Mann byronos...@gmail.com wrote: Matthew, The site seemed to be responsive this morning, so I took a look at things and have fixed the basic errors that were happening and the home page now loads properly. I've done the following. Implemented an error handler in Application.cfm. So on error a full dump of the error is shown using /error.cfm template. It is a very basic handler. You may want to edit this to present something better to end users when error occur, and maybe email the error detail to your self. Fixed the cfquery(s) in /cfcs/qry-todatabase.cfc. Look like you were attempting to use a standard connection string. cfquery uses the datasource attribute which is configured in the CFAdmin (which you already provided as fatcat111). The rest of the database calls in that file were using #request.datasource#, so I did the same. This variable was missing, so I set this in the /fbx_settings.cfm (see line 24). There was also an additional syntax error and this was resolved as well. Let me know of anything further. How would you like to handle payment. I usually use PayPal, would this suffice? In all I've spent ~2 hours on this. Regards, Byron On Wed, Jul 23, 2014 at 1:05 AM, Rakesh Prasad rkprasa...@gmail.com wrote: Hi, We have excellent experience in Coldfusion based website and web application development as mentioned below, Also we have a team of well experienced developers in Coldfusion technology. Experience : around 15 years Projects: 200 web application and website. We can provide help you to troubleshoot your website issues. Thanks Regards RK Prasad On Tue, Jul 22, 2014 at 6:56 AM, Matthew Smith chedders...@gmail.com wrote: I have two sites with minor issues I need help with. http://www.theartoflovingcatsanddogs.com http://www.fatcate-juice.com The first is an image reference issue and the second has to do with a cfc issue. Please let me know if anyone is interested. Thanks. -- Regards, chedder is bedder ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:358986 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: need help with two sites - willing to pay $45/hour
Understandable. Mornings can be a bear. No worries. On Wed, Jul 23, 2014 at 8:54 AM, Byron Mann byronos...@gmail.com wrote: Apologies to all, result of too many open windows and not enough coffee. On Wed, Jul 23, 2014 at 9:44 AM, Scott Stewart webmas...@sstwebworks.com wrote: Byron, no offense but did you really mean to send this out to the enitre CF-Talk list? On Wed, Jul 23, 2014 at 9:14 AM, Byron Mann byronos...@gmail.com wrote: Matthew, The site seemed to be responsive this morning, so I took a look at things and have fixed the basic errors that were happening and the home page now loads properly. I've done the following. Implemented an error handler in Application.cfm. So on error a full dump of the error is shown using /error.cfm template. It is a very basic handler. You may want to edit this to present something better to end users when error occur, and maybe email the error detail to your self. Fixed the cfquery(s) in /cfcs/qry-todatabase.cfc. Look like you were attempting to use a standard connection string. cfquery uses the datasource attribute which is configured in the CFAdmin (which you already provided as fatcat111). The rest of the database calls in that file were using #request.datasource#, so I did the same. This variable was missing, so I set this in the /fbx_settings.cfm (see line 24). There was also an additional syntax error and this was resolved as well. Let me know of anything further. How would you like to handle payment. I usually use PayPal, would this suffice? In all I've spent ~2 hours on this. Regards, Byron On Wed, Jul 23, 2014 at 1:05 AM, Rakesh Prasad rkprasa...@gmail.com wrote: Hi, We have excellent experience in Coldfusion based website and web application development as mentioned below, Also we have a team of well experienced developers in Coldfusion technology. Experience : around 15 years Projects: 200 web application and website. We can provide help you to troubleshoot your website issues. Thanks Regards RK Prasad On Tue, Jul 22, 2014 at 6:56 AM, Matthew Smith chedders...@gmail.com wrote: I have two sites with minor issues I need help with. http://www.theartoflovingcatsanddogs.com http://www.fatcate-juice.com The first is an image reference issue and the second has to do with a cfc issue. Please let me know if anyone is interested. Thanks. -- Regards, chedder is bedder ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:358988 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
best way to invoke cfc
I was using cfinvoke but someone here said it was better to do this: cfset variables.temp = cfcs.qry How do I set the method and pass parameters? Thanks. -- Regards, chedder is bedder ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:358932 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: best way to invoke cfc
This uses the cfinvoke tag. I am looking to use cfset variables.temp On Mon, Jul 21, 2014 at 2:20 PM, Andrew Scott andr...@andyscott.id.au wrote: easy RTFM http://help.adobe.com/en_US/ColdFusion/9.0/CFMLRef/WSc3ff6d0ea77859461172e0811cbec22c24-7e0e.html Regards, Andrew Scott WebSite: http://www.andyscott.id.au/ Google+: http://plus.google.com/113032480415921517411 On Tue, Jul 22, 2014 at 5:14 AM, Matthew Smith chedders...@gmail.com wrote: I was using cfinvoke but someone here said it was better to do this: cfset variables.temp = cfcs.qry How do I set the method and pass parameters? Thanks. -- Regards, chedder is bedder ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:358941 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Having trouble with cfcI have removed all references to site_theartoflovingcatsanddogs_com and deleted the template cache. No luck. Any help?
Could not find the ColdFusion component or interface site_theartoflovingcatsanddogs_com.cfcs.qrystodatabase. Ensure that the name is correct and that the component or interface exists. The error occurred in *D:/home/fatcate-juice.com/wwwroot/cfcs/paypal.cfc http://fatcate-juice.com/wwwroot/cfcs/paypal.cfc: line 164* *Called from* D:/home/fatcate-juice.com/wwwroot/fbx_settings.cfm: line 48 *Called from* D:/home/fatcate-juice.com/wwwroot/fbx_fusebox30_CF50.cfm: line 191 *Called from* D:/home/fatcate-juice.com/wwwroot/fbx_fusebox30_CF50.cfm: line 33 *Called from* D:/home/fatcate-juice.com/wwwroot/fbx_fusebox30_CF50.cfm: line 1 *Called from* D:/home/fatcate-juice.com/wwwroot/index.cfm: line 9 *Called from* D:/home/fatcate-juice.com/wwwroot/Application.cfc: line 61 162 : cfargument name=app_user_id type=numeric required=no default=0 163 : cfargument name=cfuserid type=string required=no default=*164 : cfobject component=#request.cfcpath#qrystodatabase name=qry /* 165 : cfset qry_unlock_items_for_paypal = qry.qry_unlock_items_for_paypal( app_user_id=#arguments.app_user_id#, cfuserid=#arguments.cfuserid# ) / 166 : /cffunction -- Regards, chedder is bedder ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:358942 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Having trouble with cfcI have removed all references to site_theartoflovingcatsanddogs_com and deleted the template cache. No luck. Any help?
What is the issue? I think you are being a bit harsh. I try to get this done on my own. I don't think it is your call to have someone remove from the list. On Mon, Jul 21, 2014 at 7:32 PM, M.A. Kruger mkru...@cfwebtools.com wrote: Matt Q and everyone. I think it might be time to cut matt loose I think he's mostly pulling our chain. he certainly doesn't engage with the list in any way that makes me think he's trying. I'm perfectly fine helping beginners but this is a bit much. perhaps we should ask Mike D to remove him? Sent from my iPhone On Jul 21, 2014, at 6:53 PM, Matt Quackenbush quackfu...@gmail.com wrote: I am trying really, really, really, really hard to not be rude here, but there's no way you can have 15 years of CF experience as you've claimed in other threads. Each thread you've posted recently has displayed an absolute dearth of information with which we can even attempt to help you, but they've also displayed an absolute clear lack of any troubleshooting effort of your own. We **WANT** to help people; it's why we are on these mailing lists. However, you ___must___ be willing to help yourself, first. We are not your own personal help desk. Please review the following links and then report back. http://www.catb.org/esr/faqs/smart-questions.html http://help.adobe.com/en_US/ColdFusion/9.0/CFMLRef/index.html My apologies if I've incorrectly remembered the CF version you're using; I believe you previously said CF9, so that's the link I provided. If it's another version, links to the documentation are readily available by Googling CF {version number} documentation. Thanks. On Mon, Jul 21, 2014 at 6:44 PM, Matthew Smith chedders...@gmail.com wrote: Could not find the ColdFusion component or interface site_theartoflovingcatsanddogs_com.cfcs.qrystodatabase. Ensure that the name is correct and that the component or interface exists. The error occurred in *D:/home/fatcate-juice.com/wwwroot/cfcs/paypal.cfc http://fatcate-juice.com/wwwroot/cfcs/paypal.cfc: line 164* *Called from* D:/home/fatcate-juice.com/wwwroot/fbx_settings.cfm: line 48 *Called from* D:/home/fatcate-juice.com/wwwroot/fbx_fusebox30_CF50.cfm: line 191 *Called from* D:/home/fatcate-juice.com/wwwroot/fbx_fusebox30_CF50.cfm: line 33 *Called from* D:/home/fatcate-juice.com/wwwroot/fbx_fusebox30_CF50.cfm: line 1 *Called from* D:/home/fatcate-juice.com/wwwroot/index.cfm: line 9 *Called from* D:/home/fatcate-juice.com/wwwroot/Application.cfc: line 61 162 : cfargument name=app_user_id type=numeric required=no default=0 163 : cfargument name=cfuserid type=string required=no default=*164 : cfobject component=#request.cfcpath#qrystodatabase name=qry /* 165 : cfset qry_unlock_items_for_paypal = qry.qry_unlock_items_for_paypal( app_user_id=#arguments.app_user_id#, cfuserid=#arguments.cfuserid# ) / 166 : /cffunction -- Regards, chedder is bedder ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:358951 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
need help with two sites - willing to pay $45/hour
I have two sites with minor issues I need help with. http://www.theartoflovingcatsanddogs.com http://www.fatcate-juice.com The first is an image reference issue and the second has to do with a cfc issue. Please let me know if anyone is interested. Thanks. -- Regards, chedder is bedder ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:358952 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
element undefined
The web site you are accessing has experienced an unexpected error. Please contact the website administrator. The following information is meant for the website developer for debugging purposes. Error Occurred While Processing Request Element CURRENTSITENAME is undefined in REQUEST. cfset request.CURRENTSITENAME = fatcate-juice.com I have this in application.cfc. What gives? Regards, chedder is bedder ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:358919 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: element undefined
What do I need to do? I'm lost... On Jul 20, 2014, at 9:54, M.A. Kruger mkru...@cfwebtools.com wrote: now you simply aren't even trying. Sent from my iPhone On Jul 20, 2014, at 8:34 AM, Matthew Smith chedders...@gmail.com wrote: The web site you are accessing has experienced an unexpected error. Please contact the website administrator. The following information is meant for the website developer for debugging purposes. Error Occurred While Processing Request Element CURRENTSITENAME is undefined in REQUEST. cfset request.CURRENTSITENAME = fatcate-juice.com I have this in application.cfc. What gives? Regards, chedder is bedder ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:358922 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: element undefined
here is Application.cfc. I have added a cfset without success. Please help. cfcomponent output=false hint=I define the application and event handlers. cfset THIS.Name = fatcate-juice / cfset this.applicationTimeout = createTimeSpan( 0, 0, 20, 0 ) / cfset this.sessionManagement = true / cfset this.clientmanagement = true / cfset this.SetClientCookies = true / cfset this.sessionTimeout = createTimeSpan( 0, 0, 30, 0 ) / cfset this.enablerobustexception=yes cfset request.path = replace(cgi.PATH_TRANSLATED, mid(cgi.SCRIPT_NAME, 2, (len(cgi.SCRIPT_NAME)-1)), ) Cfset request.cfcpath = cfcs. cfset request.currentsitename = fatcate-juice.com cfif cgi.REMOTE_ADDR contains 192.168.1 cfset variables.requested_url = cgi.REDIRECT_URL cfelse cfset variables.requested_url = cgi.path_info /cfif cffunction name=onRequestStart access=public returntype=boolean output=false hint=I execute when a request needs to be initialized. !--- Define arguments. --- cfargument name=template type=string required=true hint=I am the template that the user requested./ cfparam name=variables.currentsitename default=fatcate-juice.com cfset request.cfcpath = fatcate-juice.cfcs. !--- cfargument name=TargetPage type=string required=true/ --- !--- Define the page settings. --- cfsetting enablecfoutputonly=no requesttimeout=10 showdebugoutput=true/ !--- Initialize the FORM scope. --- cfset form[ onRequestStart ] = true / !--- Return out. --- cfreturn true / !--- Return true to let the page load. --- cfreturn true / /cffunction cffunction name=onRequest access=public returntype=void output=true hint=I execute the page template. !--- Define arguments. --- cfargument name=template type=string required=true hint=I am the template that the user requested. / cfinclude template=#arguments.template# / !--- Return out. --- cfreturn / /cffunction cffunction name=onMissingTemplate returnType=boolean cfargument type=string name=targetPage required=true/ cfobject component=cfcs.404 name=handle_404 / cfset variables.temp = handle_404.handle_404(requested_template = arguments.targetPage) cfreturn True / /cffunction /cfcomponent On Sun, Jul 20, 2014 at 1:04 PM, Dave Watts dwa...@figleaf.com wrote: The web site you are accessing has experienced an unexpected error. Please contact the website administrator. The following information is meant for the website developer for debugging purposes. Error Occurred While Processing Request Element CURRENTSITENAME is undefined in REQUEST. cfset request.CURRENTSITENAME = fatcate-juice.com I have this in application.cfc. What gives? There are several possibilities: - the portion of Application.cfc that has this line isn't being executed prior to your request - where is this line in Application.cfc? is it in one of the event handlers? - the request being executed isn't covered by that Application.cfc - is it in the same directory? Dave Watts, CTO, Fig Leaf Software 1-202-527-9569 http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA Schedule, and provides the highest caliber vendor-authorized instruction at our training centers, online, or onsite. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:358924 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: element undefined
here is what I have added: here is Application.cfc. I have added a cfset without success. Please help. cfcomponent output=false hint=I define the application and event handlers. cfset THIS.Name = fatcate-juice / cfset this.applicationTimeout = createTimeSpan( 0, 0, 20, 0 ) / cfset this.sessionManagement = true / cfset this.clientmanagement = true / cfset this.SetClientCookies = true / cfset this.sessionTimeout = createTimeSpan( 0, 0, 30, 0 ) / cfset this.enablerobustexception=yes cfset request.path = replace(cgi.PATH_TRANSLATED, mid(cgi.SCRIPT_NAME, 2, (len(cgi.SCRIPT_NAME)-1)), ) Cfset request.cfcpath = cfcs. cfset request.currentsitename = fatcate-juice.com cfif cgi.REMOTE_ADDR contains 192.168.1 cfset variables.requested_url = cgi.REDIRECT_URL cfelse cfset variables.requested_url = cgi.path_info /cfif cffunction name=onRequestStart access=public returntype=boolean output=false hint=I execute when a request needs to be initialized. !--- Define arguments. --- cfargument name=template type=string required=true hint=I am the template that the user requested./ cfparam name=variables.currentsitename default=fatcate-juice.com ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:358925 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
need a host
not newtek, no hostmedia.co.uk(no mssql), no viviotek. Any suggestions? Need cf 9 and ms sql. Thanks. -- Regards, chedder is bedder ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:358926 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: help
\taolcad_images\products\resize\qry_latest24items.largepic1 Still doesn't work...? On Jul 17, 2014, at 23:09, Maureen mamamaur...@gmail.com wrote: As I told you four days ago: Instead of a physical path like C:\magedirector\imagename.ext you need a url like http://domainname.com/imagedirectory/imagename.ext You use the physical path to determine if the file exists, but you need the url to display it. On Thu, Jul 17, 2014 at 10:37 PM, Matthew Smith chedders...@gmail.com wrote: Anyone? On Jul 15, 2014, at 1:59, Matthew Smith chedders...@gmail.com wrote: Does anyone know what path I should use? Stuck... On Jul 13, 2014, at 10:40, Matthew Smith chedders...@gmail.com wrote: what path should i use? On Sun, Jul 13, 2014 at 10:11 AM, Dave Watts dwa...@figleaf.com wrote: Yes, this code is broken. You have a logic error. The code inside the CFCATCH will only execute of the code in the CFTRY fails. The syntax on the CFCATCH tag is wrong as you have no type declared, and the code on the first line inside the CFCATCH is the same as what you just tried. So if it fails on the TRY it will fail inside the CFCATCH. This is all very accurate except for one portion. CFCATCH doesn't require a type. It's generally recommended that you specify a type, but in the absence of that attribute it'll simply catch any exception thrown by the CFTRY. Dave Watts, CTO, Fig Leaf Software 1-202-527-9569 http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA Schedule, and provides the highest caliber vendor-authorized instruction at our training centers, online, or onsite. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:358900 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: help
Anyone? On Jul 15, 2014, at 1:59, Matthew Smith chedders...@gmail.com wrote: Does anyone know what path I should use? Stuck... On Jul 13, 2014, at 10:40, Matthew Smith chedders...@gmail.com wrote: what path should i use? On Sun, Jul 13, 2014 at 10:11 AM, Dave Watts dwa...@figleaf.com wrote: Yes, this code is broken. You have a logic error. The code inside the CFCATCH will only execute of the code in the CFTRY fails. The syntax on the CFCATCH tag is wrong as you have no type declared, and the code on the first line inside the CFCATCH is the same as what you just tried. So if it fails on the TRY it will fail inside the CFCATCH. This is all very accurate except for one portion. CFCATCH doesn't require a type. It's generally recommended that you specify a type, but in the absence of that attribute it'll simply catch any exception thrown by the CFTRY. Dave Watts, CTO, Fig Leaf Software 1-202-527-9569 http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA Schedule, and provides the highest caliber vendor-authorized instruction at our training centers, online, or onsite. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:358897 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
help
I have uploaded the images to: /site_ttheartoflovingcatsanddogs_com/toalcad_images /taolcad_images/ /site_ttheartoflovingcatsanddogs_com/main/taolcad_images I have tried: /taolcad_images/ ../../taolcad_images This code is broke: !---Read the image into an object --- cftry cfimage action=read name=myImage source=../taolcad_images/products/resize/#qry_latest24items.largepic1# cfcatch cfimage action=read name=myImage source=../taolcad_images/products/#qry_latest24items.largepic1# !--- Set the square size of the thumb --- cfset sq_size = 133 !--- Write the result to a file. --- cfset ImageSetAntialiasing(myImage,on) cfset ImageScaleToFit(myImage,sq_size,sq_size) !--- Calculate the x and y position to paste the image --- cfif myImage.width GTE myImage.height cfset x = 0 cfset y = ceiling((myImage.width - myImage.height)/2) cfelse cfset x = ceiling((myImage.height - myImage.width)/2) cfset y = 0 /cfif cfset newimg = ImageNew(,sq_size, sq_size, rgb, c4cba9) cfset ImagePaste(newimg, myImage, x, y) cfset ImageWrite(newimg,../taolcad_images/products/resize/#qry_latest24items.largepic1#) /cfcatch /cftry cfset qry_latest24items.name = replace( qry_latest24items.name, '', 'quot;', all) cfset qry_latest24items.productDescription = replace(qry_latest24items.productDescription, '', 'quot;', all) cfif len(qry_latest24items.productDescription) gt 310 cfset qry_latest24items.productDescription = mid(qry_latest24items.productDescription, 1, 310) /cfif cfset variables.item_url = /art-item/ lcase(rereplace(rereplacenocase(qry_latest24items.name, [^a-z|\ ], , all), [[:space:]]+, -, all)) - qry_latest24items.productid /index.cfm cfset qry_latest24items.productDescription = qry_latest24items.productDescription ... a href='#variables.item_url#'read more/a a href=#variables.item_url# title=#name#img src=/taolcad_images/products/resize/#qry_latest24items.largepic1# alt=#name# width=177 //a/td td/td tda href=#variables.item_url# title=#name#span class=frontpageitems#qry_latest24items.name# - #DollarFormat(qry_latest24items.unitPrice)#/span/abr / span class=frontpageitemstext#qry_latest24items.productDescription#/span/td /tr -- Regards, chedder is bedder ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:358857 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: help
what path should i use? On Sun, Jul 13, 2014 at 10:11 AM, Dave Watts dwa...@figleaf.com wrote: Yes, this code is broken. You have a logic error. The code inside the CFCATCH will only execute of the code in the CFTRY fails. The syntax on the CFCATCH tag is wrong as you have no type declared, and the code on the first line inside the CFCATCH is the same as what you just tried. So if it fails on the TRY it will fail inside the CFCATCH. This is all very accurate except for one portion. CFCATCH doesn't require a type. It's generally recommended that you specify a type, but in the absence of that attribute it'll simply catch any exception thrown by the CFTRY. Dave Watts, CTO, Fig Leaf Software 1-202-527-9569 http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA Schedule, and provides the highest caliber vendor-authorized instruction at our training centers, online, or onsite. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:358863 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Job Openings With Our Direct Client for COLD FUSION DEVELOPER@CHICAGO IL 60606 // SAN ANTONIO TX 78209 // ATLANTA GA 30308
Resume attached. I have 15 years experience in ColdFusion and MS SQL Server. Matthew Smith 251-644-1420 On Tue, Apr 23, 2013 at 9:01 AM, Sharan sha...@suntechnologies.com wrote: Greetings from Sun Technologies! My name is Sharan Gowda and I'm a Recruiter at Sun Technologies Inc. Our records show that you have past or current experience with skills fitting a current opening with our Direct End Client. Please be aware that our database has searched out your resume based on key word skills, so please accept my apologies if this requirement does not match your current or preferred job profile or location preference. I would love to show my appreciation with referral fee(s) for anyone I hire through your referral/introduction/recommendation, including confidential referrals. If you know anyone who is interested / qualified, please feel free to pass on my contact info as you see fit. Job Details Job Title: COLD FUSION DEVELOPER Job Location: CHICAGO IL 60606 // SAN ANTONIO TX 78209 // ATLANTA GA 30308 Duration: EXPECTED TO BE 8 MONTHS CONTRACT WITH POSSIBLE EXTENSION Positions: 3 PLEASE LIST IN THE SUPPLIMENTAL AREA WHERE CANDIDATE IS ELIGIABLE TO WORK This position will work on ColdFusion report development and migration for the new One Click initiative. The candidate must possess cross-browser web-development skills including IE (all versions), Firefox, Safari, and Chrome. Other critical skill sets include ColdFusion 9 or later and a working knowledge of SQL Server Query Design Optimization SQL Server Integration Services (SSIS), familiarity with Eclipse/CFEclipse or Dreamweaver, jQuery, HTML-4/5 and Cascading Style sheets. Skills Inventory Skill Experience Need 1) Cold Fusion 10 Expert Required 2) SQL Server Query Design Expert Required 3) CSS-2 Expert Required 4) HTML 4 (minimum) Expert Required 5) JQuery Intermediate Desired 6) Eclipse-Dreamweaver Intermediate Desired 7) Webservices using XML Intermediate Required 8) Prior ATT Experience Intermediate Desired Please fill the below information and send it along with your resume in word format: * Visa status (Citizen / Green Card / TN / EAD/H1B): * Expected Hourly Rate: * Employment Type: * Availability: * Best number and time to reach you: Thanks Regards, Sharan Gowda, Sun Technologies, Inc. 3700 Mansell Road Suite 125 Alpharetta GA 30022 Phone number - 678-713-5809 Fax 678-459-1068 Email: mailto:sha...@suntechnologies.com sha...@suntechnologies.com http://www.suntechnologies.com/ http://www.suntechnologies.com Disclaimer: We respect your on-line privacy. This is not an unsolicited mail. Under Bill 1618 Title III passed by the 105th US Congress this mail cannot be considered Spam as long as we include contact information and a method to be removed from our mailing list. If you are not interested in receiving our e-mails then please reply with a REMOVE in the subject line or mailto:feedb...@suntechnologies.com click here to Remove your name from the mailing list. I am sorry for any inconvenience ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:358850 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
George and redhotkitties.com
Please email chedders...@gmail.com ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:358838 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: George and redhotkitties.com
I've never worked with you... On Jul 10, 2014, at 16:10, Phillip Vector vec...@mostdeadlygame.com wrote: I know.. I did some work for him on this and I kept telling him that he needs to do such and such with his hosting provider, but he kept coming back with the username and password for them. I managed to fix the issue he had, but that popped up a few more. I then fixed those and got him to the point where he needs to upload pictures he has (or edit the database to pictures he has). Still owes me $200 for my trouble. On Thu, Jul 10, 2014 at 12:58 PM, Russ Michaels r...@michaels.me.uk wrote: this is starting to remind me of a movie http://www.imdb.com/title/tt0109686/ On Thu, Jul 10, 2014 at 8:56 PM, Matt Quackenbush quackfu...@gmail.com wrote: sigh On Thu, Jul 10, 2014 at 2:45 PM, Matthew Smith chedders...@gmail.com wrote: Please email chedders...@gmail.com ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:358842 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Joseph who is helping with my site
Please email me. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:358829 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Need someone to help with site
I need someone to help with a site that has been down for a month. Will pay $50 hour via Paypal. Please email info if you are interested. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:358825 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
cannot find /cfcs/
cfobject component=/cfcs/ name=cfcs / cflock name = #application.applicationname#_item_access type=exclusive timeout=55 cfset variables.temp = request.cfcs .f_unlock_items_15_minutes() / /cflock I have a mapping set up here: /cfcs_mappingd:\inetpub\redhotkitties\cfcs But still cannot get to it. Any help? The web site you are accessing has experienced an unexpected error. Please contact the website administrator. The following information is meant for the website developer for debugging purposes. Error Occurred While Processing Request Could not find the ColdFusion component or interface /cfcs/. Ensure that the name is correct and that the component or interface exists. The error occurred in*D:/Inetpub/redhotkitties/site_theartoflovingcatsanddogs_com/fbx_settings.cfm: line 9* *Called from*D:/Inetpub/redhotkitties/site_theartoflovingcatsanddogs_com/fbx_fusebox30_CF50.cfm: line 191 *Called from*D:/Inetpub/redhotkitties/site_theartoflovingcatsanddogs_com/fbx_fusebox30_CF50.cfm: line 33 *Called from*D:/Inetpub/redhotkitties/site_theartoflovingcatsanddogs_com/fbx_fusebox30_CF50.cfm: line 1 *Called from* D:/Inetpub/redhotkitties/site_theartoflovingcatsanddogs_com/index.cfm: line 9 *Called from* D:/Inetpub/redhotkitties/site_theartoflovingcatsanddogs_com/Application.cfc: line 62 7 : cfsilent 8 : cfset request.cfcs = site_theartoflovingcatsanddogs_com.cfcs*9 : cfobject component=/cfcs/ name=cfcs /* 10 : cflock 11 :name = #application.applicationname#_item_access ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:358770 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: cannot find /cfcs/
also tried /cfcs_mapping On Sat, Jun 28, 2014 at 11:13 PM, Matthew Smith chedders...@gmail.com wrote: cfobject component=/cfcs/ name=cfcs / cflock name = #application.applicationname#_item_access type=exclusive timeout=55 cfset variables.temp = request.cfcs .f_unlock_items_15_minutes() / /cflock I have a mapping set up here: /cfcs_mappingd:\inetpub\redhotkitties\cfcs But still cannot get to it. Any help? The web site you are accessing has experienced an unexpected error. Please contact the website administrator. The following information is meant for the website developer for debugging purposes. Error Occurred While Processing Request Could not find the ColdFusion component or interface /cfcs/. Ensure that the name is correct and that the component or interface exists. The error occurred in*D:/Inetpub/redhotkitties/site_theartoflovingcatsanddogs_com/fbx_settings.cfm: line 9* *Called from*D:/Inetpub/redhotkitties/site_theartoflovingcatsanddogs_com/fbx_fusebox30_CF50.cfm: line 191 *Called from*D:/Inetpub/redhotkitties/site_theartoflovingcatsanddogs_com/fbx_fusebox30_CF50.cfm: line 33 *Called from*D:/Inetpub/redhotkitties/site_theartoflovingcatsanddogs_com/fbx_fusebox30_CF50.cfm: line 1 *Called from* D:/Inetpub/redhotkitties/site_theartoflovingcatsanddogs_com/index.cfm: line 9 *Called from* D:/Inetpub/redhotkitties/site_theartoflovingcatsanddogs_com/Application.cfc: line 62 7 : cfsilent 8 : cfset request.cfcs = site_theartoflovingcatsanddogs_com.cfcs*9 : cfobject component=/cfcs/ name=cfcs /* 10 : cflock 11 : name = #application.applicationname#_item_access -- Regards, chedder is bedder ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:358771 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: cannot find /cfcs/
thank you, i will give it a try. On Sun, Jun 29, 2014 at 12:05 AM, Adam Cameron dacc...@gmail.com wrote: The *component* attribute value needs to be the dotted path to an actual CFC, not a directory. So say your CFC is /cfcs.Foo.cfc, the value ought to be cfcs.Foo. Aside from that, can I recommend you *don't* use cfobject if at all possible for this? Just use a variable assignment, and createObject(): it makes for far more natural code: cfset myObj = createObject(cfcs.Foo) -- Adam On 29 June 2014 07:59, Matthew Smith chedders...@gmail.com wrote: also tried /cfcs_mapping On Sat, Jun 28, 2014 at 11:13 PM, Matthew Smith chedders...@gmail.com wrote: cfobject component=/cfcs/ name=cfcs / ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:358773 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Error please site is down for a month now moms site
cffunction access=public name=qry_unlock_items_for_paypal output=no returntype=void hint=Unlocks items for paypal. cfargument name=app_user_id type=numeric required=no default=0 cfargument name=cfuserid type=string required=no default= cfif arguments.app_user_id neq 0 cfquery name=qry_unlock_items_for_paypal datasource=#variables.datasource# exec [proc_rhkprod_unlock_items_for_paypal] @app_user_id = cfqueryparam cfsqltype=cf_sql_integer value=#arguments.app_user_id#; /cfquery cfelseif len(arguments.cfuserid) cfquery name=qry_unlock_items_for_paypal datasource=#variables.datasource# exec [proc_rhkprod_unlock_items_for_paypal] @cfuserid = cfqueryparam cfsqltype=CF_SQL_VARCHAR value=#arguments.cfuserid#; /cfquery /cfif /cffunction cffunction access=public name=qry_unlock_items_for_paypal_15_minutes output=no returntype=void hint=Unlocks items for paypal that have been locked for 15 minutes or more. cfquery name=qry_unlock_items_for_paypal_15_minutes datasource=#variables.datasource# exec [proc_rhkprod_unlock_items_for_paypal_15_minutes]; /cfquery /cffunction /cfcomponent USE [redhotkitties2005db] GO /** Object: StoredProcedure [dbo].[proc_rhkprod_unlock_items_for_paypal_15_minutes]Script Date: 06/13/2014 20:41:53 **/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO ALTER PROCEDURE [dbo].[proc_rhkprod_unlock_items_for_paypal_15_minutes] AS BEGIN SET NOCOUNT ON; declare @tablePK int ,@tblproductsfk int ,@quantity int declarec777 cursor forward_only for selecttablepk ,tblProductsFK ,quantity fromrhkprod_tblpaypallock WHERE (timestamp = DATEADD(mi, - 15, GETDATE())) open c777 fetch next fromc777 into@tablepk ,@tblproductsfk ,@quantity while @@fetch_status = 0 begin updaterhkprod_tblproducts setquantity = quantity + @quantity whereproductid = @tblproductsfk andUorLorUL in ('U','L') delete fromrhkprod_tblpaypallock wheretablepk = @tablepk fetch next fromc777 into@tablepk ,@tblproductsfk ,@quantity end close c777 deallocate c777 END On Fri, Jun 13, 2014 at 8:40 PM, Matthew Smithchedders...@gmail.comwrote: cffunction name=unlock_items access=public returntype=void cfargument name=app_user_id type=numeric required=no default=0 cfargument name=cfuserid type=string required=no default= cfobject component=#request.cfcpath#qrystodatabase name=qry / cfset qry_unlock_items_for_paypal = qry.qry_unlock_items_for_paypal( app_user_id=#arguments.app_user_id#, cfuserid=#arguments.cfuserid# ) / /cffunction cffunction name=f_unlock_items_15_minutes access=public returntype=void cfobject component=#request.cfcpath#qrystodatabase name=qry / cfset qry_unlock_items_for_paypal_15_minutes = qry.qry_unlock_items_for_paypal_15_minutes() / /cffunction cffunction name=refresh_lock_time access=public returntype=void output=no cfargument name=app_user_id required=yes type=numeric cfobject component=#request.cfcpath#qrystodatabase name=qry / cfset variables.temp = qry.qry_paypal_refresh_lock_time ( app_user_id = #arguments.app_user_id# ) / /cffunction On Jun 13, 2014, at 20:42, Matthew Smith chedders...@gmail.com wrote: cffunction access=public name=qry_unlock_items_for_paypal output=no returntype=void hint=Unlocks items for paypal. cfargument name=app_user_id type=numeric required=no default=0 cfargument name=cfuserid type=string required=no default= cfif arguments.app_user_id neq 0 cfquery name=qry_unlock_items_for_paypal datasource=#variables.datasource# exec [proc_rhkprod_unlock_items_for_paypal] @app_user_id = cfqueryparam cfsqltype=cf_sql_integer value=#arguments.app_user_id#; /cfquery cfelseif len(arguments.cfuserid) cfquery name=qry_unlock_items_for_paypal datasource=#variables.datasource# exec [proc_rhkprod_unlock_items_for_paypal] @cfuserid = cfqueryparam cfsqltype=CF_SQL_VARCHAR value=#arguments.cfuserid#; /cfquery /cfif /cffunction cffunction access=public name=qry_unlock_items_for_paypal_15_minutes output=no returntype=void hint=Unlocks items for paypal that have been locked for 15 minutes or more. cfquery name=qry_unlock_items_for_paypal_15_minutes datasource=#variables.datasource# exec
Error please site is down for a month now moms site
The web site you are accessing has experienced an unexpected error. Please contact the website administrator. The following information is meant for the website developer for debugging purposes. Error Occurred While Processing Request Context validation error for tag cfcomponent. The end tag /cfcomponent encountered on line 1380 at column 3 requires a matching start tag. The error occurred in D:/Inetpub/redhotkitties/cfcs/paypal.cfc: line 242 Called from D:/Inetpub/redhotkitties/site_theartoflovingcatsanddogs_com/fbx_settings.cfm: line 13 Called from D:/Inetpub/redhotkitties/site_theartoflovingcatsanddogs_com/fbx_fusebox30_CF50.cfm: line 191 Called from D:/Inetpub/redhotkitties/site_theartoflovingcatsanddogs_com/fbx_fusebox30_CF50.cfm: line 33 Called from D:/Inetpub/redhotkitties/site_theartoflovingcatsanddogs_com/fbx_fusebox30_CF50.cfm: line 1 Called from D:/Inetpub/redhotkitties/site_theartoflovingcatsanddogs_com/index.cfm: line 9 Called from D:/Inetpub/redhotkitties/site_theartoflovingcatsanddogs_com/Application.cfc: line 62 240 : /cffunction 241 : cffunction name=f_unlock_items_15_minutes access=public returntype=void 242 : cfobject component= /cfcs/qry-todatabase name=qry / 243 : cfset qry_unlock_items_for_paypal_15_minutes = qry.qry_unlock_items_for_paypal_15_minutes() / 244 : /cffunction ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:358715 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Error please site is down for a month now moms site
It has it though. On Jun 13, 2014, at 19:13, Phillip Vector vec...@mostdeadlygame.com wrote: This seems pretty clear... The end tag /cfcomponent encountered on line 1380 at column 3 requires a matching start tag. On Fri, Jun 13, 2014 at 4:11 PM, Matthew Smith chedders...@gmail.com wrote: The web site you are accessing has experienced an unexpected error. Please contact the website administrator. The following information is meant for the website developer for debugging purposes. Error Occurred While Processing Request Context validation error for tag cfcomponent. The end tag /cfcomponent encountered on line 1380 at column 3 requires a matching start tag. The error occurred in D:/Inetpub/redhotkitties/cfcs/paypal.cfc: line 242 Called from D:/Inetpub/redhotkitties/site_theartoflovingcatsanddogs_com/fbx_settings.cfm: line 13 Called from D:/Inetpub/redhotkitties/site_theartoflovingcatsanddogs_com/fbx_fusebox30_CF50.cfm: line 191 Called from D:/Inetpub/redhotkitties/site_theartoflovingcatsanddogs_com/fbx_fusebox30_CF50.cfm: line 33 Called from D:/Inetpub/redhotkitties/site_theartoflovingcatsanddogs_com/fbx_fusebox30_CF50.cfm: line 1 Called from D:/Inetpub/redhotkitties/site_theartoflovingcatsanddogs_com/index.cfm: line 9 Called from D:/Inetpub/redhotkitties/site_theartoflovingcatsanddogs_com/Application.cfc: line 62 240 : /cffunction 241 : cffunction name=f_unlock_items_15_minutes access=public returntype=void 242 : cfobject component= /cfcs/qry-todatabase name=qry / 243 : cfset qry_unlock_items_for_paypal_15_minutes = qry.qry_unlock_items_for_paypal_15_minutes() / 244 : /cffunction ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:358720 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Error please site is down for a month now moms site
It has it. Been doing this 15 years. On Jun 13, 2014, at 19:19, M.A. Kruger mkru...@cfwebtools.com wrote: are you a ColdFusion programmer? this is a syntax error. it's fixable and it is probably NOT mysterious :) Sent from my iPhone On Jun 13, 2014, at 6:11 PM, Matthew Smith chedders...@gmail.com wrote: The web site you are accessing has experienced an unexpected error. Please contact the website administrator. The following information is meant for the website developer for debugging purposes. Error Occurred While Processing Request Context validation error for tag cfcomponent. The end tag /cfcomponent encountered on line 1380 at column 3 requires a matching start tag. The error occurred in D:/Inetpub/redhotkitties/cfcs/paypal.cfc: line 242 Called from D:/Inetpub/redhotkitties/site_theartoflovingcatsanddogs_com/fbx_settings.cfm: line 13 Called from D:/Inetpub/redhotkitties/site_theartoflovingcatsanddogs_com/fbx_fusebox30_CF50.cfm: line 191 Called from D:/Inetpub/redhotkitties/site_theartoflovingcatsanddogs_com/fbx_fusebox30_CF50.cfm: line 33 Called from D:/Inetpub/redhotkitties/site_theartoflovingcatsanddogs_com/fbx_fusebox30_CF50.cfm: line 1 Called from D:/Inetpub/redhotkitties/site_theartoflovingcatsanddogs_com/index.cfm: line 9 Called from D:/Inetpub/redhotkitties/site_theartoflovingcatsanddogs_com/Application.cfc: line 62 240 : /cffunction 241 : cffunction name=f_unlock_items_15_minutes access=public returntype=void 242 : cfobject component= /cfcs/qry-todatabase name=qry / 243 : cfset qry_unlock_items_for_paypal_15_minutes = qry.qry_unlock_items_for_paypal_15_minutes() / 244 : /cffunction ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:358721 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Error please site is down for a month now moms site
cffunction access=public name=f_qry_ordersGet output=no returntype=query cfargument name=orderKeyList type=string required=no default= cfargument name=personKeyList type=string required=no default= cftry cfquery name=f_qry_ordersGet datasource=#variables.datasource# SELECT o.tablePK ,o.tblPeopleFK ,o.createdOn ,o.shippingMethod ,o.itemSubTotal ,o.totalBeforeTax ,o.tax ,o.shippingCost ,o.total ,p.firstName + ' ' + p.lastName AS name FROM #request.sqlObjectPrefix#tblOrders o INNER JOIN #request.sqlObjectPrefix#tblPeople p ON o.tblPeopleFK = p.tablePK WHERE 1 = 1 cfif len(arguments.orderKeyList) AND o.tablePK = cfqueryparam value=#arguments.orderKeyList# cfsqltype=CF_SQL_INTEGER list=Yes /cfif cfif len(arguments.personKeyList) AND o.tblPeopleFK = cfqueryparam value=#arguments.personKeyList# cfsqltype=CF_SQL_INTEGER list=Yes /cfif /cfquery cfcatch cfdump var=#arguments# / cfdump var=#cfcatch.sql# abort=true / /cfcatch /cftry cfreturn f_qry_ordersGet / /cffunction On Fri, Jun 13, 2014 at 7:51 PM, Phillip Vector vec...@mostdeadlygame.com wrote: I highly doubt that. But you should know then that we need to see the whole code in order to see if what you are saying is correct. So copy the full file code here and let's take a look. On Fri, Jun 13, 2014 at 4:48 PM, Matthew Smith chedders...@gmail.com wrote: It has it. Been doing this 15 years. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:358723 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Error please site is down for a month now moms site
/cffunction cffunction name=unlock_items access=public returntype=void cfargument name=app_user_id type=numeric required=no default=0 cfargument name=cfuserid type=string required=no default= cfobject component=#request.cfcpath#qrystodatabase name=qry / cfset qry_unlock_items_for_paypal = qry.qry_unlock_items_for_paypal( app_user_id=#arguments.app_user_id#, cfuserid=#arguments.cfuserid# ) / /cffunction cffunction name=f_unlock_items_15_minutes access=public returntype=void cfobject component=#request.cfcpath#qrystodatabase name=qry / cfset qry_unlock_items_for_paypal_15_minutes = qry.qry_unlock_items_for_paypal_15_minutes() / /cffunction cffunction name=refresh_lock_time access=public returntype=void output=no cfargument name=app_user_id required=yes type=numeric cfobject component=#request.cfcpath#qrystodatabase name=qry / cfset variables.temp = qry.qry_paypal_refresh_lock_time ( app_user_id = #arguments.app_user_id# ) / /cffunction cffunction access=public name=save_express_checkout output=no returntype=struct cfargument name=api_response type=string required=yes cfset variables.response_struct = structnew() cfset variables.response_struct.raw_response = arguments.api_response cfset variables.response_struct.decoded_response = urldecode(arguments.api_response) cfloop list=#arguments.api_response# index=i delimiters= cfset variables.key = urldecode(listgetat( i, 1, = )) cfset variables.value = urldecode(listgetat( i, 2, = )) cfset structinsert(variables.response_struct, variables.key, variables.value) /cfloop cfif not StructKeyExists(variables.response_struct, token) cfset structinsert(variables.response_struct, token,) /cfif cfobject component=#request.cfcpath#qrystodatabase name=qry / On Fri, Jun 13, 2014 at 8:03 PM, Phillip Vector vec...@mostdeadlygame.com wrote: *sigh* This is the code for the function. Please show the full code including the following lines.. 240 : /cffunction 241 : cffunction name=f_unlock_items_15_ minutes access=public returntype=void 242 : cfobject component= /cfcs/qry-todatabase name=qry / 243 : cfset qry_unlock_items_for_paypal_15_minutes = qry.qry_unlock_items_for_paypal_15_minutes() / 244 : /cffunction I want to see if cfcomponent is there. Since these tend to be at the start and end of a file, I would like the full file please. Also, I only have 14 years of experience, so I'm not up there with you at 15, but you shouldn't use cfcatch to display the SQL that was put in. It gives a bad vector for a hacker to put in sql and see what kind of stuff got generated that produced the error. On Fri, Jun 13, 2014 at 4:57 PM, Matthew Smith chedders...@gmail.com wrote: cffunction access=public name=f_qry_ordersGet output=no returntype=query cfargument name=orderKeyList type=string required=no default= cfargument name=personKeyList type=string required=no default= cftry cfquery name=f_qry_ordersGet datasource=#variables.datasource# SELECT o.tablePK ,o.tblPeopleFK ,o.createdOn ,o.shippingMethod ,o.itemSubTotal ,o.totalBeforeTax ,o.tax ,o.shippingCost ,o.total ,p.firstName + ' ' + p.lastName AS name FROM #request.sqlObjectPrefix#tblOrders o INNER JOIN #request.sqlObjectPrefix#tblPeople p ON o.tblPeopleFK = p.tablePK WHERE 1 = 1 cfif len(arguments.orderKeyList) AND o.tablePK = cfqueryparam value=#arguments.orderKeyList# cfsqltype=CF_SQL_INTEGER list=Yes /cfif cfif len(arguments.personKeyList) AND o.tblPeopleFK = cfqueryparam value=#arguments.personKeyList# cfsqltype=CF_SQL_INTEGER list=Yes /cfif /cfquery cfcatch cfdump var=#arguments# / cfdump var=#cfcatch.sql# abort=true / /cfcatch /cftry cfreturn f_qry_ordersGet / /cffunction On Fri, Jun 13, 2014 at 7:51 PM, Phillip Vector vec...@mostdeadlygame.com wrote: I highly doubt that. But you should know then that we need to see the whole code in order to see if what you are saying is correct. So copy the full file code here and let's take a look. On Fri, Jun 13, 2014 at 4:48 PM, Matthew Smith chedders...@gmail.com wrote: It has it. Been doing this 15 years. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:358725 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Error please site is down for a month now moms site
cffunction name=unlock_items access=public returntype=void cfargument name=app_user_id type=numeric required=no default=0 cfargument name=cfuserid type=string required=no default= cfobject component=#request.cfcpath#qrystodatabase name=qry / cfset qry_unlock_items_for_paypal = qry.qry_unlock_items_for_paypal( app_user_id=#arguments.app_user_id#, cfuserid=#arguments.cfuserid# ) / /cffunction cffunction name=f_unlock_items_15_minutes access=public returntype=void cfobject component=#request.cfcpath#qrystodatabase name=qry / cfset qry_unlock_items_for_paypal_15_minutes = qry.qry_unlock_items_for_paypal_15_minutes() / /cffunction cffunction name=refresh_lock_time access=public returntype=void output=no cfargument name=app_user_id required=yes type=numeric cfobject component=#request.cfcpath#qrystodatabase name=qry / cfset variables.temp = qry.qry_paypal_refresh_lock_time ( app_user_id = #arguments.app_user_id# ) / /cffunction On Fri, Jun 13, 2014 at 8:35 PM, Bryan Stevenson br...@electricedgesystems.com wrote: Matt...post all code from the opening CFCOMPONENT tag to the closing CFCOMPONENT tag All the stuff you have posted so far should be BETWEEN those tags *Bryan Stevenson*B.Comm. President CEO Electric Edge Systems Group Inc. - makers of FACTS^(TM) phone: 250.480.0642 cell: 250.920.8830 e-mail: br...@electricedgesystems.com mailto: br...@electricedgesystems.com web: www.electricedgesystems.com http://www.electricedgesystems.com and www.fisheryfacts.com http://www.fisheryfacts.com Please consider the environment before printing this e-mail -CONFIDENTIALITY-- This message, including any attachments, is confidential and may contain information that is privileged or exempt from disclosure. It is intended only for the person to whom it is addressed unless expressly authorized otherwise by the sender. If you are not an authorized recipient, please notify the sender immediately and permanently destroy all copies of this message and attachments. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:358728 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Error please site is down for a month now moms site
cffunction access=public name=qry_unlock_items_for_paypal output=no returntype=void hint=Unlocks items for paypal. cfargument name=app_user_id type=numeric required=no default=0 cfargument name=cfuserid type=string required=no default= cfif arguments.app_user_id neq 0 cfquery name=qry_unlock_items_for_paypal datasource=#variables.datasource# exec [proc_rhkprod_unlock_items_for_paypal] @app_user_id = cfqueryparam cfsqltype=cf_sql_integer value=#arguments.app_user_id#; /cfquery cfelseif len(arguments.cfuserid) cfquery name=qry_unlock_items_for_paypal datasource=#variables.datasource# exec [proc_rhkprod_unlock_items_for_paypal] @cfuserid = cfqueryparam cfsqltype=CF_SQL_VARCHAR value=#arguments.cfuserid#; /cfquery /cfif /cffunction cffunction access=public name=qry_unlock_items_for_paypal_15_minutes output=no returntype=void hint=Unlocks items for paypal that have been locked for 15 minutes or more. cfquery name=qry_unlock_items_for_paypal_15_minutes datasource=#variables.datasource# exec [proc_rhkprod_unlock_items_for_paypal_15_minutes]; /cfquery /cffunction /cfcomponent USE [redhotkitties2005db] GO /** Object: StoredProcedure [dbo].[proc_rhkprod_unlock_items_for_paypal_15_minutes]Script Date: 06/13/2014 20:41:53 **/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO ALTER PROCEDURE [dbo].[proc_rhkprod_unlock_items_for_paypal_15_minutes] AS BEGIN SET NOCOUNT ON; declare @tablePK int ,@tblproductsfk int ,@quantity int declarec777 cursor forward_only for selecttablepk ,tblProductsFK ,quantity fromrhkprod_tblpaypallock WHERE (timestamp = DATEADD(mi, - 15, GETDATE())) open c777 fetch next fromc777 into@tablepk ,@tblproductsfk ,@quantity while @@fetch_status = 0 begin updaterhkprod_tblproducts setquantity = quantity + @quantity whereproductid = @tblproductsfk andUorLorUL in ('U','L') delete fromrhkprod_tblpaypallock wheretablepk = @tablepk fetch next fromc777 into@tablepk ,@tblproductsfk ,@quantity end close c777 deallocate c777 END On Fri, Jun 13, 2014 at 8:40 PM, Matthew Smith chedders...@gmail.com wrote: cffunction name=unlock_items access=public returntype=void cfargument name=app_user_id type=numeric required=no default=0 cfargument name=cfuserid type=string required=no default= cfobject component=#request.cfcpath#qrystodatabase name=qry / cfset qry_unlock_items_for_paypal = qry.qry_unlock_items_for_paypal( app_user_id=#arguments.app_user_id#, cfuserid=#arguments.cfuserid# ) / /cffunction cffunction name=f_unlock_items_15_minutes access=public returntype=void cfobject component=#request.cfcpath#qrystodatabase name=qry / cfset qry_unlock_items_for_paypal_15_minutes = qry.qry_unlock_items_for_paypal_15_minutes() / /cffunction cffunction name=refresh_lock_time access=public returntype=void output=no cfargument name=app_user_id required=yes type=numeric cfobject component=#request.cfcpath#qrystodatabase name=qry / cfset variables.temp = qry.qry_paypal_refresh_lock_time ( app_user_id = #arguments.app_user_id# ) / /cffunction On Fri, Jun 13, 2014 at 8:35 PM, Bryan Stevenson br...@electricedgesystems.com wrote: Matt...post all code from the opening CFCOMPONENT tag to the closing CFCOMPONENT tag All the stuff you have posted so far should be BETWEEN those tags *Bryan Stevenson*B.Comm. President CEO Electric Edge Systems Group Inc. - makers of FACTS^(TM) phone: 250.480.0642 cell: 250.920.8830 e-mail: br...@electricedgesystems.com mailto: br...@electricedgesystems.com web: www.electricedgesystems.com http://www.electricedgesystems.com and www.fisheryfacts.com http://www.fisheryfacts.com Please consider the environment before printing this e-mail -CONFIDENTIALITY-- This message, including any attachments, is confidential and may contain information that is privileged or exempt from disclosure. It is intended only for the person to whom it is addressed unless expressly authorized otherwise by the sender. If you are not an authorized recipient, please notify the sender immediately and permanently destroy all copies of this message and attachments. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http
not getting identity value from insert
Can you spot where I am off? Please help... GO insert into #request.sqlobjectprefix#TblEmailRecovery ( guid, emailaddress ) VALUES ( cfqueryparam cfsqltype=cf_sql_varchar value=#variables.newguid#, cfqueryparam cfsqltype=cf_sql_varchar value=#qry_emailToPK.emailaddress# ); GO SELECT @@IDENTITY AS 'Identity'; GO ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:358685 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: not getting identity value from insert
still not working. hmm... cfif qry_emailToPK.recordcount cfset variables.newguid = CreateUUID() cfquery name=qry_CREATETOKEN datasource=#variables.datasource# insert into #request.sqlobjectprefix#TblEmailRecovery ( guid, emailaddress ) VALUES ( cfqueryparam cfsqltype=cf_sql_varchar value=#variables.newguid#, cfqueryparam cfsqltype=cf_sql_varchar value=#qry_emailToPK.emailaddress# ); SELECT IDENT_CURRENT('#request.sqlobjectprefix# TblEmailRecovery') as mynewidentity; go /cfquery cfelse cfoutputSorry, your email was not found.a href=/index.cfm/fuseaction/authentication.go/cfid/#cfid#/cftoken/cftoken/index.cfmPlease click here to create an account./a/cfoutput /cfif On Tue, May 27, 2014 at 2:13 PM, DURETTE, STEVEN J sd1...@att.com wrote: Actually the issue here is the GO between the insert and the select @@identity. Using go between them makes them in to two separate unrelated batches. Steve -Original Message- From: C. Hatton Humphrey [mailto:chumph...@gmail.com] Sent: Tuesday, May 27, 2014 1:39 PM To: cf-talk Subject: Re: not getting identity value from insert On Tue, May 27, 2014 at 1:34 PM, Matthew Smith chedders...@gmail.com wrote: SELECT @@IDENTITY AS 'Identity' You might try using IDENT_CURRENT('#request.sqlobjectprefix# TblEmailRecovery') http://msdn.microsoft.com/en-us/library/ms175098.aspx Otherwise, what are you looking for? Until Later! C. Hatton Humphrey http://www.eastcoastconservative.com Every cloud does have a silver lining. Sometimes you just have to do some smelting to find it. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:358688 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: not getting identity value from insert
I am sorry. The email address was not in there and I had the code improperly nested. Thank you all for the help. I am sorry for the carelessness. Good day. On Tue, May 27, 2014 at 3:25 PM, Dave Watts dwa...@figleaf.com wrote: still not working. hmm... cfif qry_emailToPK.recordcount cfset variables.newguid = CreateUUID() cfquery name=qry_CREATETOKEN datasource=#variables.datasource# insert into #request.sqlobjectprefix#TblEmailRecovery ( guid, emailaddress ) VALUES ( cfqueryparam cfsqltype=cf_sql_varchar value=#variables.newguid#, cfqueryparam cfsqltype=cf_sql_varchar value=#qry_emailToPK.emailaddress# ); SELECT IDENT_CURRENT('#request.sqlobjectprefix# TblEmailRecovery') as mynewidentity; go /cfquery Are you sure this table even has an identity column? If so, why do you also need a GUID? Normally, you'd have one or the other, but not both. Dave Watts, CTO, Fig Leaf Software 1-202-527-9569 http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA Schedule, and provides the highest caliber vendor-authorized instruction at our training centers, online, or onsite. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:358690 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
security issue with reading file with cfimage read and write
/Had it working a couple of times but I think I am having pathing issues here and there. NOt sure where I am off... Any help is appreciated... cftry cfimage action=read name=myImage source=/site_theartoflovingcatsanddogs_com/taolcad_images/products/resize/#qry_allItemsInProductKeyList.largepic1# cfcatch cfimage action=read name=myImage source=/site_theartoflovingcatsanddogs_com/taolcad_images/products/#qry_allItemsInProductKeyList.largepic1# !--- Set the square size of the thumb --- cfset sq_size = 333 !--- Write the result to a file. --- cfset ImageSetAntialiasing(myImage,on) cfset ImageScaleToFit(myImage,sq_size,sq_size) !--- Calculate the x and y position to paste the image --- cfif myImage.width GTE myImage.height cfset x = 0 cfset y = ceiling((myImage.width - myImage.height)/2) cfelse cfset x = ceiling((myImage.height - myImage.width)/2) cfset y = 0 /cfif cfset newimg = ImageNew(,sq_size, sq_size, rgb, c4cba9) cfset ImagePaste(newimg, myImage, x, y) cfset ImageWrite(newimg,/site_theartoflovingcatsanddogs_com/taolcad_images/products/resize/#qry_allItemsInProductKeyList.largepic1#) /cfcatch /cftry ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:358659 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
which is better - cfx_image or cfimage?
Rather than having the site owner have to create thumbnails for each product, I was planning on having cfimage resize the images as needed. I am having a security issue that support is working on with me. The cfimage only needs to run once so performance is not a huge issue. Looking through the SBA knowledge base, I saw an article on cfx_image. Is this a better solution? My current solution uses a background color that matches the site's, so I am not sure if this is possible with CFX_image. Anyone know? Thanks! ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:358661 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: search with realtime suggestions
Thank you very much, Jack! I appreciate it! On Fri, May 16, 2014 at 9:50 AM, Jack Traynor traynor.j...@gmail.comwrote: jQuery autocomplete could be used achieve this. I have a basic example on how to use it on my blog. http://api.jqueryui.com/autocomplete/ http://jacktraynor.blogspot.com.au/2012/02/jquery-autocomplete-using-coldfusion.html To get it to show images like that you would have to generate some html in the autocomplete source function based off the data you get back fro your AJAX call, then pass it back to jQuery autocomplete with the response() function. Add some css and you should have something pretty close to your example site. Hope this helps and Good luck :) On Fri, May 16, 2014 at 5:33 PM, Matthew Smith chedders...@gmail.com wrote: I would like to add a product search to my e-commerce site based upon a sql query or preferably verity, maybe using jquery or something that is plug and play. I would like something similar to this site's search: http://www.mtbakervapor.com/ with the product image and clickable links. Any help? Thanks a bunch! ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:358656 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
search with realtime suggestions
I would like to add a product search to my e-commerce site based upon a sql query or preferably verity, maybe using jquery or something that is plug and play. I would like something similar to this site's search: http://www.mtbakervapor.com/ with the product image and clickable links. Any help? Thanks a bunch! ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:358652 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
stripping characters for meta description
I have this: cfset request.page.description = REReplace(request.page.description,[^0-9A-Za-z ],,all) yes I am still getting quotes in the description. http://www.theartoflovingcatsanddogs.com/art-item/pueblo-kitties-coffee-cup-286/index.cfm ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:358627 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: stripping characters for meta description
I want to remove anything not number and letters to be sure that it does not cause an issue with the search engines properly indexing the meta tags. Thank you for the help! On Tue, May 13, 2014 at 11:51 AM, Wil Genovese jugg...@trunkful.com wrote: Matthew - what is your end goal? Wil Genovese Sr. Web Application Developer/ Systems Administrator CF Webtools www.cfwebtools.com wilg...@trunkful.com www.trunkful.com On May 13, 2014, at 10:47 AM, DURETTE, STEVEN J sd1...@att.com wrote: Actually with the ^ I thought he told it to remove anything not in 0-9A-Za-z Steve -Original Message- From: Russ Michaels [mailto:r...@michaels.me.uk] Sent: Tuesday, May 13, 2014 11:34 AM To: cf-talk Subject: Re: stripping characters for meta description you haven't told it to remove quotes, you have only told it to remove 0-9A-Za-z If you want quotes removed also then you need to include that in your regex On Tue, May 13, 2014 at 4:26 PM, Matthew Smith chedders...@gmail.com wrote: I have this: cfset request.page.description = REReplace(request.page.description,[^0-9A-Za-z ],,all) yes I am still getting quotes in the description. http://www.theartoflovingcatsanddogs.com/art-item/pueblo-kitties-coffee-cup-286/index.cfm ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:358639 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Can't figure out a simple undefined request varible
Getting this error: Element CFCPATH is undefined in REQUEST. at cffbx_settings2ecfm420036493.runPage(\\AWESOME-PC\wwwroot\redhotkitties_com\site_theartoflovingcatsanddogs_com\fbx_settings.cfm:8) But I have this in Application.cfc: cfset request.cfcpath = site_theartoflovingcatsanddogs_com.cfcs. Any help? Thanks! Site was working fine until I deleted my local copy and downloaded the live site to my local dev server. a href=http://www.theartoflovingcatsanddogs.com;www.theartoflovingcatsanddogs.com/a ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:358562 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
how much to charge for a e-commerce solution?
I need to put in a quote for an e-commerce solution. I have a solution that I have developed over the last decade. It has paypal and cc integration, a category and unlimited subcategory capability, the ability to handle unique, limited, and unlimited items, and a transaction locking mechanism so no duplicate order on unique or limited items. I am meeting with the business owners this week to discuss. I will be accepting about $650 in merchandise, though I could get the items for about $400 online. This is normal for the industry. I would normally quote an hourly rate but would rather have a flat price for this and maybe an option for overage hours. I am not the best for graphic design, so I would either contract that out or get a template. Fixed costs include template, credit card gateway, cert. I am figuring about 20 hours or so for labor, but I have put in countless hours to get the solution to the point it is. I am not sure what to quote and would really appreciate the help. Thanks! ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:358553 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: how much to charge for a e-commerce solution?
Great advice, thanks. I would want a little for the initial set up. The merch I want would be fair I think. A monthly fee to cover hosting and the like would be fair. What about a percentage of sales? I feel this would be appropriate as I would be motivated to continue working on the site and do things like SEO and other promotion. Is this ethical and something others do? If so, what is a reasonable percentage? Thanks for the help! Sounds like you have built a product. If it is already in use then you may have a track record to rely on. If so, I would NOT sell your solution for a fixed price.push for a monthly subscription for your SaaS solution and earn recurring revenue ;-) Of course you have to be in line with other such products and have a reason why you are worth what you decide to charge as compared to the competition. just my 2 cents *Bryan Stevenson*B.Comm. President CEO Electric Edge Systems Group Inc. - makers of FACTS^(TM) phone: 250.480.0642 cell: 250.920.8830 e-mail: br...@electricedgesystems.com mailto:br...@electricedgesystems.com web: www.electricedgesystems.com http://www.electricedgesystems.com and www.fisheryfacts.com http://www.fisheryfacts.com Please consider the environment before printing this e-mail -CONFIDENTIALITY-- This message, including any attachments, is confidential and may contain information that is privileged or exempt from disclosure. It is intended only for the person to whom it is addressed unless expressly authorized otherwise by the sender. If you are not an authorized recipient, please notify the sender immediately and permanently destroy all copies of this message and attachments. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:358557 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: how much to charge for a e-commerce solution?
Yes sir, great explanation. The razor and blades is a wonderful analogy. Would you mind contacting me off list? I really have no idea what to charge and could use some help. chedders...@gmail.com. I would really appreciate it! Thanks, Matthew On Sat, May 3, 2014 at 7:28 PM, Bryan Stevenson br...@electricedgesystems.com wrote: Having gone through the dot com craze where IPOs were plenty and everyone was offering stock options and a piece of the pie - I will NEVER work for a percentage of sales again ;-) I am talking about charging a licensing fee for your software - has NOTHING to do with the customers sales (other than you may want to have tiers of monthly charges for various levels of transaction volume). Don't get caught up in their sales or your hosting costs - it is software as a service (SaaS) - Microsoft doesn't ask for a piece of the $ their clients make using their software - they charge what they think it's worth and enough to make them a profit (MS bashing asideand yes I'd be on that bandwagon). The way I handle it (as my system is customized for most new customers) is that I charge my cost to do the customizations (or do them for free if they are not too over the top). Then I make my money on recurring revenue froma per transaction fee I charge to access to my system and the professional services that come with it. As long as I am getting my fee I enhance the system for free and add reports and other customizations for free. Those are the broad strokes. In other words - give them the razor (install/config/test/launch services) and then sell them the blades (your monthly fee for as long as they use you). Hope that better explains what I was on about ;-) Cheers *Bryan Stevenson*B.Comm. President CEO Electric Edge Systems Group Inc. - makers of FACTS^(TM) phone: 250.480.0642 cell: 250.920.8830 e-mail: br...@electricedgesystems.com mailto: br...@electricedgesystems.com web: www.electricedgesystems.com http://www.electricedgesystems.com and www.fisheryfacts.com http://www.fisheryfacts.com Please consider the environment before printing this e-mail -CONFIDENTIALITY-- This message, including any attachments, is confidential and may contain information that is privileged or exempt from disclosure. It is intended only for the person to whom it is addressed unless expressly authorized otherwise by the sender. If you are not an authorized recipient, please notify the sender immediately and permanently destroy all copies of this message and attachments. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:358559 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
IE 11 not maintaining state
Just had the IE 11 update pushed to my development box. Now, on the site I am working on, I am getting a new cfid/cftoken with every page request, ruining state/session management. What is the easiest work around on this? I would hate to have to go through all the site adding #cfid# and #cftoken# to every url... Thank you. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:357349 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
IE 11 not maintaining state
Just had the IE 11 update pushed to my development box. Now, on the site I am working on, I am getting a new cfid/cftoken with every page request, ruining state/session management. What is the easiest work around on this? I would hate to have to go through all the site adding #cfid# and #cftoken# to every url... Also, if I do append cfid/cftoken, how it is handeled when a SE crawls the site? Would all the links have the cfid and cftoken assigned for the crawl in them, causing a problem with everyone coming from that link sharing a session? How do you get around this? Thank you. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:357353 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
IE 11 not maintaining state
Just had the IE 11 update pushed to my development box. Now, on the site I am working on, I am getting a new cfid/cftoken with every page request, ruining state/session management. What is the easiest work around on this? I would hate to have to go through all the site adding #cfid# and #cftoken# to every url... Also, if I did add the cfid/cftoken to the links, how is it handled when the site is crawled by a bot? Wouldn't the same cfid and cftoken be cached in the search engines results, resulting in every user getting that same ID? Thank you. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:357354 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
IE 11 not maintaining state
Just had the IE 11 update pushed to my development box. Now, on the site I am working on, I am getting a new cfid/cftoken with every page request, ruining state/session management. What is the easiest work around on this? I would hate to have to go through all the site adding #cfid# and #cftoken# to every url... Also, if I did add the cfid/cftoken to the links, how is it handled when the site is crawled by a bot? Wouldn't the same cfid and cftoken be cached in the search engines results, resulting in every user getting that same ID? Thank you. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:357355 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
IE 11 not maintaining state
Just had the IE 11 update pushed to my development box. Now, on the site I am working on, I am getting a new cfid/cftoken with every page request, ruining state/session management. What is the easiest work around on this? I would hate to have to go through all the site adding #cfid# and #cftoken# to every url... Also, if I do have to append cfid/cftoken, how is it handled when the site is indexed by a se bot? Wouldn't the cached links have the same cfid/cftoken for everyone? Thank you. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:357356 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: trigger onMissingTemplate in CF for directory requests
How do I get the calling template though? I was using CGI.PATH_TRANSLATED but the value for that is always 404.cfm. On Tue, Feb 26, 2013 at 5:38 AM, Steve 'Cutter' Blades cold.fus...@cutterscrossing.com wrote: onMissingTemplate only fires for ColdFusion processed template requests (.cfm, .cfc, etc). Generally a directory request will need to be handled by a 404 handler. I haven't tested this, but your issue may be your web server's default template handler. Most web servers are setup to, by default, serve index.html first, and then other defined templates (like index.cfm). You can control that lookup order, by moving index.cfm to the front of the pack. But, again, it may be that you'll just have to point your 404 page handler to a custom CF template to parse the url and treat the result. Steve 'Cutter' Blades Adobe Community Professional Adobe Certified Expert Advanced Macromedia ColdFusion MX 7 Developer http://cutterscrossing.com Co-Author Learning Ext JS 3.2 Packt Publishing 2010 https://www.packtpub.com/learning-ext-js-3-2-for-building-dynamic-desktop-style-user-interfaces/book The best way to predict the future is to help create it On 2/25/2013 8:52 PM, Matthew Smith wrote: I am using ses urls, so a product page is linked as: mysite.com/art/art-product-2/ Right now I am getting the defualt 404 page from the web server(not CF). A request for: mysite.com/art/art-product-2/index.cfm works, triggering the onMissingTemplate in Application.cfc. Is there a way to configure CF to capture requests for a directory as well? I guess it might be a web server config issue. I'm running apache with .mod_rewrite for the site. Thank you. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:354702 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
trigger onMissingTemplate in CF for directory requests
I am using ses urls, so a product page is linked as: mysite.com/art/art-product-2/ Right now I am getting the defualt 404 page from the web server(not CF). A request for: mysite.com/art/art-product-2/index.cfm works, triggering the onMissingTemplate in Application.cfc. Is there a way to configure CF to capture requests for a directory as well? I guess it might be a web server config issue. I'm running apache with .mod_rewrite for the site. Thank you. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:354692 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
low footprint(disk usage) dev enviroment
hello. i spent a lot of time posting here way back when, and then did other things, and now i am posting again. good to see you all. SSD install on my laptop, need a vm os/cf install for dev. site(s) is on crystal tech, so i guess as close to what they have as possible. i can go apache if needed, though i think ct is running iis. would prefer to not have to license an os if possible, though i could swing it to maintain equality between the dev and live. laptop has 8GB, so is a vm even worth it? want to get a new site up today, so i need to be able to download rather than wait on disks. all my stuff is at home. thanks all! chedder ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:348873 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: low footprint(disk usage) dev enviroment
IS there a question here? Yes. thank you. On Sat, Nov 26, 2011 at 9:11 AM, Mark A. Kruger mkru...@cfwebtools.comwrote: IS there a question here? Are you looking for a place to get the software? Not sure what you are asking here Matt. :) -Mark Mark Kruger - CFG CF Webtools www.cfwebtools.com www.coldfusionmuse.com O: 402.408.3733 x105 E: mkru...@cfwebtools.com Skype: markakruger -Original Message- From: Matthew Smith [mailto:chedders...@gmail.com] Sent: Saturday, November 26, 2011 7:34 AM To: cf-talk Subject: low footprint(disk usage) dev enviroment hello. i spent a lot of time posting here way back when, and then did other things, and now i am posting again. good to see you all. SSD install on my laptop, need a vm os/cf install for dev. site(s) is on crystal tech, so i guess as close to what they have as possible. i can go apache if needed, though i think ct is running iis. would prefer to not have to license an os if possible, though i could swing it to maintain equality between the dev and live. laptop has 8GB, so is a vm even worth it? want to get a new site up today, so i need to be able to download rather than wait on disks. all my stuff is at home. thanks all! chedder ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:348875 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
extend application.cfc based upon condition
Using a shared host, and currently serving several different sites based upon conditional code. I have just done a site in fw/1, and would like to incorporate the site into the codebase. The fw/1 app has this in application.cfc: cfcomponent extends=org.corfield.framework output=false Is there another way to do this? I would like to extend application.cfc, but only for one domain. Is there another way to extend a component without using the extends attribute? What would be the best way to go about this? -- Regards, Matthew Smith ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336681 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: extend application.cfc based upon condition
Ok, here is what I tried: I removed the cfcomponent tags in the org.corfield.framework file, and copied them to a folder. I tried adding this: cfif findnocase(domain.com,request.currentSiteDomain,1) cfinclude template=/fw1/fw1.cfm cfinclude template=/fw1/settings-domain-com.cfm cfelse !--- All my other stuff for the other apps, including the onRequestStart function ---! /cfif I thought I would be good to go, but I am getting this error on the new app Routines cannot be declared more than once. The routine onRequestStart has been declared twice in different templates. I don't understand why I am getting this as the second onRequestStart is within the cfelse and should not be seen. On Tue, Aug 31, 2010 at 11:39 AM, Matthew Smith chedders...@gmail.comwrote: Using a shared host, and currently serving several different sites based upon conditional code. I have just done a site in fw/1, and would like to incorporate the site into the codebase. The fw/1 app has this in application.cfc: cfcomponent extends=org.corfield.framework output=false Is there another way to do this? I would like to extend application.cfc, but only for one domain. Is there another way to extend a component without using the extends attribute? What would be the best way to go about this? -- Regards, Matthew Smith -- Regards, Matthew Smith ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336689 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
calling a cfc function from the same cfc
I currently have a cfc to handle 404's that is called by my 404.cfm. It is working fine, but I need to use the same cfc for different sites. This works (very simplified, much more going on): cfcomponent cffunction name=handle_404 access=public returntype=void cfargument name=requested_template type=string required=yes cfif arguments.requested_template eq /art-cat/ cfmodule template=/index.cfm fuseaction=TheGallery.displayCategory key=#variables.category# requested_template=#arguments.requested_template# page_num=#variables.page_num# ignoresupresslayout=1 /cfif /cffunction /cfcomponent But this does not: cfcomponent cffunction name=handle_404 access=public returntype=void cfargument name=requested_template type=string required=yes cfargument name=current_site_name type=string required=yes cfif arguments.current_site_name eq www_domain1_com cfset variables.tmp = domain1_404(arguments.requested_template) /cfif /cffunction cffunction name=domain1_404 access=public returntype=void output=no cfargument name=requested_template required=yes type=string cfif arguments.requested_template eq /art-cat/ cfmodule template=/index.cfm fuseaction=TheGallery.displayCategory key=#variables.category# requested_template=#arguments.requested_template# page_num=#variables.page_num# ignoresupresslayout=1 /cfif /cffunction /cfcomponent I don't know if I am just calling the second function improperly? What would be the best way to accomplish what I am doing? -- Regards, Matthew Smith ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336484 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: calling a cfc function from the same cfc
cfset domain1_404(arguments.requested_template) / Hmm, that's a weird syntax. output needed to be set to yes. Thank you both for the help. On Mon, Aug 23, 2010 at 3:52 PM, Andrew Scott andr...@andyscott.id.auwrote: Actually I don't think it will make a difference, but you should do this cfset domain1_404(arguments.requested_template) / Not this cfset variables.tmp = domain1_404(arguments.requested_template) / Reason being is that you are not returning anything from this method as it is set to void. Regards, Andrew Scott http://www.andyscott.id.au/ -Original Message- From: Matthew Smith [mailto:chedders...@gmail.com] Sent: Tuesday, 24 August 2010 6:50 AM To: cf-talk Subject: calling a cfc function from the same cfc I currently have a cfc to handle 404's that is called by my 404.cfm. It is working fine, but I need to use the same cfc for different sites. This works (very simplified, much more going on): cfcomponent cffunction name=handle_404 access=public returntype=void cfargument name=requested_template type=string required=yes cfif arguments.requested_template eq /art-cat/ cfmodule template=/index.cfm fuseaction=TheGallery.displayCategory key=#variables.category# requested_template=#arguments.requested_template# page_num=#variables.page_num# ignoresupresslayout=1 /cfif /cffunction /cfcomponent But this does not: cfcomponent cffunction name=handle_404 access=public returntype=void cfargument name=requested_template type=string required=yes cfargument name=current_site_name type=string required=yes cfif arguments.current_site_name eq www_domain1_com cfset variables.tmp = domain1_404(arguments.requested_template) /cfif /cffunction cffunction name=domain1_404 access=public returntype=void output=no cfargument name=requested_template required=yes type=string cfif arguments.requested_template eq /art-cat/ cfmodule template=/index.cfm fuseaction=TheGallery.displayCategory key=#variables.category# requested_template=#arguments.requested_template# page_num=#variables.page_num# ignoresupresslayout=1 /cfif /cffunction /cfcomponent I don't know if I am just calling the second function improperly? What would be the best way to accomplish what I am doing? -- Regards, Matthew Smith ~~ ~~~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael- Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf- talk/message.cfm/messageid:336484 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf- talk/unsubscribe.cfm ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336487 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
removing chr(10), chr(13), chr(9), chr(12)
I am trying to write a file to be uploaded to google base. I am having a problem with the formatting. I'm not sure, but I think the item description might have some of those characters in them. What is the easiest way to remove the subject line's characters? I could wrap a replace in a replace etc but that seems sloppy. Thank you. -- Regards, Matthew Smith ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336452 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: removing chr(10), chr(13), chr(9), chr(12)
Thank you for the help. It seems I am still missing the line feed somehow. This is an example of the text that is giving me a problem, copied straight from the db: Laurel Burch artistic tote, JIO's cats (style 4380 Large Square Tote) is a roomy 22 by 4 by 15.5. The inside pocket combination has a zippered pocket, an open pocket, a velcro closure cell phone pocket. The front kitty design has sequins and embroidery detail. A striped pattern is on the back. Top zipper closure. Includes a carved wood, hand painted kitty hang tag. For some reason I am not catching it. Am I missing a character that I should be replacing? This is what I have: cfset lineoutput = lineoutput replacelist(qry_productsGetForIndex.shortdescription, #chr(13)##chr(10)#,#chr(9)#,#chr(12)#, ) chr(32) replace(qry_productsGetForIndex.productDescription, chr(9), , all) chr(9) The output to the text file still has the new line. On Sun, Aug 22, 2010 at 6:07 PM, Jason Fisher ja...@wanax.com wrote: Depending on what you need to replace those chars with, this will simply remove them: cfset testString = replaceList(subject, #chr(13)##chr(10)#,#chr(9)#,#chr(12)#, ,,) / (I assumed that 13 10 were a single EOL set, but you could add a comma in between there and in the replacement set, if needed.) - Jason On 8/22/2010 6:49 PM, Matthew Smith wrote: I am trying to write a file to be uploaded to google base. I am having a problem with the formatting. I'm not sure, but I think the item description might have some of those characters in them. What is the easiest way to remove the subject line's characters? I could wrap a replace in a replace etc but that seems sloppy. Thank you. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336454 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: removing chr(10), chr(13), chr(9), chr(12)
That got it. Thank you so much. On Sun, Aug 22, 2010 at 9:12 PM, Wil Genovese jugg...@trunkful.com wrote: This is what I use to remove all control characters from a string. Which includes linefeed chr(10) and carriage return chr(13). REReplaceNoCase(string,'([[:cntrl:]])','','All') Wil Genovese Sr. Web Application Developer/ Systems Administrator Wil Genovese Consulting wilg...@trunkful.com www.trunkful.com On Aug 22, 2010, at 8:58 PM, Justin Scott wrote: Thank you for the help. It seems I am still missing the line feed somehow. In the replaceList() put a comma between char 13 and 10 so it will catch them individually instead of only when they're together (and add another comma to the second attribute as well). Sometimes text will only have a line break (10) without the carriage return (13). -Justin ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336457 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
best 301 method
Which is preferred? cfheader statuscode=â301â³ statustext=âMoved permanentlyâ / cfheader name=âlocationâ value=â http://www.mysite.com/new-location-for-content/â / or cflocation url = âhttp://www.mysite.com/new-location-for-content/â addToken = ânoâ statusCode = â301â³ Redoing all links on my site for better seo. -- Regards, Matthew Smith ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336337 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: best 301 method
If providing a 410 status code, what should I put in the statustext? Or can I just: cfheader statuscode=410/ On Tue, Aug 17, 2010 at 11:45 AM, Jacob ja...@excaliburfilms.com wrote: I have been using cfheader for 301 without any issues. -Original Message- From: Matthew Smith [mailto:chedders...@gmail.com] Sent: Tuesday, August 17, 2010 9:39 AM To: cf-talk Subject: best 301 method Which is preferred? cfheader statuscode=â 301â³ statustext=â Moved permanentlyâ / cfheader name=â locationâ value=â http://www.mysite.com/new-location-for-content/âhttp://www.mysite.com/new-location-for-content/%C3%A2 / or cflocation url = âhttp://www.mysite.com/new-location-for-content/âhttp://www.mysite.com/new-location-for-content/%C3%A2  addToken = ânoâ statusCode = â301â³ Redoing all links on my site for better seo. -- Regards, Matthew Smith ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336342 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
image dimensions on mapped drive file
I need to get the dimensions of some images. In my local environment, my wwwroot is located on a mapped drive at: \\awesome-pc\inetpub\wwwroot\ It is also mapped on the server as: z:\wwwroot\ I found a couple of methods to get image dimensions, and am using the one from this thread: http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:33091 http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:33091 I am getting: Can't read input file! I can go to the image on the server by putting in the path directly, so it is accessable, but for some reason cf can't see it. I know there is an issue with null credentials on network assets, so everything is starting under a user account. How can I get this to work? Passing: \\awesome-pc\inetpub\wwwroot\domain_com\includes\www_domain_com\dev\images\products\image.jpg or z:\wwwroot\domain_com\includes\www_domain_com\dev\images\products\image.jpg cffunction name=ImageSize returnType=struct access=public cfargument name=FileLoc type=string required=Yes cfset jFileIn = createObject(java,java.io.File).init(ARGUMENTS.FileLoc) cfset ImageInfo = StructNew() cfset ImageObject = createObject(java,javax.imageio.ImageIO).read(jFileIn) cfset ImageInfo.ImgWidth = ImageObject.getWidth() cfset ImageInfo.ImgHeight = ImageObject.getHeight() cfreturn ImageInfo /cffunction -- Regards, Matthew Smith ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336300 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: image dimensions on mapped drive file
cfdirectory directory=z:\wwwroot\domain_com\includes\www_domain_com\dev\images\products\ action=list name=dir_list produces empty list cfdirectory directory=\\awesome-pc\inetpub\wwwroot\domain_com\includes\www_domain_com\dev\images\products\ action=list name=dir_list lists the files as it should. Not sure why a mapped drive does not work while the unc does. On Mon, Aug 16, 2010 at 12:55 PM, Andy Matthews li...@commadelimited.comwrote: Does ColdFusion have access to that drive? Can you generate a list of files, and their permissions with cfdirectory for example? andy -Original Message- From: Matthew Smith [mailto:chedders...@gmail.com] Sent: Monday, August 16, 2010 12:31 PM To: cf-talk Subject: image dimensions on mapped drive file I need to get the dimensions of some images. In my local environment, my wwwroot is located on a mapped drive at: \\awesome-pc\inetpub\wwwroot\ It is also mapped on the server as: z:\wwwroot\ I found a couple of methods to get image dimensions, and am using the one from this thread: http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:33091 http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:33091 I am getting: Can't read input file! I can go to the image on the server by putting in the path directly, so it is accessable, but for some reason cf can't see it. I know there is an issue with null credentials on network assets, so everything is starting under a user account. How can I get this to work? Passing: \\awesome-pc\inetpub\wwwroot\domain_com\includes\www_domain_com\dev\images\p roducts\image.jpg or z:\wwwroot\domain_com\includes\www_domain_com\dev\images\products\image.jpg cffunction name=ImageSize returnType=struct access=public cfargument name=FileLoc type=string required=Yes cfset jFileIn = createObject(java,java.io.File).init(ARGUMENTS.FileLoc) cfset ImageInfo = StructNew() cfset ImageObject = createObject(java,javax.imageio.ImageIO).read(jFileIn) cfset ImageInfo.ImgWidth = ImageObject.getWidth() cfset ImageInfo.ImgHeight = ImageObject.getHeight() cfreturn ImageInfo /cffunction -- Regards, Matthew Smith ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336304 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: image dimensions on mapped drive file
All CF services are starting under my user account. The mapped drive is on a windows 7 box, and I can't figure out how to put a xp user on it. The share allows everyone read write. On Mon, Aug 16, 2010 at 2:50 PM, Rick Root rick.r...@gmail.com wrote: Drive mappings only exist as part of a login session. The Z: drive does not exist if nobody is logged into the computer. I think what you need to do, if you want to use drive mappings, is have coldfusion log into some account (other than system), and set up the drive mapping for that user account. Rick ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336307 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: using cfhttp
Can you recommend any? On Wed, Apr 7, 2010 at 7:00 AM, Brian Thornton vegasthorn...@gmail.comwrote: or just sign up for the many free alerting services. On Tue, Apr 6, 2010 at 12:24 PM, Andy Matthews li...@commadelimited.com wrote: Additionally you can make the request a little lighter by just making a HEAD request instead of a get or post. cfhttp url=http://www.andymatthews.net; method=head/cfhttp It doesn't return the entire body of the site in the filecontent key. andy -Original Message- From: Charlie Griefer [mailto:charlie.grie...@gmail.com] Sent: Tuesday, April 06, 2010 10:47 AM To: cf-talk Subject: Re: using cfhttp d'oH! yeah, cfhttp.statusCode. not cfhttp.fileStatus. :) On Tue, Apr 6, 2010 at 8:41 AM, Kevin Pepperman chorno...@gmail.com wrote: Using cfhttp will return a cfhttp.statusCode, which if is 200 OK you know the URL has resolved correct. -- /Kevin Pepperman They who can give up essential liberty to obtain a little temporary safety, deserve neither liberty nor safety. - Benjamin Franklin ~| 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:332693 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
default for numeric argument
cfargument name=app_user_id type=numeric required=no default= I am not passing it in. I am getting: The APP_USER_ID argument passed to the check_item_quantities function is not of type numeric. Should I make the default 0? ~| 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:332572 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
return recordset from stored procedure
Can I do it like this? cffunction access=public name=qry_cart_check_item_quantities output=no returntype=void hint=Verifies that items in user's cart are still available. cfargument name=cf_user_id type=string required=no default= cfargument name=app_user_id type=numeric required=no default=0 cfif not len(arguments.cf_user_id) and arguments.app_user_id eq 0 cfabort showerror=qry_cart_check_item_quantities: you must pass either arguments.cf_user_id or arguments.app_user_id /cfif cfquery name=qry_cart_check_item_quantities datasource=#request.dataSource# exec [proc_rhkprod_cart_check_item_quantities] cfif len(arguments.cf_user_id) @cf_user_id = cfqueryparam cfsqltype=CF_SQL_VARCHAR value=#arguments.cf_user_id# cfelse @cf_user_id = cfqueryparam value=#arguments.cf_user_id# cfsqltype=CF_SQL_VARCHAR null=yes /cfif , cfif arguments.app_user_id neq 0 @app_user_id = cfqueryparam cfsqltype=CF_SQL_INTEGER value=#arguments.app_user_id# cfelse @app_user_id = cfqueryparam value=#arguments.app_user_id# cfsqltype=CF_SQL_INTEGER null=yes /cfif /cfquery /cffunction Or do I need to use CFSTOREDPROC? ~| 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:332577 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: return recordset from stored procedure
Thank you. I was trying to return a result set and forgot SET NOCOUNT OFF. It works now. On Mon, Apr 5, 2010 at 9:41 AM, Dave Watts dwa...@figleaf.com wrote: Can I do it like this? ... Or do I need to use CFSTOREDPROC? In my own experience, this depends on the database and/or database drivers. I've been able to consistently invoke stored procedures against SQL Server this way. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA Schedule, and provides the highest caliber vendor-authorized instruction at our training centers, online, or onsite. ~| 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:332580 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
recordcount from stored procedure call
cfobject component=redhotkittiescfcs.cart name=cart / cfset cart_check_item_quantities = cart.check_item_quantities( cf_user_id=#cfid#_#cftoken#) / cfif cart_check_item_quantities.recordcount cfobject component=redhotkittiescfcs.qry name=qry / cfset qry_cart_adjustments_get = cart.qry_cart_adjustments_get( cf_user_id=#cfid#_#cftoken#) / /cfif The if is not running. Also, I was dumping the recordset with this: cfcase value=start cfobject component=redhotkittiescfcs.cart name=cart / cfset cart_check_item_quantities = cart.check_item_quantities( cf_user_id=#cfid#_#cftoken#) / cfif cart_check_item_quantities.recordcount cfobject component=redhotkittiescfcs.qry name=qry / cfset qry_cart_adjustments_get = cart.qry_cart_adjustments_get( cf_user_id=#cfid#_#cftoken#) / /cfif cfdump var=#qry_cart_adjustments_get# cfabort /cfcase Here is the output: query RESULTSET query ADJUSTED ADJUSTEDQUANTITY CFUSERID ORIGINALQUANTITY REMOVED TABLEPK TBLPEOPLEFK TBLPRODUCTSFK 1 1 -1 1506_18149772 1 0 21 [empty string] 281 CACHED false EXECUTIONTIME 0 SQL exec [proc_rhkprod_cart_check_item_quantities] @cf_user_id = ? , @app_user_id = ? SQLPARAMETERS array 1 1506_18149772 2 [empty string] Why am I seeing: SQLexec [proc_rhkprod_cart_check_item_quantities] @cf_user_id = ? , @app_user_id = ? Shouldn't it be the other sp? ~| 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:332584 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: recordcount from stored procedure call
Still stumped on this. It seems that cart_check_item_quantities is somehow stopping the second recordset from existing. What is going on here? This: cfcase value=start !--- cfobject component=redhotkittiescfcs.cart name=cart / cfset cart_check_item_quantities = cart.check_item_quantities( cf_user_id=#cfid#_#cftoken#) / cfdump var=#cart_check_item_quantities# cfif cart_check_item_quantities.recordcount --- cfobject component=redhotkittiescfcs.qry name=qry / cfset qry_cart_adjustments_get = qry.qry_cart_adjustments_get( cf_user_id=#cfid#_#cftoken#) / !--- /cfif --- cfdump var=#qry_cart_adjustments_get# cfabort /cfcase Works properly and gives me this: query RESULTSET query ADJUSTED ADJUSTEDQUANTITY CFUSERID ORIGINALQUANTITY REMOVED TABLEPK TBLPEOPLEFK TBLPRODUCTSFK 1 1 -1 1506_18149772 1 0 21 [empty string] 281 CACHED false EXECUTIONTIME 0 SQL SELECT * FROM rhkProd_tblCartAdjustments WHERE 1 = 1 AND cfuserid = ? SQLPARAMETERS array 1 1506_18149772 But this(not commented): cfcase value=start cfobject component=redhotkittiescfcs.cart name=cart / cfset cart_check_item_quantities = cart.check_item_quantities( cf_user_id=#cfid#_#cftoken#) / cfdump var=#cart_check_item_quantities# cfif cart_check_item_quantities.recordcount cfobject component=redhotkittiescfcs.qry name=qry / cfset qry_cart_adjustments_get = qry.qry_cart_adjustments_get( cf_user_id=#cfid#_#cftoken#) / /cfif cfdump var=#qry_cart_adjustments_get# cfabort /cfcase Only gives me this, one recordset dumped, not both: query RESULTSET query ADJUSTED ADJUSTEDQUANTITY CFUSERID ORIGINALQUANTITY REMOVED TABLEPK TBLPEOPLEFK TBLPRODUCTSFK 1 1 -1 1506_18149772 1 0 21 [empty string] 281 CACHED false EXECUTIONTIME 15 SQL exec [proc_rhkprod_cart_check_item_quantities] @cf_user_id = ? , @app_user_id = ? SQLPARAMETERS array 1 1506_18149772 2 [empty string] On Mon, Apr 5, 2010 at 10:52 AM, Matthew Smith chedders...@gmail.comwrote: cfobject component=redhotkittiescfcs.cart name=cart / cfset cart_check_item_quantities = cart.check_item_quantities( cf_user_id=#cfid#_#cftoken#) / cfif cart_check_item_quantities.recordcount cfobject component=redhotkittiescfcs.qry name=qry / cfset qry_cart_adjustments_get = cart.qry_cart_adjustments_get( cf_user_id=#cfid#_#cftoken#) / /cfif The if is not running. Also, I was dumping the recordset with this: cfcase value=start cfobject component=redhotkittiescfcs.cart name=cart / cfset cart_check_item_quantities = cart.check_item_quantities( cf_user_id=#cfid#_#cftoken#) / cfif cart_check_item_quantities.recordcount cfobject component=redhotkittiescfcs.qry name=qry / cfset qry_cart_adjustments_get = cart.qry_cart_adjustments_get( cf_user_id=#cfid#_#cftoken#) / /cfif cfdump var=#qry_cart_adjustments_get# cfabort /cfcase Here is the output: query RESULTSET query ADJUSTED ADJUSTEDQUANTITY CFUSERID ORIGINALQUANTITY REMOVED TABLEPK TBLPEOPLEFK TBLPRODUCTSFK 1 1 -1 1506_18149772 1 0 21 [empty string] 281 CACHED false EXECUTIONTIME 0 SQL exec [proc_rhkprod_cart_check_item_quantities] @cf_user_id = ? , @app_user_id = ? SQLPARAMETERS array 1 1506_18149772 2 [empty string] Why am I seeing: SQLexec [proc_rhkprod_cart_check_item_quantities] @cf_user_id = ? , @app_user_id = ? Shouldn't it be the other sp? ~| 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:332600 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: recordcount from stored procedure call
I fail at cfabort. disregard. Sorry. On Mon, Apr 5, 2010 at 5:56 PM, Matthew Smith chedders...@gmail.com wrote: Still stumped on this. It seems that cart_check_item_quantities is somehow stopping the second recordset from existing. What is going on here? This: cfcase value=start !--- cfobject component=redhotkittiescfcs.cart name=cart / cfset cart_check_item_quantities = cart.check_item_quantities( cf_user_id=#cfid#_#cftoken#) / cfdump var=#cart_check_item_quantities# cfif cart_check_item_quantities.recordcount --- cfobject component=redhotkittiescfcs.qry name=qry / cfset qry_cart_adjustments_get = qry.qry_cart_adjustments_get( cf_user_id=#cfid#_#cftoken#) / !--- /cfif --- cfdump var=#qry_cart_adjustments_get# cfabort /cfcase Works properly and gives me this: query RESULTSET query ADJUSTED ADJUSTEDQUANTITY CFUSERID ORIGINALQUANTITY REMOVED TABLEPK TBLPEOPLEFK TBLPRODUCTSFK 1 1 -1 1506_18149772 1 0 21 [empty string] 281 CACHED false EXECUTIONTIME 0 SQL SELECT * FROM rhkProd_tblCartAdjustments WHERE 1 = 1 AND cfuserid = ? SQLPARAMETERS array 1 1506_18149772 But this(not commented): cfcase value=start cfobject component=redhotkittiescfcs.cart name=cart / cfset cart_check_item_quantities = cart.check_item_quantities( cf_user_id=#cfid#_#cftoken#) / cfdump var=#cart_check_item_quantities# cfif cart_check_item_quantities.recordcount cfobject component=redhotkittiescfcs.qry name=qry / cfset qry_cart_adjustments_get = qry.qry_cart_adjustments_get( cf_user_id=#cfid#_#cftoken#) / /cfif cfdump var=#qry_cart_adjustments_get# cfabort /cfcase Only gives me this, one recordset dumped, not both: query RESULTSET query ADJUSTED ADJUSTEDQUANTITY CFUSERID ORIGINALQUANTITY REMOVED TABLEPK TBLPEOPLEFK TBLPRODUCTSFK 1 1 -1 1506_18149772 1 0 21 [empty string] 281 CACHED false EXECUTIONTIME 15 SQL exec [proc_rhkprod_cart_check_item_quantities] @cf_user_id = ? , @app_user_id = ? SQLPARAMETERS array 1 1506_18149772 2 [empty string] On Mon, Apr 5, 2010 at 10:52 AM, Matthew Smith chedders...@gmail.comwrote: cfobject component=redhotkittiescfcs.cart name=cart / cfset cart_check_item_quantities = cart.check_item_quantities( cf_user_id=#cfid#_#cftoken#) / cfif cart_check_item_quantities.recordcount cfobject component=redhotkittiescfcs.qry name=qry / cfset qry_cart_adjustments_get = cart.qry_cart_adjustments_get( cf_user_id=#cfid#_#cftoken#) / /cfif The if is not running. Also, I was dumping the recordset with this: cfcase value=start cfobject component=redhotkittiescfcs.cart name=cart / cfset cart_check_item_quantities = cart.check_item_quantities( cf_user_id=#cfid#_#cftoken#) / cfif cart_check_item_quantities.recordcount cfobject component=redhotkittiescfcs.qry name=qry / cfset qry_cart_adjustments_get = cart.qry_cart_adjustments_get( cf_user_id=#cfid#_#cftoken#) / /cfif cfdump var=#qry_cart_adjustments_get# cfabort /cfcase Here is the output: query RESULTSET query ADJUSTED ADJUSTEDQUANTITY CFUSERID ORIGINALQUANTITY REMOVED TABLEPK TBLPEOPLEFK TBLPRODUCTSFK 1 1 -1 1506_18149772 1 0 21 [empty string] 281 CACHED false EXECUTIONTIME 0 SQL exec [proc_rhkprod_cart_check_item_quantities] @cf_user_id = ? , @app_user_id = ? SQLPARAMETERS array 1 1506_18149772 2 [empty string] Why am I seeing: SQLexec [proc_rhkprod_cart_check_item_quantities] @cf_user_id = ? , @app_user_id = ? Shouldn't it be the other sp? ~| 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:332602 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Best way to return generated html from cfc
I have a cfc that will generate some html to be displayed inline. I was just going to reuturn a string rather than have it output directly. Is this the proper way to do that? How do I save generated html from cf code into a variable to be returned as a string? Thanks. ~| 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:332603 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Best way to return generated html from cfc
That's what I was looking for. Couldn't remember the tag. Thanks all. On Mon, Apr 5, 2010 at 6:25 PM, Barney Boisvert bboisv...@gmail.com wrote: Yep, that's exactly the way to do it. cffunction returntype=string cfset var stuff = / cfsavecontent variable=stuff ... blah bla blah ... /cfsavecontent cfreturn stuff / /cffunction cheers, barneyb On Mon, Apr 5, 2010 at 4:22 PM, Matthew Smith chedders...@gmail.com wrote: I have a cfc that will generate some html to be displayed inline. I was just going to reuturn a string rather than have it output directly. Is this the proper way to do that? How do I save generated html from cf code into a variable to be returned as a string? Thanks. -- Barney Boisvert bboisv...@gmail.com http://www.barneyb.co ~| 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:332608 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Best way to return generated html from cfc
We are selling unique items. When the user looks at their cart or right before the last step in placing an order, I verify that no one has bought the item or it has been removed from inventory for some other reason. So I want a cfc that will check to see if adjustments need to be made, and if so, display the changes to the quantities in the cart to the user. I've put the functionality in the cart cfc, right now I have the functions: check_item_quantities display_adjustments I could wrap those two in another function that handles everything. Not really sure of the best way to do this. Just getting into cfcs(yeah, i know, kinda slow there). Very cool stuff. I'm pretty much rewriting the site to use them. On Mon, Apr 5, 2010 at 9:36 PM, Qing Xia txiasum...@gmail.com wrote: I have a cfc that will generate some html to be displayed inline. I was just going to reuturn a string rather than have it output directly. Is this the proper way to do that? I've been struggling to draw a clear line between the usage of CFCs and Custom Tags, but one general trend I see developers practicing seems to be to put display code for reuse in Custom Tags rather than in CFCs. For example, I have a Custom Tag that can spit out either a printable HTML invoice or the same invoice in PDF--and customize contents of the invoice based on user input. The same logic can very well be encapsulated in a CFC instead, but the Custom Tag is better for black-box processing like this one. It's hard to tell without knowing more of your situation, but just thought I'd share the thought. :-) ~| 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:332619 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
session variable timeout
I think I know this, but want to verify. If I do a isdefined on one session variable, is the timeout for all session variables reset? So if I have a isdefined(session.loggedin) check and it is true, I can assume that all session variables are still defined, assuming they were coming into that portion of the code? Thanks! ~| 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:331647 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: session variable timeout
Ok, just to clarify, does the count down restart with the load of application.cfm, or is it when a session variables is referenced? On Fri, Mar 12, 2010 at 9:42 AM, Mike Chabot mcha...@gmail.com wrote: Kinda and yes. Simply accessing the page within the timeout limit should maintain the session. Your code in the second question should be an adequate check of whether or not the session is active. All session variables inside the user's session would expire at the same time. StructKeyExists(session,loggedin) is more efficient than IsDefined(). -Mike Chabot On Fri, Mar 12, 2010 at 10:22 AM, Matthew Smith chedders...@gmail.com wrote: I think I know this, but want to verify. If I do a isdefined on one session variable, is the timeout for all session variables reset? So if I have a isdefined(session.loggedin) check and it is true, I can assume that all session variables are still defined, assuming they were coming into that portion of the code? Thanks! ~| 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:331681 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
can't figure out cfc error
I've checked the spelling, cut and paste the reference. Not sure what is going on... Works locally but uploading to the live server it is broken. Is there some sort of cache for cfcs? Expression Element HARDLINKQUANITY is undefined in ARGUMENTS. [empty string] 0 [empty string] [empty string] random3bycategory lines in question: cfinvoke component=redhotkittiescfcs.hardlinkgenerator method=linkgenerator returnvariable=itemlink productid=#qry_random3bycategory.productID# callkey=#arguments.taxologykey# hardlinkstring=#qry_random3bycategory.hardlink# quantity=#qry_random3bycategory.quantity# hardlinkquantity=#qry_random3bycategory.hardlinkquantity# self=#arguments.self# cfcatch.tagcontext - array 1cfcatch.tagcontext - struct COLUMN 0IDCF_DOTRESOLVER LINE 11RAW_TRACE at cfhardlinkgenerator2ecfc446576818$funcLINKGENERATOR.runFunction(D:\Inetpub\redhotkitties\redhotkittiescfcs\hardlinkgenerator.cfc:11)TEMPLATE D:\Inetpub\redhotkitties\redhotkittiescfcs\hardlinkgenerator.cfc TYPECFML 2cfcatch.tagcontext - struct COLUMN 0ID CFINVOKELINE 31RAW_TRACE at cfrandom3bycategory2ecfc1508842978$funcRANDOM3BYCATEGORY.runFunction(D:\Inetpub\redhotkitties\redhotkittiescfcs\random3bycategory.cfc:31)TEMPLATE D:\Inetpub\redhotkitties\redhotkittiescfcs\random3bycategory.cfc TYPECFML ~| 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:331687 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: can't figure out cfc error
missing a t which corrected. This is on crystaltech. How do I reset the cfc? On Fri, Mar 12, 2010 at 12:34 PM, Matthew Smith chedders...@gmail.comwrote: I've checked the spelling, cut and paste the reference. Not sure what is going on... Works locally but uploading to the live server it is broken. Is there some sort of cache for cfcs? Expression Element HARDLINKQUANITY is undefined in ARGUMENTS. [empty string] 0 [empty string] [empty string] random3bycategory lines in question: cfinvoke component=redhotkittiescfcs.hardlinkgenerator method=linkgenerator returnvariable=itemlink productid=#qry_random3bycategory.productID# callkey=#arguments.taxologykey# hardlinkstring=#qry_random3bycategory.hardlink# quantity=#qry_random3bycategory.quantity# hardlinkquantity=#qry_random3bycategory.hardlinkquantity# self=#arguments.self# cfcatch.tagcontext - array 1cfcatch.tagcontext - struct COLUMN 0IDCF_DOTRESOLVER LINE 11RAW_TRACE at cfhardlinkgenerator2ecfc446576818$funcLINKGENERATOR.runFunction(D:\Inetpub\redhotkitties\redhotkittiescfcs\hardlinkgenerator.cfc:11)TEMPLATE D:\Inetpub\redhotkitties\redhotkittiescfcs\hardlinkgenerator.cfc TYPECFML2cfcatch.tagcontext - struct COLUMN 0ID CFINVOKELINE 31RAW_TRACE at cfrandom3bycategory2ecfc1508842978$funcRANDOM3BYCATEGORY.runFunction(D:\Inetpub\redhotkitties\redhotkittiescfcs\random3bycategory.cfc:31)TEMPLATE D:\Inetpub\redhotkitties\redhotkittiescfcs\random3bycategory.cfc TYPECFML ~| 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:331688 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: can't figure out cfc error
Here's the cfc: cfcomponent cffunction name=linkgenerator access=public returntype=string cfargument name=productid type=numeric required=yes cfargument name=callkey type=numeric required=yes cfargument name=hardlinkstring type=string required=yes cfargument name=quantity type=numeric required=yes cfargument name=hardlinkquantity type=numeric required=yes cfargument name=self type=string required=yes cfif len(arguments.hardlinkstring) eq 0 or remote_addr contains 192.168.1 or arguments.hardlinkquanity neq arguments.quantity cfset XFA.viewItemDetail = thegallery.itemDetail cfset itemlink = #arguments.self#/fuseaction/#XFA.viewItemDetail#/productID/#arguments.productID#/callKey/#arguments.callkey#/index.cfm cfelse !--- cfif remote_addr contains 192.168.1 cfset itemlink = http://redhotkittiesdotcom#arguments.hardlinkstring#; cfelse --- cfset itemlink = http://www.RedHotKitties.com#arguments.hardlinkstring#; !--- /cfif --- /cfif cfreturn itemlink /cffunction /cfcomponent It's working locally. I've uploaded to the live server and it is broken there. It's like the reference is cached. On Fri, Mar 12, 2010 at 12:40 PM, Dave Watts dwa...@figleaf.com wrote: I've checked the spelling, cut and paste the reference. Not sure what is going on... Works locally but uploading to the live server it is broken. Is there some sort of cache for cfcs? Expression Element HARDLINKQUANITY is undefined in ARGUMENTS. [empty string] 0 [empty string] [empty string] You didn't post the CFC, so we can't see for sure. But are you sure you checked the spelling? It's HARDLINKQUANITY, not HARDLINKQUANTITY? Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA Schedule, and provides the highest caliber vendor-authorized instruction at our training centers, online, or onsi ~| 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:331692 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: can't figure out cfc error
just spotted it. Sorry. Thank you for the help. On Fri, Mar 12, 2010 at 12:48 PM, Matthew Smith chedders...@gmail.comwrote: Here's the cfc: cfcomponent cffunction name=linkgenerator access=public returntype=string cfargument name=productid type=numeric required=yes cfargument name=callkey type=numeric required=yes cfargument name=hardlinkstring type=string required=yes cfargument name=quantity type=numeric required=yes cfargument name=hardlinkquantity type=numeric required=yes cfargument name=self type=string required=yes cfif len(arguments.hardlinkstring) eq 0 or remote_addr contains 192.168.1 or arguments.hardlinkquanity neq arguments.quantity cfset XFA.viewItemDetail = thegallery.itemDetail cfset itemlink = #arguments.self#/fuseaction/#XFA.viewItemDetail#/productID/#arguments.productID#/callKey/#arguments.callkey#/index.cfm cfelse !--- cfif remote_addr contains 192.168.1 cfset itemlink = http://redhotkittiesdotcom#arguments.hardlinkstring#http://redhotkittiesdotcom#arguments.hardlinkstring%23 cfelse --- cfset itemlink = http://www.RedHotKitties.com#arguments.hardlinkstring#http://www.RedHotKitties.com#arguments.hardlinkstring%23 !--- /cfif --- /cfif cfreturn itemlink /cffunction /cfcomponent It's working locally. I've uploaded to the live server and it is broken there. It's like the reference is cached. On Fri, Mar 12, 2010 at 12:40 PM, Dave Watts dwa...@figleaf.com wrote: I've checked the spelling, cut and paste the reference. Not sure what is going on... Works locally but uploading to the live server it is broken. Is there some sort of cache for cfcs? Expression Element HARDLINKQUANITY is undefined in ARGUMENTS. [empty string] 0 [empty string] [empty string] You didn't post the CFC, so we can't see for sure. But are you sure you checked the spelling? It's HARDLINKQUANITY, not HARDLINKQUANTITY? Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA Schedule, and provides the highest caliber vendor-authorized instruction at our training centers, online, or onsi ~| 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:331693 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: can't figure out cfc error
Thank you, Dave. Appreciated. On Fri, Mar 12, 2010 at 12:54 PM, Dave Watts dwa...@figleaf.com wrote: missing a t which corrected. This is on crystaltech. How do I reset the cfc? You shouldn't have to do anything. Just publishing a new file should work, unless you're caching the CFC instance in memory - and it doesn't appear that you're doing that. In some rare cases, you may have to delete the compiled CFC from the server. You can see the name of that CFC from the stack trace: cfhardlinkgenerator2ecfc446576818$funcLINKGENERATOR Each method within a CFC is actually compiled as a separate class. By default, these live in \coldfusion9\wwwroot\WEB-INF\cfclasses, I think. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA Schedule, and provides the highest caliber vendor-authorized instruction at our training centers, online, or onsit ~| 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:331701 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: session variable timeout
Cool. Thank you. On Fri, Mar 12, 2010 at 12:39 PM, Mike Chabot mcha...@gmail.com wrote: The timer is reset when the session object is referenced, which happens on every page request. ColdFusion touches the session object on every ColdFusion page request, even if you don't specifically do this in your code. The session timer is not reset if you access file types that aren't served by CF, such as HTML files. There are some hidden functions which allow you to list out every session for every user within the application, not just the current session for the current user. So you could see, for example, that there are 20 active sessions on your server and you can see details about each session. One side effect of making use of this unofficial ability is that all the timers for all the user session get reset when you list them out like this, simply because you touched every session in order to list them out. Below is a CFC function that you can ping every X minutes from inside of an Adobe Flex app in order to keep the session alive on the ColdFusion server. Notice how the function is empty, yet it does the job. cffunction name=keepSessionAlive access=remote output=no !--- Do nothing here --- /cffunction -Mike Chabot On Fri, Mar 12, 2010 at 12:43 PM, Matthew Smith chedders...@gmail.com wrote: Ok, just to clarify, does the count down restart with the load of application.cfm, or is it when a session variables is referenced? On Fri, Mar 12, 2010 at 9:42 AM, Mike Chabot mcha...@gmail.com wrote: Kinda and yes. Simply accessing the page within the timeout limit should maintain the session. Your code in the second question should be an adequate check of whether or not the session is active. All session variables inside the user's session would expire at the same time. StructKeyExists(session,loggedin) is more efficient than IsDefined(). -Mike Chabot On Fri, Mar 12, 2010 at 10:22 AM, Matthew Smith chedders...@gmail.com wrote: I think I know this, but want to verify. If I do a isdefined on one session variable, is the timeout for all session variables reset? So if I have a isdefined(session.loggedin) check and it is true, I can assume that all session variables are still defined, assuming they were coming into that portion of the code? Thanks! ~| 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:331710 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: chossing a methodolgy
Yay! lol. On Wed, Mar 10, 2010 at 6:26 PM, Maureen mamamaur...@gmail.com wrote: Expect to accomplish a lot more with less work. ;-. On Wed, Mar 10, 2010 at 4:10 PM, Matthew Smith chedders...@gmail.com wrote: so two people mention fw/1. Haven't had a chance to look at it yet but will today. Any tips for someone coming from fb ~| 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:331583 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Auto-Login to Google Analytics
How do you create a business account on google? I googled and just got the local business stuff. On Wed, Mar 10, 2010 at 6:21 AM, Kevin Pepperman chorno...@gmail.comwrote: Ben Nadel's CFHttpSession.cfc may be able to do this, I have not tried it yet-- but it mimics browser sessions. http://www.bennadel.com/projects/cfhttp-session.htm logged out from your own Gmail account and into another Google account for the analytics. Just as a side note: You can log into 2 gmail accounts in the same browser as once as long as one of them is a business account. :) I do it all the time. -- /Kevin Pepperman They who can give up essential liberty to obtain a little temporary safety, deserve neither liberty nor safety. - Benjamin Franklin ~| 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:331543 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
chossing a methodolgy
I've been coding CF for around 12 years now. I've been using fusebox 3 since it came out and love it. I can do a site pretty quick with it and I'm very comfortable there. So comfortable that I haven't looked any further. Not a good thing for growth. As I've grown as a developer, my applications have become more comlex, and the way some things are done in fusebox 3 feel a bit kludgy to me now. So, It's time to try something new. I tried fusebox 4 for a few days when it came out, couldn't get the basic app to work, and gave up. I'm willing to give it another go, and noticed they are up to 5.5.1 now. I'm considering investing the time to give it another try. The documentation link under Learning Fusebox for 5.5 is broken. Only tutorials are for fusebox 4 and earlier. The book is $40, a bit much I think. So, before I spend $40 and, even more valuable to me, time, any recommendations? Is fusebox 5.5.1 worth it or should I go to something else? Thanks. ~| 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:331544 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: chossing a methodolgy
so two people mention fw/1. Haven't had a chance to look at it yet but will today. Any tips for someone coming from fb3? On Wed, Mar 10, 2010 at 4:21 PM, Maureen mamamaur...@gmail.com wrote: There are so many really good frameworks out now that I would use almost anything before fighting with yet another version of Fusebox. I'm moving everything to FW/1 as it is clean, simple and easy to use. On Wed, Mar 10, 2010 at 8:52 AM, Matthew Smith chedders...@gmail.com wrote: So, before I spend $40 and, even more valuable to me, time, any recommendations? Is fusebox 5.5.1 worth it or should I go to something else ~| 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:331576 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
calling a template but not waiting for it to finish running
I have some code that I would like to run with each page request, but it might take a while and I'd like to not have to wait for it to finish running. So basically, I'd like to initiate a template in Application.cfm, without a cfinclude. Is this possible? This will be on crystaltech, a shared hosting enviroment, so please keep in mind the tag restrictions. ~| 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:331479 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm