- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
26 Posted Topics
Re: While you can do this in coldfusion, it's probably faster to do it directly in SQL. <cfquery name="getEvents" datasource=""> SELECT id, name, description, date FROM events WHERE date > now() </cfquery> If you didn't store the date as a date field in the DB, then you can do a Query … ![]() | |
Re: This is a system administration issue and not necessarily something you'd attempt to solve via code. ColdFusion (Adobe, Railo, and OpenBD) have the ability to pool connections (they all use the same MySQL DB Driver). If you're constantly reaching your max connection value, then maybe consider using pooled connections instead … | |
Re: I run ColdFusion on virtual servers every day. No issues whatsoever as long as the VM has enough resources. For example, I wouldn't run it in a VPS with anything less then 512MB. You Can run the open-source CFML engines (Railo, OpenBD) on smaller VM's, but 512 keeps things comfortable. … | |
Re: unfortunately, if you need someone to upload something from a remote drive, that drive will have to be mapped on their computer. Then, when they hit the browse button, they would navigate to the file just like they would navigate to a drive on their computer. | |
Re: This is more of a SQL issue then a CFML issue. Try using <> for your NOT EQUAL statements. The != is more PHP'ish. ;) [url]http://www.w3schools.com/sql/sql_where.asp[/url] Hope this helps. | |
Re: [QUOTE=teedoff;1295716]Drawback to CF is its not free like PHP is.[/QUOTE] To be clear, Adobe's ColdFusion engine is not free for production use. Adobe ColdFusion Developer Edition can be used on a development server or workstation for free. If you're more interested in free, open-source engines, check out the following: Railo: … | |
Re: Not sure what you're asking for here. Railo is free and open-source, as is Eclipse. You can use Railo/Eclipse/CFML to create reports for free... What exactly are you asking for? | |
Re: Check out the <CFDOCUMENT> tag. You can use this tag to generate PDF files. Here's a tutorial direct from Adobe: [url]http://www.adobe.com/devnet/coldfusion/articles/printing_print.html[/url] Hope this helps! | |
Re: CFEXECUTE and DTEXEC should be able to take care of it for you. Hope this helps! | |
Re: If possible, I would try the code on a local development box before posting it to a shared server. This not only helps you be a "better neighbor" to the folks who share the server you're on, but it can help identify server-related problems. In this case, this sounds like … | |
Re: The error would go away if you added the DSN, or removed the code that was calling the DSN if you're not using it. | |
Re: Not all of MS SQL's functions are available in a Query of Query. I'm guessing it just doesn't recognize the DateAdd or DateDiff functions. Maybe try the MS SQL equivalent of a View? | |
Re: It depends on what version of Adobe's CF Server you're using. If you're using 8 or 9, then there are multiple levels of encryption with multiple encryption types supported. Here's the ACF9 docs that could explain a bit more: [url]http://help.adobe.com/en_US/ColdFusion/9.0/CFMLRef/WSc3ff6d0ea77859461172e0811cbec22c24-7c2f.html[/url] Open-Source CFML engines also support multiple levels of encryption, with … | |
Re: Check the URL's that you're caching. They are blocking you for some reason. | |
Re: CFDirectory returns a structure. From there, you can convert the structure to XML using a CFC that was written by Ray Camden: [url]http://www.coldfusionjedi.com/projects/toxml/[/url] Hope this helps! | |
Re: There are too many possibilities here to give you a strait answer. You need to understand the basics of how to edit a web site for one, then there are variables of how the site was programmed. Best bet is to have a CF developer add it for you. A … | |
Re: You can determine if the problem is CF-related or DB Driver related by querying the ODBC datasource using a tool other then CF. If you the query comes through okay using another tool, then you know the problem is somewhere in CF. Hope this helps you isolate the problem! | |
Re: Can you describe the problem in a bit more detail? What's the error message you're getting from IIS exactly? Is there anything in the IIS error logs? If the IP is bound, then this may not be an issue with CF at all, but instead a simple problem with IIS … | |
Re: 99% of "memory leaking" issues are code related. There are diagnostic tools available for this, such as seefusion or fusionreactor. They both have free trials available that might be able to help you diagnose this issue too. | |
Re: First, you should figure out where "#CFFILE.ServerDirectory#/#CFFILE.ServerFile#" resolves to. Then, make sure that the user that coldfusion server is running as has the permission to read that file (and directory) if cold fusion doesn't have permission to see it, even if it's there, you'll get the file not found error. … | |
Re: That's an extremely general question, plus, standard HTML forms are extremely simple already using strait HTML. Can you elaborate a bit more on what you're trying to do? If you explained what you were trying to do in more detail, we could provide more direct advice. | |
Re: This is probably due to caching. CFC's seem to be cached more aggressively then standard CFM files. I don't understand the internals of it personally, but that has been my experience, particularly with BlueDragon or Open BlueDragon. Try giving the instance a reboot or use the Administrator to clear the … | |
Re: There's an open-source calendar project over at [url]http://calendar.viviotech.net/[/url] that sounds a little similar to what you're trying to do. I am not suggesting copying code, but you could review how they do it and perhaps get some ideas on how you could implement the same idea yourself. There are also … | |
Re: If the project is in C++ then it might be best to ask for help with it in the C++ forums. ;) Best of luck to you! | |
Re: As mentioned, you don't really need to have both IIS and Apache installed on the same machine if all you're needing is a web server - unless, for some reason, you would like to test on both. They will generally both perform the same with regards to CF code. If … | |
Re: The term "ColdFusion" can refer to either Adobe's ColdFusion Server, or the ColdFusion language, CFML (ColdFusion Markup Language). CFML is tag-based language, like HTML or XML. It's made it's mark by being very easy to learn and use. Further, since Adobe owns the leading interpretor for ColdFusion, they've made CFML … |
The End.