The official community for ColdFusion.
Recently active
When I test my report it while in report builder, it looks great on the screen. When I try to actually print a page so I can see how it looks on paper using the forms, all I get is the background/ CF Developer message. What am I missing here? I should be able to test print the report. I don't mind the background but I need to see the data.
I know this has been asked before but I can't seem to find anything current. I came across some stuff but the links were diead or explanatory images didn't show.It seems that Report Builder doesn't do crosstabs. I wondered if anyone had come across any kind of workaround. What I would like to show is something like:Books Circulated Jan Feb Mar Apr... Year TotalRed Books &nbs
I have a sub report and on the main report and I want to set up sub report and main report data soruce using stored procedures.I have following code, it only runs sub report, but not main report has sub report on it.I would like to know any way to set sub report and main report to run a report which has sub report on it,Your help and information is great appreciated,Regards,Iccsi, <cfreport format = "PDF" template= "subReport.cfr" query = "#mysubStored#"> </cfreport> <cfreport format = "PDF" template= "MainReport.cfr" query = "#mydata#"> </cfreport> </CFIF>
I have a date array that i created from a database. I am trying to sort the dates into the correct order with the upcoming on top.... the best would be that after the date has passed it would go to the bottom of the list. Can anyone tell me if I am on the right path with what I have so far and give me any hints? thanks (the second loop give me an error)<!--- Declare query array ---><cfset dateArray = arraynew(1)><!--Poppulate Array row by row---><cfloop query="CDE_Dates2"> <cfset dateArray[currentRow][1] = event_date></cfloop><!--- Sort Array Dates ---><cfloop index="i" from="1" to="#arrayLen(dateArray)#"> <cfset dateVar = DateFormat(dateArray,"YYYY/MM/DD")></cfloop>
Hi,Why it's not working with checkbox? If I change the type ="checkbox" to type="text" the it worked, meaning the radio button is enabled.Thanks<script type="text/javascript">function EnableTextBox(sender, target, maxcar) { if ( sender.value.length >= maxcar ) document.getElementById(target).disabled = false; else { document.getElementById(target).disabled = true; document.getElementById(target).value = ''; } }//onchange from dropbox diffrent status function gotourl(url){ window.location= url; } </script><cfinput type="checkbox" name="prize" id="prize" value="1" disabled="disabled" onkeyup="EnableTextBox(this, 'completed', 1);"><cfinput type="radio" name="completed" disabled="disabled" value="1" />
Help in sending 23 min movie to other people to be able to be opened on their iPhone or iPad?
Doing installation and configuration testing on standard Tomcat 7.0.42 and ran into an interesting issue which *might* be licensing:1. CF10 deployed as J2EE WAR file on 1st physical host and 2 Tomcat instances: works fine.2. CF10 deployed as J2EE WAR file on 2nd physical host and 1 Tomcat Instance: will not accept the admin password to complete the set up. "Invalid password. Please try again" - A. the passwordreset.bat does not make any difference B. recompiling the J2EE WAR file does not make any differenceIs this a CF10 license issue: one license but two servers & some inter-machine check re licensing? If necessary, I can do a 30-day trial since this is just for testing in preparation to move from CF9 and JRun.Thanks,ScottPSAm very happy with the deployment thus far on the 1 server where CF10 has installed easily and is working correctly; just need to be able to
I have an invoice report that had N number of line items with N number of lines of description per line item. The invoice displays all of the line items, and then at the bottom of the last page, it provides a signature block for the customer to sign. Here is my problem: If I put the signature block in the page footer, it's displayed at the bottom - which I want - but repeated on every page. If I put the signature block in the report footer, it's displayed on the last page - which I want - but immediately following the last line item. I need it at the bottom of the last page only. The closest I have gotten is to try and predict the number of page that I will have and then hide the page footer until (what I think will be) the last page. However, this still have the page footer whitespace to show up which isn't right.
I've recently starting using cfthread on one of my CF 9 servers. I've seen some wildly odd behaviour from the threads and am wondering if this is a known issue.I am grabbing a set of data which is 1200 rows deep. I loop over that data 12 times, grab 100 rows each time and create a unique thread. If I don't artificially add delay the query distribution between the threads is random and weighted heavily towards the last thread created. Even after adding 5-6 seconds of delay between spawning new threads – the distribution is not level. The ONLY time I can get 100 rows per thread is when I insert a cfdump of the query (adding a LOT of additional processing time).Im writing the thread names into my table for debug purposes - so I can get an exact count of which thread is processing which numbers.Here is the distribution after adding 5-6 seconds of delay for a set of 100:threadtest COUNT(`threadtest`)MigThread1 21MigThread2 51MigThread3 2
We recently moved our application server to Server 2008 from Server 2003, running ColdFusion 8.0.1 over IIS 7.5. Ever since moving, our scheduled tasks no longer run. We receive the following message: There was an error running your scheduled task. Reasons for which scheduled tasks might fail include:The scheduled task is pausedThe URL is a redirection URL.The URL is protected by IIS NT Challenge/Response or Apache .htaccess password. The Username and Password text fields for editing a scheduled task are intended to support Basic Authentication only.The Domain Name lookup failed. Try using the IP address of the domain whenever possible.The URL is an SSL site, but the SSL port was specified incorrectly.The Web site is not responding.The directory specified for published results does not exist.None of these apply. If we run the URL direct from the server, the page executes correctly. In the scheduler.log the error we see is: "Error while executing task Connection Failur
1down votefavoriteI have a Windows 2008 R2 server, IIS7, Coldfusion 9.0.2. I created a 2nd CF instance, created an IIS website, used the web server configuration tool to bind the IIS website to the CF instance. Restarted IIS & CF windows services. It does not work as expected. It does not look like the IIS website is actually bound to the 2nd CF instance. With both the Windows IIS service and the new CF service running, I am able to hit the website and click around it.I then stop the CF service and the website still works. I would expect the website to not work when the CF Windows service was stopped. Any ideas as to what is going on?Thanks ~Joe~Here are the steps I did to create everythingCF admin > instance manager > Add New Instance with create Windows service optioncreate the website in IISremove the windows CF servicecreate a windows service and configure it to use a separate jvm.config filerestart IIS & CF servicesuse the web server configuration tool to bind the ne
For some reason ColdFusion seems to be changing some spanish characters. I've narrowed it down to ColdFusion (or maybe IIS 6 scripting handler) because the text comes out fine on a plain .html file but simply changing it to .cfm causes the characters to come out incorrect. Any help would be great! ThanksP.S. The screenshots above look far better when I'm editing this post vs viewing it, not sure what's going on there.
We're using CF10 on 2008R2 - with about 25 MS Access DB's running. Our problem started yesterday when the odbc server would lockup and require a reboot to get thing rolling again. After the reboot everything was fine for about 8hrs then the process started all over again. Looked in the application log and this is the error that started it all.Error Executing Database Query.[Macromedia][SequeLink JDBC Driver]Network problem, session aborted due to internal error in remote procedure call, connection closed. The specific sequence of files included or processed is:
I don't know how else to get this in front of Adobe managers, so I'm posting my displeasure here. I have asked previously in forums how to get detailed information about the differences between Enterprise and Standard editions, especially in CF 10. The product buying guide does provide a list of features not available in CF 10 standard, but there are no details on the differences where Enterprise has greater functionality. (i.e.sending email). CF Enterprise is a major investment for all but the largest organizations. Why does Adobe not provide details on functionality and options? Adobe - if you are indeed planning to continue with ColdFusion beyone version 10 you need to pay more attention to CF product information and documentation. I'm not here to debate whether Adobe is planning to drop CF, but just commenting that the product feels neglected from both a documentation and sales standpoint.
Learning tape on ColdFusion Builder shows an extension to auto-generate CFC components for access to database tables.I can't find that function in ColdFusion Builder 2. Is it still available? These are the extensions i have installed:This is what i see when i right click on a database table:Thanks very much!Steve
Just installed coldfusion 10, put the same simple password in every field asking for during the install. It finishes the admin localhost page comes up but it does NOT accept my admin password I put in. Is there an initial defualt admin password I have to put in the first time I dont know about?
So, I'm working on implementing document upload capabilities on our (ColdFusion 10) site. I have a page that makes use of CFFILEUPLOAD, and have it to the stage where everything is working well, except when I try and upload from a Mac using Safari. I have successful uploads on Win7 and XP using current versions of Chrome/Firefox/IE/Opera/Safari, and on Mac using Chrome.However, on Mac using Safari, I can select a file to upload, and when I click the upload button, it greys out like normal, but things stop there. The progress bar, which would usually start turning green and eventually get to 100%, does nothing. I'm not terribly fluent in Mac, so anything I do to try and figure this out is shooting in the dark.Anyone have any idea where I can go with this?Thanks in advance for the help.-Rob
I have been using MSaccess for years and have finally decided to switch to mySQL and have noting bt a basturd of a time trying to figure out how to switch over. I have installed mySQL5 and CF9 developer edition on my test machine at home. try as I might, I cannot connect to mySQL database. I keep getting the following error: Connection verification failed for data source: testjava.sql.SQLException: Timed out trying to establish connectionThe root cause was that: java.sql.SQLException: Timed out trying to establish connectionBelow are my settings in the CF admin:CF Data Source Name: MYSQL_testJDBC URL: jdbc:mysql://localhost:3306/testDriver Class: com.mysql.jdbc.DriverUsername: rickclarkpassword: ************Below is mySQL settings:Help me save what little hair I have left and connect to mySQL server.
Documentation says that this version of CF should recognize tif images. I am trying to retreive images using imageNew from a url and CF 9 says that the .tif file is not an image. When I run GetReadableImageFormats() tif is not supported. CF 10 works fine, but this install is still in testing so I am unable to upgrade at this time. I need this to work on my CF 9 legacy install.How do I get CF 9 to support tif files? I can find nothing about this anywhere. So if someone has the solution please post?Thanks!
Hi,I am trying to install Coldfusion 7 in the server. But by the end of the installation, I am getting a message like the installation is completed with error. The Coldfusion application service is not started and is not able to be started in the windows services.The server is Win 2003 R2 SP2Windows firewall is found to be set as 'off'As there was error, it showed a message at the end of installation that a log has been created for the error. The error portions in that file are as below.Installation: Successful with errors.1754 SUCCESSES0 WARNINGS3 NONFATAL ERRORS0 FATAL ERRORSAction Notes:Web Server Connector Configuration Error: Run the Web Server Configuration Tool (wsconfig) to configure your web server after the installation completes.ANT Script Error: Status: ERROR &nb
Hello All, This was brought to my attention that when we have a toggle switch that either displays or hides cells below, it completely ruins the look. Everything has always worked correctly in previous versions but not now. Here is the code: <table class="editTable groupEditTable editTableGroup" cellpadding="0" cellspacing="0"> <tr> <td class="editLabel"><span>*</span>Social Media:</td> <td class="editField"> <input type="radio" name="socialmedia" id="socialmedia"<cfif editstate and item.socialmedia eq 1> checked="checked"</cfif> value="1" onclick="document.getElementById('facebook_name_row').style.display='inline'; document.getElementById('facebook_url_row').style.display='inline'; document.getElementById('facebook_app_id_row').style.display='inline'; document.getElementById('facebook_action_name_ro
CF 10 Developer Edition.Windows XP SP3When submitting a page that worked fine in CF 7 on this machine, I get an error I've never seen before:==================HTTP STATUS 500-description: The server encountered an internal error () that prevented it from fulfilling this request.exception:javax.servlet.ServletException: ROOT CAUSE: java.lang.IllegalStateException: Cannot call sendError() after the response has been committed at org.apache.catalina.connector.ResponseFacade.sendError(ResponseFacade.java:451) at javax.servlet.http.HttpServletResponseWrapper.sendError(HttpServletResponseWrapper.java:120) at coldfusion.tagext.io.cache.ehcache.GenericResponseWrapper.sendError(GenericResponseWrapper.java:91) at coldfusion.filter.FormScope.parseQueryString(FormScope.java:501)etcetera, which ends innote The full stack trace of the root cause is available in the Apache Tomcat/7.0.23 logs.===================I can't seem to be able to debug or localize this error: cfabort placed in strategic places
Hi all,in certain cases it is necessary to me to instantiate objects like this:<cfcomponent...><cfset this.myObj = new myCFC() /><cffunction...>some code</cffunction></cfcomponent>I think to remember that I've read recently that this kind of instantiating isn't recommended. So I just wanted to ask the veterans about it.Mostly I use this way in cases where recursion are used so I do not need to reinstantiate the objects with each recursive call of a function.Thanks in advanceHurga
This question was posted in response to the following article: http://help.adobe.com/en_US/ColdFusionBuilder/Using/WS0ef8c004658c1089-1a5748a01250bd15dfa-8000.html
Hi all, I have a difficulty removing this code "<p> </p>" with replace.The code in the cfdump is:</p> <p> </p> <p>in the html output it is:<p> Tijdens de volle maan vanavond wordt een optische illusie zichtbaar die mensen al sinds de tijd van Aristoteles voor een raadsel stelt.</p><p> </p><p> De maan lijkt een stuk groter te zijn naarmate deze zich dichter bij de horizon bevindt dan wanneer deze hoger aan de hemel staat.</p><p> </p>Any idea's?
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.