Re: Saving empty (zero-length) files is prohibited.
>search (and my short memory) it has something to do with file extensions >on a mac (especially before OSX). Apparently, if you specify an >incorrect path or name in the file upload field (try typing one in by i don't think it's a file extension issue because the file i'm attempting to upload does have an extension. i don't think it's a Mac issue because I've received this error as well from users on Win2k and WinNT, using IE. The file that i reproduced this with was selected, not typed in. Still stumped, but i think it's just a file system limitation on the Windows server side that i'll have to trap in a custom error message. ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:189556 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
Saving empty (zero-length) files is prohibited.
I've had many errors thrown, since upgrading to CFMX, when uploading a file. The error looks something like this... No data was received in the uploaded file "NatGeo.webloc". Saving empty (zero-length) files is prohibited. Verify that you specified the correct file. I took a look at the open source ColdFusion File Manager demo (http://www.webworksllc.com/cffm/cffm.cfm) and noticed that there's doesn't throw an error with the same file. Further research showed that it's probably because they're on Linux, while i'm on IIS/Win2k. I downloaded their code to my IIS box and it threw the same error. This file is on a Mac, and the Finder shows that it has 462 bytes. The terminal shows it as zero bytes though. My guess would be due to some sort of resource fork or other Mac weirdness. But the error is not simply on Macs. I have had users on WinNT 4 and 5 using IE to upload Word docs when it threw the same error. Could it be an open file issue, or locked file, or some other craziness? On the server side this is a file system issue. CF5 didn't throw the error when i uploaded that file, it simply thinks that i didn't upload a file at all. Anyone have a solution for this, other than simple error catching? thanks. ... .joe ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:189276 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
Re: cf-based discussion board
>Honestly, a forums app is rather simple to >build. CFPOP to read mail in, CFQUERY to store it, CFQUERY to get I always assumed that the HoF forums was built from old scraps of the Allaire Forums that eventually went open source. Not the greatest forums package in the world but a decent place to start. I have a hacked copy i've been using successfully for about 4 years now. Good question though - does anyone know what license the Allaire forums were released under? I can't find anything anywhere and it's not attached to the package i downloaded so many years ago. If it's GPL then of course it might make a difference in my future hardships. ... .joe [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Very odd error : "48 >= 48"
A have a fairly large CF 6.1 / MS SQL Server system that's been growing (code and users) for about 4 years now. We've been running 6.1 for awhile with few problems (except maybe that JDBC problem, rolled back to the old MSSQL drivers). Recently an error has popped up when someone tries to delete user accounts... Error Message: 48 >= 48 Error Diagnostics: 48 >= 48 null Anyone want to try and debug that one for me? The line that the error message points to is nothing special, a query of the main user table to get data for archiving the user (not deleted yet). This started showing up about a week ago and nothing much has really changed in that time that would cause this. Of course it's extremely difficult to try and find any info on this because searching with Google doesn't really allow >= thanks in advance for your help... .joe [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Quiz builder?
I've been looking for a nice quiz/test builder for an online course system i'm working on and can't seem to find one, at least not one for ColdFusion. Anyone come across anything like this? I'd rather buy some open code than write it myself, too many other things to work on right now. Most of what i see out there are poll generators though, nothing for quizzes or tests. If you know where i can find it, or would like to sell what you've made, please contact me. Thanks!!! ... .joe [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Choosing a chat system
Try cfChat - http://www.cfchat.net - I've been using it for years and haven't had any problems with it. I was in a similar situation - already have user accounts in a dB, need a place for them to chat without entering new information. In addition i wanted a non-Java cross-platform chatroom. This one gives you all of that. Plus the developer, Ivan Latunov, is a nice guy and writes great code. You can download the demo and try it out. Not sure if he gives both the flash and javaScript versions in the demo but the flash is exceptional as well. >My ideal: Non Java based, icons instead of the old IRC type / commands, >multiple rooms, private chat rooms, ability to block a user, and recording >chat logs... yep, all there. give it a try... .joe ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
CFMX 6.1 and WebDAV
>Do you mean CFMX as a webdav client or server? As a server look at the >webdav in tomcat, remembering that CFMX is basically a j2ee app.. I've looked at Jakarta Slide which integrates into Tomcat and I may end up going that direction. Only problem is that my main system is on Win2k/IIS so it would take some reconfiguring of my server situations. I don't want to deal with trying to automate IIS permissions and virtual directories if i can avoid it. What i really like to see is a Java custom tag that would allow me to setup WebDAV with permissions and locking that ties into my system and the existing user/groups/permissions. But of course I'm beginning to understand that the file access and management is handled more by the web server than by scripts. Any thoughts, possibilities? Could be a great content management tool if you could mix WebDAV features with easy CF scripting. ... .joe ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
CFMX 6.1 and WebDAV
So according to Ben Forta's DevNet article and other info on the 6.1 enhancements, we learn the following... > The CFHTTP tag now supports all HTTP operations (GET, POST, HEAD, PUT, > DELETE, TRACE, OPTIONS). Okay, that sounds great and it just happens to coincide with my search for information on getting WebDAV to work with ColdFusion. Has anyone out there attempted to integrate WebDAV and CF yet? Any luck? I kinda expected to find some info on the forums or lists but I haven't yet seen anything yet. .. .joe ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
active edit alternaitves
Thanks for the realObjects suggestion. That's the only one i've seen so far that's cross-platform. activEdit gives their excuse about the Mac not supporting LiveConnect while realObjects finds a work around for the issue. So who would you trust for maintaing excellent future development? But i still don't understand why there isn't a basic Flash-based WYSIWYG editor out there, which theoretically could overcome the browser and platform compatibility issues much easier. If anyone knows of one, please speak up. On a related note, does anyone use activSpell, outside of activEdit? ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Cache-control: no-cache
What exactly does the "set-cookie" portion allow for? My guess would be that it allows cookies to come thru okay, but that seems to be happening even with the CFHEADER code in my original message. Could you explain the "set-cookie" portion a little better and how it would be implimented with CFHeader? like this... is that what you're talking about? thanks for the help. . . . . . .joe ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Cache-control: no-cache
I've had trouble with bad proxy configurations lately. In the past I've used the "Pragma:no-cache" http header (via CFHeader) but had problems with browsers seeing pages as expired. Recently someone suggested using "Cache-control: no-cache" to tell the proxy server not to cache the page. Can anyone out there see a problem adding the following to my Application.cfm so that _none_ of the pages are cached? Sounds easy enough. I've tested that code via MS Proxy 2.0 (one that's giving me problems) and it seems to clear it up. What problems could I run into in other areas or in the future? Thanks in advance. . . . . . .. . .joe ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
MAC OS 10 - CFFILE
I'm surprised you can't find any answers on this one - I've tried to explain it in quite a few different venues (here and Macromedia's Forums) quite a few times. The issue is with IE 5 on the Mac, both OS 9 and OS X. If you try Netscape or OmniWeb you probably won't have this issue. IE 5 adds a carriage return to the end of every form value submitted on a multi-part form. you should also look into how this can corrupt files that are uploaded if an application attempts a checksum (such as compressed files or Filemaker Pro files). Look into CFX_StripBytes to fix that one. Email me if you need more help. . . . .. . joe __ This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Macintosh/CFFILE Problems - Corruption
The problem here really has nothing to do with file types. The problem is with the Mac IE 5 browser. When using this browser, when you post a multipart form (such as when uploading a file), the browser adds a carriage return to the end of every field value. This is quite a pain when dealing with text values [use Trim()], and gets worse with files. Most files don't really care if the extra 2 bytes are there, but if your app does a checksum when opening the file - such as Stuffit files and FileMaker Pro databases, those extra bytes will make the app think the file is corrupt. Someone made a Java custom tag that deals with this very well - CFX_StripBytes. Basically it just strips the CR from the file. I got it in the dev exchange. if you can't find it, just email me and i'll send it to you. One thing to note though - if your files are very large then you'll need to up the Max Heap Size for the JVM in the CF admin settings (CF5). . . . .. . . . joe __ Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
OT: ecommerce live chat case study
I run a CF-based professional development site and we offer 9-5 live Help Desk support to our users via a Flash-based chatroom. You can buy that package at http://www.cfchat.net and customize the code at will, just like we did. It integrates quite nicely with the rest of our system. Of course you could roll your own, but I've been down that road, and you won't get all the features you want by simply dragging and dropping (much like HTML and WYSIWYG editors). . . . .. . . . joe __ Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Web Development Methodologies
I don't have alot of experience with methodologies, but I came across the Spiral Model not so long ago and have started to use it for any new projects. I found a diagram explaining such in some CFUG PowerPoint presentation and recreated it from that - i'd like to give credit where it's due, but can't seem to find that presentation now. Search on Google if you'd like more in-depth coverage of this model. If you'd like to see what i'm going off of, check the image located here. . . . http://lessons.ctaponline.org/images/methodology.png --joe hobson __ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists