Questions
Recently active
Hi,I need to install cf11 on the same windows 2008 server as an existing cf8 install.I realise it would be better to have 2 servers but in this case thats not an option open to us so I need specific help with the 2 installs.The current CF8 is using IIS7.I have done a bit of spade work and I believe the best way to do this cleanly would be to install a 2nd web server, e.g apache on windows and then configure it with CF11.I had hoped that I could actually install CF11 and just configure specific iis sites with it, hoping this would leave the cf8 configured sites intact.Any help would be appreciated.
Hello, everyone.I did fix the last Sandbox security related issue with Solr collections - it was in the "Files/Dir" section, I had to put everything under C:\ColdFusion9\wwwroot.Now, I'm facing yet another Sandbox related issue with collections.I have one reindex script that has NO ISSUES when pulling data from a database and indexing a collection from that.I have another reindex script that will not index a collection from a query, unless Sandbox is disabled. I will try to give some pseudo code.<cfquery name="search_results" datasource="documents"> SELECT DOC_ID, DOC_NAME, DOC_DESCRIPTION FROM DOC WHERE DOC_ID in (<cfqueryparam value="#thisList#" cfsqltype="CF_SQL_VARCHAR" list="yes">)</cfquery><cftry> <cfindex action="refresh" collection="collection_name" key="DOC_DESCRIPTION" type="custom" title="DOC_DESCRIPTION" query="search_results" body="DOC_ID, DOC_NAME, DOC_DESCRIPTION" status="results" /> <cfcatch><cfd
I'm using CF10 and "Use J2EE session variables" is selected in the CF admin.When I visit an application, I get the JSESSIONID cookie, but I also get the CFID and CFTOKEN persistent cookies. The app I'm working with is older and uses Application.cfm instead of Application.cfc, but the clientmanagement and setclientcookies application attributes are set to false.I'm not sure why CFID and CFTOKEN are still set. Are they set regardless of the client and session management settings?
I saw one blog post from March that this was going to be fixed. Has there been any progress?
1. create a task which uses the username password facility (eg run a page that requires authentication to reach)2. save the task (check it runs ok)3. go back in and change something (eg change when the task is to run) but don't touch the username/password bit4. save the taskthe task will now fail to run correctly as the password will now be incorrect (even through it was correct before and hasn't been touched). Is anyone else experiencing this (CF9) - I do wonder if it's my browser messing with the password field?.
Ok so I'm having a hard time getting CF10 64bit installed on Red Hat Enterprise Linux 5.10Apache version: 2.2.3I have installed CF10 but when I try to restart Apache I get this error:Starting httpd: http: Syntax error on line 992 of /etc/httpd/conf/httpd.conf:Syntax error on line 2 of /etc/httpd/conf/mod_jk.conf Cannot load /opt/coldfusion10/cfudion/wsconfig/1/mod_jk.so into server: /opt/coldfusion10/config/wsconfig/1/mod_jk.so unidentified symbol: a_get_server_descriptionEverything else seemed to work just fine but I can't get Apache to restart due to this error.Does anyone have any suggestions to try?TIA
I have received this message several times through CFERROR. The cause of this output exception was that: ClientAbortException: java.net.SocketException: Connection reset by peer: socket write error. How can I fix this?
Hi - Following on from a recent post about how to strip our special characters from a string before insertion to the db I have found this Java code - my question is, how can I turn this into something I can use with CF? I think I need to use the cfscipt tag but that's right on the boundaries of my knowledge base.. If anyone could please help I'd be ever so grateful - thank you!package net.htmlescape; /** * HtmlEscape in Java, which is compatible with utf-8 * @7111211 Ulrich Jensen, http://www.htmlescape.net * Feel free to get inspired, use or steal this code and use it in your * own projects. * License: * You have the right to use this code in your own project or publish it * on your own website. * If you are going to use this code, please include the author lines. * Use this code at your own risk. The author does not warrent or assume any * legal liability or responsibility for the accuracy, completeness or usefullness of * this program code. */ public class HtmlEscape { privat
I set it up years ago but when I tried again I can't for the life of me figure out how to set up Lighthouse Pro.Just wondering if anybody knows where there might be some instructions? I looked inside the files to look for remarks but still could not figure it outI don't use coldspring or modelglue so I have to get those up and running alsoI've tried putting coldspring and model glue into the root, I've also put them into the root of the folder lhp where I have the lighthousepro files.The error I receive is:LighthousePro was unable to use the attachment directory: SETMEI've not set up a database either, rather lost ThanksMark
Hello, Currently trying to work on a "project" in which I would be updating an application to use CF11, I believe its still using 7 at the moment. I've been searching online and haven't had any luck so far. As of CF11 connectstring was removed, what can I use in place of it? I've looked for old documentation and that's hard to get a hold of, but I believe it was deprecated in CF5. I don't necessarily NEED the answer (while that would be helpful), even some direction on where to look would be nice.
I have installed ColdFusion and we noticed a strange issue with cfttp, if file upload fails due to any technical reason then all next upload for the same file will fails until we delete file from FTP location & upload fresh copy.We configured automated jobs with cfftp upload code, so every time I've to delete the file which is failed while uploading, which is not practical solution.please help me to resolve this issue permanently. Thanks in Advance.I've mentioned CFFTP code below<cfftp action="PUTFILE"server="ftp.abc.com"username=" "password=" "passive="Yes"stoponerror="Yes"localfile=”ABC.txt"remotefile="ABC.txt"transfermode="AUTO"timeout="600">
Coldfusion Builder 3.0 - Constantly goes into some type of wait state. It eventually returns...but does anyone have any ideas??
We have a blood donor database. We currently call all these people to remind them of their appointments. I want to start sending them emails instead.I thought it would be helpful if the e-mail had a link / image that said "Click here to add to your calendar".I see at least two concerns with that.First, I suspect the link data is different based on the type of calendar it may be added to.Second, I have no idea how to create such a link. The appointment date / time will be different for each donor.Suggestions on how to get started on this would be appreciated.
Hi,I'm currently installing CF 10 to a couple of Linux RedHat 6 x86_64 environments. All is well until I attempt to update the installation.If I try to run any of the updates, I receive the following error: Error occurred while downloading the update: Failed Signature verificationA little research taught me that adobe changed their code signing certificate; thus there is a mandatory update that must be run before any other can: http://helpx.adobe.com/coldfusion/kb/coldfusion-10-mandatory-update.html (I double checked our build number, we need this update).The update won't run. I followed the instructions found here: http://help.adobe.com/en_US/ColdFusion/10.0/Admin/WSe61e35da8d318518-33adffe0134c60cd31c-7ffe.html (we're running a standalone installation).I'm trying to work with
Will CF11 be available on AWS?CF10 is no longer available for new setups, so our new project is having a major roadblock.
I just (literally) installed CF11 (in production) -- just kidding, locally of course and started testing it. I noticed right away that the QoQ that used to run in CF10 are breaking... and it's because the SQL statements contains a semicolon at the end of them. (e.g) <cfquery name="qNew" dbtype="query"> SELECT ID, Name from myOrigQuery where ID = 50; </cfquery> The error I've been getting is something like "<br><b>Query Of Queries runtime error.</b><br> The select column reference [50;] is not a column in any of the tables of the FROM table list."If I remove that semicolon, then it works fine. Is this a change? Is there a new setting in CF Admin that prevents this problem? CF 11 just came out, so googling doesn't show much of anything.... or my search criteria is not any good I did try to search the forum if anyone has encountered it yet, but didn't find anything.
Hi,I am trying to us javascript in a page that is using cfajaximport.The issue is checking a text box for spaces and checking the radio button if it has been selected.The the textbox is called row1value1 and the radio button is called firstradio1.The function is called checkcommunityNF() which is called from the firstradio1 radio button onClick function.Per my research, I have added the CFWINDOW in the cfajaximport tag.I can not get the message to appear when the conditions are met.I have posted the code below.<cfparam name="url.myEdit" default="" /><cfparam name="myResult" default="" /><cfparam name="myLimit" default="" /><cfajaximport tags="CFINPUT-DATEFIELD, CFAJAXPROXY, CFINPUT-AUTOSUGGEST, CFPOD, CFTOOLTIP, CFSPRYDATASET-JSON, CFTEXTAREA, CFDIV, CFLAYOUT-TAB, CFFORM, CFWINDOW"> <cfoutput> <script Language="JAVASCRIPT"> function checkcommunityNF(){ if (document.two.row1value1.value =="" && document.getElementById('first
Hello, i am trying to use cfpdf and i keep getting the following error:String index out of range: -1I don't know why i keep getting that, i'm running coldfusion 11 on debian linux<CFIF FileExists("#getDirectoryFromPath(getCurrentTemplatePath())#REPORT.pdf")><cfpdfform action="read" source="#getDirectoryFromPath(getCurrentTemplatePath())#REPORT.pdf" xmldata="x" result="r"></cfpdfform><cfdump var="#x#" label="XMLData"><cfdump var="#r#" label="Result"<CFELSE> File doesn't exist</CFIF> Thank you
I am not seeing any components in the components panel. I've tried creating a new one as well as finding the existing components. Any clue on how to get this to work? Is there a place to define the existing components directory path?
My office uses something called "IBM Security AppScan Standard" to scan web apps. Two of the things it scans for (of course) are XSS and SQL injection.One of my pages got flagged despite my use of cfqueryparam, isValid(), and htmleditformat(). What happens is if you intercept the post data from the form and append something like &foo to a numeric value, you get back a CF error page that looks something like this:500 - Internal server error. ROOT CAUSE: java.lang.IllegalArgumentException at coldfusion.filter.FormScope.parseQueryString(FormScope.java:349) at coldfusion.filter.FormScope.parsePostData(FormScope.java:321) at coldfusion.filter.FormScope.fillForm(FormScope.java:271) at coldfusion.filter.FusionContext.SymTab_initForRequest(FusionContext.java:437) at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:33) at coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22) at coldfusion.filter.RequestThrottleFilter.invoke(RequestThrottleFilter.java:126
Hi,We have a CF9 multi-server, load balanced installation. All our sites share a common pool of files and the load balancer sets the server ID to either 1024 (server 1) or 1025 (server 2).We have a new site that is working fine on server 1, but on server 2 it doesn't seem to be storing session variables. I've double-checked the set up in both CF and IIS and everything seems fine. Bear in mind both sites use the same application.cfm file.The problem manifests itself when, on server 2, a product is added to the shopping cart; when you then browse to another product, the value of the basket is doubled. The log in facility fails too.Completely baffled; has anyone come across this sort of issue before? The domain is www.matrix-sports-nutrition.co.uk. Setting the ServerID cookie to 1024 will give you the version that works, 1025 the broken version.Cheers in advance,Simon
I have a MSSQL database schema question that I’d love to have the community's opinion on. I’m looking for the optimal way of storing one-to-many relationships for a variety of table combinations.I’m familiar with the basic idea of relationship tables (the green table links Table1 to Table2):Table1 Table2 Table1Table2Table1ID Table2ID Table1Table2ID Table1ID  
I have been playing with CF10 performance on the CentOS 6.5 environment and so far I have lots of issues with it. I really appreciate any help on resolving the issues. It is upgraded version of CF from 8 to 10, both are 64-bit.It seems to be memory leaks issue with CF so I have tried to adjust jvm.config as well as when ahead and upgraded CF's java version to the 1.7.0.55 version (tried this solution, thread (Re: SEVERE: The web application [/] created a ThreadLocal). Some of the issues were resolved but not all, the CF still eats memory then gets stuck. I have tried to use the following jvm settings:Old one:----------------------------------------------------------------------java.args=-server -Djava.awt.headless=true -Xms384m -Xmx1152m -Xmn128m -Dsun.io.useCanonCaches=false -XX:MaxPermSize=384m -XX:+UseParNewGC -XX:+CMSParallelRemarkEnabled -XX:ParallelGCThreads=2 -javaagent:/opt/coldfusion10/newrelic/newrelic.jar -Xbatch -Dcoldfusion.home={application.home} -Djava.security.egd
Hi, I've installed CF11 on Mac Mavericks.What's the url to cfadmin? http://127.0.0.1:8500/CFIDE/administrator/index.cfm doesnt workand neither does http://127.0.0.1:8600/CFIDE/administrator/index.cfm Any ideas?Thanks
I have a CFGRID in a small app that is passing wrong update information. This is causing the updates to happen in the wrong rows in the data table. Anyone have any ideas what could cause this?EXAMPLE:Grid has 300+ rowsSelect item with ID 103 and edit a value withing the data (happens to be decimal(8,2) in SQLServerSelect and edit ID 104On submit of changes, the data getting updated in the table is row 104 and row 108 !!!The ID row is set as primary keyI have used cfgrid in other scenarios without issue.Version is CF10Same happens whether I use CFGRIDUPDATE or use the passed form fields and update via SQL.Any thoughts? Ideas? This is very frustrating.Thanks in advance.Pete
Remix with Firefly Community Gallery
Thousands of free creations to fall in love with and remix in Firefly.
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.