The official community for ColdFusion.
Recently active
I just need the functionality of Homesite.
Hi,When I try to access a Coldfusion admin site, it throws me 'This page can't be displayed' message. This is the case with both the local host & even with the server IP. Need help on this asap to solve this & get back my CF admin page.Thanks in advance!
Actually I am trying to search whether a particular word exists in URL and trying with below code in in a .cfm file. It works fine in html page but not working in coldfusion.Can someone help me how to resolve this issue <script type="text/javascript">var location = window.location.href;if (location .indexOf("search_Text") > -1){//do stuff}else{//do stuff}</script>
I am trying to implement the new tags to remediate the CSRF finding in our scans but can't seem to get the CSRFVerifyToken to work. I found the following snippet and put it on a test page. It appears that the token is being generated but when I try to use the CSRFVerifyToken tag, it returns NO. Is there something that I am doing wrong or do you have to have a setting set in the administrator? We are using most recent CF11. <cfif isDefined("form.submit") and CSRFVerifyToken(form.token, "make-admin")> perform operation</cfif><form action="test.cfm" method="post"><cfoutput><input type="hidden" name="token" value="#CSRFGenerateToken("make-admin")#" /></cfoutput><input type="submit" value="Make Administrator" name="submit" /></form>
Hi All,I'm hoping someone can point me in the right direction. Ever since upgrading from ColdFusion 10 to ColdFusion 11 I have been seeing this error intermittently throughout the day. The server that it's happening on is averaging between 5-10 requests per second so the traffic is very low.Here is the exact error message from ColdFusion. I get an email every time there is an error so I can be alerted.There was a problem while attempting to perform a search. org.apache.commons.httpclient.NoHttpResponseException: The server localhost failed to respond <br>The error occurred on line [XXX].Once I see the error I try the web page and it works every time so I can't duplicate it.Has anyone experienced this random issue? Is there anything I can try to fix it?
I enabled metrics logging using steps found here Enable Metric logging | ColdFusion 10 , but with the additional steps of specifying the correct port number in the CF Admin Console / Debug Output Settings section.Many fields are logged, and some seem obvious. Others are ambiguous - like Error Count. Does anyone have a link to something that provides a true definition of each of the logged fields?
I'm trying to figure out how to use cffileupload so I have a braindead .cfm file:<cffileupload url="uploadFiles.cfm" progressbar="true" name="myupload" addButtonLabel = "Add File" clearButtonlabel = "Clear All" width=600 height=400 title = "File Upload" maxuploadsize="30" extensionfilter="*.jpg, *.png, *.flv, *.txt" BGCOLOR="##FFFFFF" MAXFILESELECT=10 UPLOADBUTTONLABEL="Upload now"/>which is the one from the documentation page. Where I'm losing it is in the processing file.If the file contains only:<cffile action="uploadall" destination="c:/testload" nameConflict="overwrite">the files upload and no problems. The issue is that I want to do additional processing oneach file after it arrives. I've tried this:<cfoutput><
Hello, I have an issue on the my project, users want to send email with emails address containing special characters or greek characterslike the following email address example (frédéric.toto@toto.com or κείμενο@toto.com).Anyway I’ve got the following cfmail error message (email address for “to” attribute is not valid)How can I send email to such address?Regards
Hi everyone.I have a page that has 2 dynamic drop down menus in that depending what is selected in the first drop down will display certain criteria in the 2nd drop down. I have this working in one table just fine, but then I tried it in another table and I can't get the code to work for some reason. I can choose the first drop down menu, but then it has a timed out error that displays after I make my first choice. I can't see the Cold Fusion error, so I'm not sure what's wrong. Here's what I have in my table called Elastomer_Cut_Size:Column Name Data TypeItemID IntElastomer Part_Number nvarchar(50)X_mm
Does Coldfusion mx7 run on Oracle 11g? What is the alternative if not compatible?
Hi All, We just updated to cf11 from cf9. Just found out that our uploader is no longer working. The files are uploading fine but the return variable is no longer present. I used to have a variable #serverfile# which returned me the renamed file that was uploaded in cf9. Now i get this error:Element SERVERFILE is undefined in FILE. So I tried to add a result attribute to the cffile uploadall call and access via "name.serverFile" and i get this error: You have attempted to dereference a scalar variable of type class coldfusion.runtime.Array as a structure with members. So I tried just my result name and I do see an error with details of the file uploaded:Invalid data [{CLIENTDIRECTORY={},CLIENTFILE={fallen tree.pdf},FILEWASAPPENDED={false},FILESIZE={70798},CONTENTTYPE={application},SERVERFILE={fallen tree12.pdf},CLIENTFILEEXT={pdf},TIMECREATED={{ts '2015-08-24 14:34:53'}},CONTENTSUBTYPE={octet-stream},FILEMODESET={false},FILEWASSAVED={true},OLDFILESIZE={70798},SERVERFILENAME={fallen tre
Hello, Dowloaded Coldfusion from the Adobe website, both with Safari as with FirefoxI want to install Coldfusion 10 on my Macbook. OS X 10.7.4 ( so not 10.8 ). When I double click the .dmg file , I always get "“Adobe ColdFusion 10” can’t be opened. You should eject the disk image." error. Never had this before. I've read about setting security on 'non signed packages', but this applies to 10.8. Is this a known issue ? Thanks, Dirk dirk@dinnewet.be
I have a Coldfusion 11 standard installation that, when the Application Service attempts to start, throws an error 259. Changes to CF configuration were made through CFAdmin earlier today, and one or more of those changes most likely caused the problem. Coldfusion-error.log and Coldfusion-out.log are no longer being updated (caused by the server service not running?). I have tried to revert settings to an earlier state by restoring the pre-change neo-x.bak files (neo-runtime, etc.), but to no good effect. I tried the following from an Admin command line, "coldfusion.exe -start console", but received this error message;ERROR: JDWP option syntax error: -agentlib:jdwp=transport=dt_socket,server=y,suspend=,address=5005Firewall is not currently running, and this is a Windows 2008 R2 server.TIA,Scott
I am new to coldfusion can someone clear my doubt please.I have a function Test_Func. I want to assign the parameter(input) value to a variable myname).Kindly helpfunction Test_Func(input){ <cfset var myname= " ">}
I am new to coldfusion..I have a doubt.I am having a variable called 'My_name' in 1.cfmHow I can access 'My_name' value from another cfm file (2.cfm).Thanks in advance
I have a script that captures PNG images from a 3rd party server, I then save them on my server using this code, forcing them to 45x45<cfimage action = "resize" height = "45" width = "45" source = "#objImage#" destination = "#newFileName#" overwrite = "yes">The issue I see is that the file sizes are nowhere near as low as they could be, I dropped a few of them into tinypng.com and they can be reduced by as much as 75%, and at least 50% with no noticeable loss in visual quality.The question is, does anybody have a method to compress PNG's? I see that the quality="" is only suitable for JPGSBtw I'm running this on CF8
We have been working to migrate several of our internal CF8 sites over to a new CF11 server. I have only been supporting CF for about a year, so I'm afraid I am not as knowledgeable as I should be.Most of our sites are working correctly; however, we are encountering a unique issue with a site called Workforce Tracking. It utilizes a header variable (RACFGROUPS) that is returned by Siteminder. This is handled by the application.cfm file, with the relevant section below: <cfapplication sessionmanagement="Yes" clientmanagement="Yes" sessiontimeout="#CreateTimeSpan(0,4,0,0)#" name="WorkforceTrackingTrack"> <cf_servername> <cfset AppName = "Workforce Tracking - Jobs"> <!--- Siteminder method ---> <cfloop index="aGroup" list="#RACFGROUPS#" delimiters="^"> <cfif #ucase(aGroup)# EQ "URXWTAAA" or ucase(aGroup) eq "UA09999"> When I navigate to devworkforcetracking2.localnetwork.com/Jobs/, the default index.cfm page gets loaded, the application file is
How do i upgrade coldfusion mx 7 to 11 or any documentation about the upgrade?
I'm trying to help a client with getting Cold Fusion 11 running with IIS 8.5 on 2012 R2.It's been installed and a default document has been assigned - "home.cfm". If you visit the web site: http://website/ it works. If you visit http://website/home.cfm, you get an HTTP Error 500.0:Module IsapiModuleNotification ExecuteRequestHandlerHandler ISAPI-dllError Code 0x80004005Requested URL http://website:80/jakarta/isapi_redirect.dllPhysical Path C:\server\path\jakarta\isapi_redirect.dllLogon Method AnonymousLogon User AnonymousThe same error results on any attempt to load any CFM page by page name - again, they only load if no file name has been specified in the URL and the page in question is the default document.Meanwhile, the CF Admin site works just fine.Running 11,0,05,293506
how to publish my web on intranet. !
I have a ColdFusion 8 site that runs fine on an old Windows 2003 server that needs to be decommissioned. I’ve been able to test the site on a VMware Windows 2003 server image and that works well. I just install IIS, move the site folder into “C:\inetpub\wwwroot\” then install ColdFusion 8 and add one ColdFusion data source to an MDB file.I need to move it to a new 2012 Server and when I do the same as above on a Windows 7 32-bit or Windows 2012 Server 64-bit with ColdFusion 11 the default.html page that just opens the login.cfm page get stuck in a loop with the URLs flashing back and forth with an empty webpage.I know there are some issues with 32 vs 64-bit but I have the same issue in Windows 7 Windows 7 32-bit or Windows 2012 Server 64-bit but I think I'll have more issues if I can get passed this first one as the data source on Windows 2012 Server 64-bit fails the verify:Connection verification failed for data source: OMS-HAYWARD java.sql.SQLException: [Macromedia][SequeLink JDBC Dr
Hi everyone. I am trying to create some drop down menus where if you do a selection in the first drop down menu, the second drop down menu will display. I have this working on 2 drop down menus,but the problem I'm having is if I choose something out of the first drop down menu and then change my mind and want to choose something else, the page goes blank. If I change it to something else in the first drop down, it should display all the results in drop down 2 according to what I chose in drop down 1. It does do this the first time if I choose the correct thing the first time, but if I try to change drop down 1, the page goes blank. What am I doing wrong? Here's the code I have:<!--- store the selected Main_Group variable variable after the first select boxes submits itself ---><cfif NOT isDefined("form.submit")> <cfif isDefined('form.select_PinCount') AND form.select_PinCount NEQ ""> <cfset page.select_PinCount = form.select_PinCount> </cfif
I have the following saved page setup as a "Scheduled Task" in CF9.- Occasional the connection fails and the "AC_ACCT.csv" file-size is saved as a 0k file- How would I alter this page to do a check on that csv file, and rerun the page until it is no longer 0k?In summary, run the page, check the saved csv file, if >0k then end, if =0k then rerun the page again. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>MBS Web Service Call</title> </head> <!--- Create a variable for the URL ---> <cfset theURL = "https://domain.com.php"> <!--- Make the Post Request ---> <cfhttp method="post" url="#theURL#" &nbs
Hi. I am setting up a simple form that will do some calculations to determine the price of something that we are going to cut and sell. First, the user will choose a part number. Then they will type in the dimensions they want in the X_mm and Y_mm boxes. I have a formula in Excel that has other factors for determining the price for the part chosen. There is the cost of the item, the cutting cost we are charging and some other factor. The formula looks like this in Excel: =((E3/(ROUNDDOWN(50/B5, 0)*ROUNDDOWN(50/B6,0)))+E4)*E5 I'm just wondering if I should do this calculation in Cold Fusion or SQL server management studio. We do not want the user to be able to see the formula either. Which way would be easier?Andy
Coldfusion is always including cf_flash_policy_port even though CFForm and CFGrid are set with format="html".How can I eliminate any reference to Flash and still use CFGrid? Some other CFInput tags also seem to trigger this include.Viewing page source shows a line that includes _cf_flash_policy_port=1243;Here is my CFGrid block: <cfgrid name="BuildingResultList" query="getBuildings" &nbs
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.