The official community for ColdFusion.
Recently active
I am getting an odd error when visting some pages on my website. It is a page with a big blue circle saying "Error" inside it. Then one line of text that says "An error occurred while executing the application. Please try again or contact the administrator."I have run the exact same website using a local testing machine which uses the same CF10 installation and I don't get any problems. I am running Windows Server 2008 R2 64-bit, with CF10 64-bit, and IIS 7Can anyone please help!
Hi all,Got a bit of a riddle here. Trying to count current active number of sessions and as per ColdFusion documentation that should be done as follows:onSessionStart:<cfset Application.sessions = Application.sessions + 1>onSessionEnd:<cfset Arguments.ApplicationScope.sessions = Arguments.ApplicationScope.sessions - 1>That all works as expected as long as one doesn't use cfschedule events. Now in my application cfschedule runs every minute as a result creating new sessions as it goes. What I'm trying to do is detect cfschedule event as a session 'runner' and ignore it for my session totals.On session start, that is done as follows:<cfif FindNoCase("CFSCHEDULE",CGI.HTTP_USER_AGENT) EQ 0> <cfset Application.sessions = Application.sessions + 1></cfif>This way cfschedule is not counted as a site user, hence not logged. Now my question to the community is: How do you detect cfschedule event on session end? I was unable to locate
Hi everybody.I am trying to follow this tutorial on creating a simple Java class and using it in a simple ColdFusion 10 app, but with no luck.I believe I am doing everything as the tutorial says, I create an Employee.java file and compile it with javac (I think mine one is from jdk1.7.0_02). I add javaSettings to Application.cfc like the following:Application.cfc...this.javaSettings.loadPaths = [ExpandPath('./jars')];this.javaSettings.loadColdFusionClassPath = false;this.javaSettings.reloadOnChange = true;...Index.cfm<p>Starting..</p><cfobject action="create" type="java" class="Employee" name="emp"><p>Are we still running?</p><!--- <cfset emp.init()> ---><cfset emp.firstname = "john"><cfset emp.lastname = "doe"><cfset firstname = emp.firstname><cfset lastname = emp.lastname><cfoutput> Employee name is #firstname# #lastname#</cfoutput><p>Finishing..</p>Folder strcuture Application
can we install coldfusion 10 developer edition without replacing existing CF version??
Hi,We were looking to lockdown our coldfusion server from outside threats and have lookd at multiple forums for it. Most of them were referring to run coldfusion under an unprivileged user account (other than administrator).Has anyone done similar kind of configuration before as we haven't got any clue how to do this. We will appreciate if someone could write down all the steps to do it.ThanksSteve Jordanhttp://hyve.com
Instalation is getting aborted wth invocation target exception in details:ZeroGu6: Windows DLL failed to load at ZeroGa2.b(DashoA10*..) at ZeroGa2.b(DashoA10*..) at com.zerog.ia.installer.LifeCycleManager.b(DashoA10*..) at com.zerog.ia.installer.LifeCycleManager.a(DashoA10*..) at com.zerog.ia.installer.Main.main(DashoA10*..) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) &nb
i am getting an error and some pages "Infinite loop creating new page due to column header overflow. " --using report builder 9, i have a fairly simple report - that contains 4 subreports.for some pages i get the error - it seems if there is more data than would fit on 1 page.smaller pages work fine.the subreports are all simple queries and dumps....containing page header, column header, detail sections.page header has just a text bar of the name of the section.column header has the field namesdetail section has the data - 1 row for each row in the recordset.nothing i do seems to change getting "Infinite loop creating new page due to column header overflow. " on a page with more than 15-20 records returned.any ideas would be appreciated.
To start, I am not a ColdFusion admin, just a systems admin. I have gone through a few CF upgrades over the years, but have been in place. We are looking at moving to CF10, and since it is a now Tomcat, it is a new install. I am lookign for how to export jobs, data sources, settings, etc. from the CF9 server when we are not enterprise (so I cannot export a CAR file). I have looked onlione, but eveythign pionts to the enterpise export. Any thoughts?
I'm looking for a Mura guru!Sorry if this is not an appropriate place to post this. There doesn't seem to be a place for "help wanted" on Mura's forums.I'm looking to get a bit of help with the setup of a new site as well as the recommended approach for future sites and features. Would prefer someone who is comfortable training a new user on the ins-and-outs of Mura.If you are interested, please PM me or respond here.
I'm trying to install ColdFusion 10 on a Red Hat Enterprise Linux 5.8 server with Apache 2.2.3. The install appears to complete with no errors. After some searching the web, I found I had to change the adobe connector shell script to use my directories instead of the bogus ones that were there. The httpd reports that the mod_jk is loaded (apachectl -M returns jk_module (shared) among other things). However, when I attempt to load a ColdFusion page, my web server says "503 Service Temporarily Unavailable". I've look in the log files for httpd and for ColdFusion and see nothing amiss, but I am new to this ColdFusion.It appears my Apache httpd is not communicating with the ColdFusion process, which is listening on ports:TCP *:8012TCP localhost.localdomain:8007TCP *:7995TCP *:6085TCP *:8575TCP *:1243Any suggestions?Danial for bannock21
Is it possible to build a form so that when submit is clicked an email gets sent to two preselected email address and to a third email address that the user has selected from a drop down using CF? We are not allowed to use PHP and I'm fairly new to CF.Thank you
This question was posted in response to the following article: http://help.adobe.com/en_US/ColdFusion/9.0/CFMLRef/WSc3ff6d0ea77859461172e0811cbec22c24-6d6c.html
I receive this error message intermittendly"The tag handler query does not have a setter for the attribute ormOptions specified in the Tag Library Descriptor."I run daily tasks and all works fine. Then it stops working from one day to the other. I used another server to run it in the meantime. Then it starts working all of a sudden for a few weeks then stops.Server is a CF 9.0.2 64bit version, on Win 2008, AMD64 bit engine, 8 GB RAMI looked through the web and all I found were unanswered questions Thanks for any hintRob
HiWe are getting the error "Datasource [NameOfDatasource] could not be found" for a particular CF datasource and can't work out why. A restart of CF resolves the error as does deleting the datasource and recreating it with the exact same properties. This started happening a couple of months after installing CF. The server is CF 9.0.1 running on Win 2008 R2 (SP1) 64-bit.The database and port the datasource connects to is definitely correct, so this is not the issue. We thought it may be an issue with the "Maintain connections across client requests" setting not maintaining a connection, but the issue still occurs even with this option turned off.We create the datasource via code by making a copy of an existing 'template' datasource (using duplicate) and then setting properties of the copy. We use coldfusion.server.ServiceFactory.DataSourceService.DataSources to get the template datasource and to add the new datasource. We are investigating how to crea
When are installers going to be made avaliable for Server 2012 for Cold Fusion?. Adobe have offically said that installers for windows 8 are 3-5 months away as of September 22nd, 2012 but we havent heard anything about Server 2012? Server 2012 was released to MSDN on the 4th of Sepetember. 4 Months seems a long time to wait with no word on installers or support for CF on Server 2012. Are you telling me Adobe doesnt have a MSDN account and only got access to Server 2012 at the same time as the generaly public?
This question was posted in response to the following article: http://help.adobe.com/en_US/ColdFusion/10.0/Developing/WSc3ff6d0ea77859461172e0811cbec22c24-7934.html
Hello,I am trying to write a wrapper function to be able to work with queries in cfscript (I deal with CF MX7). The SQL string can be assembled and passed to the function as an argument. Here is the function:<cffunction name="QUERY" access="public" returntype="query"> <cfargument name="SQLString" type="string" required="yes"> <cfargument name="Datasource" type="string" required="no" default="#this.dsn#"> <cfargument name="dbType" type="string" required="no" default=""> <CFQUERY NAME="QryToReturn" Datasource="#arguments.Datasource#" dbtype="#arguments.dbType#"> #preserveSingleQuotes(arguments.SQLString)# </CFQUERY> <cfreturn QryToReturn></cffunction>When it's as simple as this it works:<cfscript> Variables.iMyValue = 10; sSQL = "SELECT * FROM t_test WHERE field1 = #Variables.iMyValue#"; Variables.qry1 = QUERY(SQLString: sSQL, DATASOURCE: Application.sDataSrc, DBTYPE: Application.s
This question was posted in response to the following article: http://help.adobe.com/en_US/ColdFusionBuilder/2.0/Using/WSf01dbd23413dda0e1736ebc1213a528ab0-7feb.html
Hello!I'm using CF8 and Oracle 11g and In one of my app., I applied 4 simple delete/truncate statements.These statements are used to clean up 4 temporary tables everytime this app. starts.For a few weeks I have not seen anything wrong with it until one day the result produced by this app show duplicates data.On my investigation I found out that 4 of my Truncate statements did not truncate the data, so previous data were process again and again...Then I made some changes:FROM:<cfquery name="OriginalQuery" datasource="mytestDB"> Truncate table temp_table1 Truncate table temp_table2 Truncate table temp_table3 Truncate table temp_table4</cfquery>INTO:<cfquery name="OriginalQuery1" datasource="mytestDB"> Truncate table temp_table1</cfquery><cfquery name="OriginalQuery2" datasource="mytestDB"> Truncate table temp_table2</cfquery><cfquery name="OriginalQuery3" datasource="mytestDB"> Truncate table temp_table3&
I have successfully download and installed CF10. Admin tools comes up and seem to work with all needed connections (email and Data sources to be specific). However, I cannot run my current site without CF9 being up and running? Did I miss a configuration? DOes CF10 need to know where my code is and NOT IIS? Where can I get Technical help to debug? ...Help..
Hello, everyone.I'm working on a form that will add/edit task details. One of the requirements is the ability to upload files into the database.If a task is being EDITED, the upload is no problem; I'm using a hidden iframe to handle the upload, and the task will have a task ID that the file will be associated with.However, if a task is being ADDED, there is no existing task ID, so the file needs to be uploaded with the rest of the form. Unfortunately, jQuery .post() using the .serialize() attribute for the form breaks file uploads, because the form isn't multipart/form-data, at that point.Does anyone have any suggestions on how to allow a file upload if the form is being submit via jQuery.post("document.cfm",serialize(formobject))?Thank you,^_^
Hello, everyone.I'm trying to search more than one Solr collection for a keyword (let's say "Item A"), but I want to remove any duplicates and keep the ranking.Hypothetically, let's say each collection has "Item A" in it, each ranked slightly different in their respective collection (99.9, 92.7, and 89.5). How would I remove the two lower ranked "Item A"'s from the CFSEARCH?Thank you,^_^
This question was posted in response to the following article: http://help.adobe.com/en_US/ColdFusion/9.0/CFMLRef/WSc3ff6d0ea77859461172e0811cbec22c24-6790.html
Hey,I have a INSERT cfquery to a Mysql database (Joomla website table) that returns the following error "Error Executing Database Query." and no additional information.<cfquery datasource="mysql" name="joomla_add_article" result="joomla2_rez"> INSERT INTO db.jos_content (`title`, `alias`, `introtext`, `state`, `sectionid`, `catid`, `created`, `created_by`, `publish_up`, `attribs`, `ordering`, `metadata`) VALUES ('Title - #LSDateFormat(Now(), "dd.mm.yyyy")# - #LSTimeFormat(Now(), "HH:mm")#', CONCAT('title-',LAST_INSERT_ID()+1), '<p> <object width="640" height="480"> <param name="movie" value="http://domain.com/smp2/StrobeMediaPlayback.swf" /> <param name="flashvars" value="src=rtmp%3A%2F%2Fdomain.com%2Fdvr%2Fmp4%3A#replace("#arguments.filename#","/","%2F","All")#&streamType=recorded&verbose=true" /> &nb
Hello all,Who can help me on this : I am trying to update simultaneously all data returned with a simple cfoutput query, where all form tags are indexed with all the id(s) returned by the query (same serie of input/textarea/etc. for each id, but only one single validation button for all id). I am stuck and cannot find a way to do this. Would someone have a simple example of how I could proceed ? That would save my life...ThanksJean
Remix with Firefly Community Gallery
Thousands of free creations to fall in love with and remix in Firefly.
Already have an account? Login
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.