The official community for ColdFusion.
Recently active
I have just loaded CF 10 and I wanted to create aserach collection but I'm recieving an error. The system tells me to look at the log file for more details. but I don't seem to be able to find it.. Also after researching this online it would seem that the windows servcies is not loaded. I've down loaded the standalong version but I'm not sure if this is the best course of action.
This question was posted in response to the following article: http://help.adobe.com/en_US/ColdFusion/10.0/Developing/WSd160b5fdf5100e8f-7210e81412a1d620a28-8000.html
Hi All,We are migrating our reports from CF8 to CF10. (uninstalled existing CF8 and installed CF10) in 32bit OS.After upgradation of CF10, tried to open our report, then we got the below error.----------------------error --------------------------The ValueList() function has an invalid parameter: DS_ODBC_LIST.entry.Parameter 1 of function ValueList which is now DS_ODBC_LIST.entry must be pointing to a valid query name.------------------error------------------------------------original code -----------------------------------<CFREGISTRY ACTION=GETALL NAME="DS_ODBC_List" TYPE="ANY" BRANCH="HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBC.INI"> <cfset DSNnames = valueList(DS_ODBC_LIST.Entry)> -----------------------------original code--------------------------Then tried to dump / print the DS_ODBC_List using CFoutput/cfdump then we got error like:Variable DS_ODBC_LIST is undefinedin CF Administrator the tag CFREGI
Ok, so I’ve recently installed Coldfusion 10 onto Windows 7 Pro 64 bit and I’ve enabled IIS within Windows.In addition, I’m running the Fusebox 5.5 framework which runs all my sites locally. I’ve included some minor customisations which permit me to utilise only one install of the framework and still access all my sites. Now having said that, I do not believe that Fusebox has anything at all to do with the problem I’m having. Indeed my old install on my old pc still runs fine. It’s running Win7 Pro 32 bit and coldfusion9!On the new setup I can reach all my links on all my sites by simply typing the full url in manually or by using a redirect. I’ve made use of the config.web file to “Rewrite” Search Engine Friendly links, such that my links look like http://localhost/about instead of http://localhost/index.cfm/fuseaction/main.about but on the new machine, I keep getting the home page displayed whenever I set the action to "Rewrite". This is equivalent to http://localhost/ I certai
Hi,I cannot use joins in query of query, I try the old method using the ( + ) but no luck "Query Of Queries syntax error. Encountered ( + )."Here is an example of my query code:select p.part_id, s.supplier_name, s.second_namefrom part p, supplier swhere p.supplier_id = s.supplier_id ( + )and p.second_id = s.second_id ( + );PART SUPPLIER_NAME SECOND_NAME---- ------------------------P1 Supplier#1 AP2 Supplier#2P3P4How can I do the same in query of query syntax?Thanks!
Hi,I'm trying to install solr collections for my sites unde CF9, so I installed Solr Server, but when I try to create a collection in the administrator, I get this error :« fr_FR. must be one of the ColdFusion supported locales ».But fr_FR is the Java Default Locale in the CF administrator.So what's wrong?
I have done some research on cfselect validation being useless but I have a hard time believing it. I have tested it on my own and cannot get the tag to work.How do I get cfselect to require a selection?<cfselect name="bobby" required="yes" message="Select something please."><option value="" selected></option><option value="red">red</option></cfselect>Doesn't work... allows me to select nothing without a prompt
We're trying to update from Java6 to Java7 on our ColdFusion 8 server, and we keep getting runtime error 2. I suppose this has to do with a lack of support for Java7. I could really use a simple answer to this, as we will be needing to consider upgrading to CF10.
Hi All,Having trouble when I upgrade to CF 10.We have Windows 2008 R2 64 Bit.In CF 9 I followed the instructions on how to use MS Access in CF on 64 Bit and all worked well.When I upgraded to CF 10 the Datasources would not work.I then tried to recreate them and still no luck.Can anyone help me with this problem?At present it is not possible to upgrade the database, so I need to use MS Access.RegardsKen
I have a form with mutiple text fields for user to enter email addresses. I don't want them to enter the duplicate emails so created two lists here Existing_EmailList: list all emails in the table. Current_EmailList: all from the form (included from table and new email just enter) I've tried to do ListContains, and Listfind but none of them work. Can you help? <cfset Existing_EmailList = valuelist(getCurrentEmail.email, ',') />test@test.com, yes@yes.com, no@no.com <cfset Current_EmailList = arguments.email /> test@test.com, yes@yes.com, no@no.com,no@no.com,one@one.com <!---<cfif ListContains(Existing_EmailList, #Current_EmailList#)>---><cfif Listfind(Existing_EmailList, #Current_EmailList#)> <cfset duplicate = true><cfelse> <cfset duplicate = false></cfif> Thanks
Hey I have a form that uploads a file. I am having trouble with some of the code and hoping someone can help. FORM FIELD <tr> <td><strong>Upload Submission</strong></td> <td><input type="file" &
I am trying to install secruity hotfix on Red Hat 5 server running coldfusion 9.0. I am having trouble with the .zip files... Any suggestions?
The payment page on our website is passing credit card information into a conformation page as form variables. The credit card company requires us to pass all of these form variable to their site for validation.we pass these form variable using hidden field such as this : <cfinput type="hidden" name="CCNo" value="#Form.CCNo#">The problem is, when I did view source from my browser, I could see all of the credit card information. I'm sure this need to be changed immediately butI can't think of a way to make this transaction more secure.I seems that he credit card company wanted us to pass all of these information as form variables. Is there ways to make passing form variable secure, where users can't see the values from view source??Please help
Hello, everyone.The project that I am working on in the dev environment is connected to an Oracle 11g database, but the production side is Oracle 10g.I have a page that is erroring in production (but not development) when it gets to a date that it needs to display.A co-worker mentioned that, in 10g, if a date/time is being SELECTed, you have to put it in to_char(), so I did that.But it's still erroring, and I'm not getting an error message, so I'm assuming that I have an incorrect format for the date in the SELECT.What is the proper format for SELECTing a date/time when using to_char()? Right now, I have SELECT to_char(create_date,'MM-DD-YYYY HH:MI') FROM tableA . Is this not correct for CF to output?Thank you,^_^
I've just noticed a problem with retrieving CLOBs in my ColdFusion applications. Any query that should return a CLOB is suddenly returning an empty string. I noticed this shortly after upgrading from Oracle 11.2.0.2 to 11.2.0.3. My best guess is that we are using driver version 3.6. I notice on the DataDirect web site, they list Oracle 11g support for version 3.7, but I don't see any reference to 3.7 on Adobe's website so I don't know if I can upgrade to it.I don't actually know if the Oracle point version upgrade was what caused this or not. Has any one else experienced this problem?
This question was posted in response to the following article: http://help.adobe.com/en_US/ColdFusion/9.0/Developing/WSd160b5fdf5100e8f79a619d71281e7d6c97-8000.html
I am trying to set up a new sceduled task and get the following error message in the log:"Error while executing task Connection Failure: Status code unavailable"I have other tasks running against the same application and can run the new task directly in the browser without issue.We are using CF9 and have recently applied HotFix APSB13-03.Can someone detail how to troubleshoot this issue.Thanks
I have a search results page that has been giving me a headache for a few weeks now lol. I have the following SQL to filter what the user is looking for with the search engine. Everything works fine UNTIL i sort the results by province. When i do so i get sereval unwanted image links. For example. If i get 7 results when i sort by ON (ontario) and 1 out of the 7 pets has an image which gives the word "image" repeating 7x based on the sort result and only 1 of those links actually work. Not sure why the others are appearing. I know it's because of the ORDER BY i have in the SQL, because when i remove the order by it works prefectly. I searched all over to find someone else with somewhat of a similar problem, but no go. Looked at my sql reference book and still nothing. Now sure whats wrong. Hope someone can see something i can't. ------ SQL for search engine ------- <cfquery name="qSearch" datasource="#APPLICATION.dataSource#"> SELECT PetID, PetName, PetType, PetStatus
Hello, everyone.I've got a query of query issue that has me stumped. Maybe I'm just missing something very simple, but this has got me really confuzzed.I have a Solr collection that is indexing a few tables in an Oracle database. Let's call it "hdq", for this discussion.I wrote a semi-complex query of related tables from which the CFINDEX is using to index the data. This is working just fine.I created the Solr collection in the CF9 CFAdmin, and am using the following to index with:<cfindex action="refresh" collection="hdq" key="QUESTION_ID" type="custom" title="QUESTION_TITLE" query="search_questions" body="QUESTION_TX,QUESTION_TITLE,CATEGORY_NM,TAG_NM,ANSWER_TITLE,ANSWER_TX" custom1="QUESTION_STATUS" custom2="TAG_NM" custom3="QUESTION_STATUS" custom4="QUESTION_TYPE" category="CATEGORY_NM">Then I do a CFSEARCH and name it "hd_questions". Again, so far, so good, no problems.If I do a CFDUMP of "hd_questions", one of the columns is KEY (whi
First off, I run CFB2 as a plugin to FB 4.5 on Win7 64bit. All was working properly until I installed the FB 4.6 release. Now, my "ColdFusion Search" no longer performs a replace. When I hit CTL+F I get the ColdFusion Search dialog like normal, type in my search criteria and hit Find it finds a match. If I hit Find All it finds all matches. So far so good. Now if I hit Replace All it does the search, but then I never get the "ColdFusion Replace Dialog". It just opens up my search view and shows my matches. Even if I use a single Replace it does not replace.I've uninstalled FB 4.6 and CFB2 completely and re-installed and have the same problem. When I uninstall FB 4.6 and CFB2 then re-install with FB 4.5 and CFB2 the problem goes away.Note: I have tried with and without the CFB2 hotfix 1 with same results.So, am I the only one or should I log a bug report? I really want to use the new FB 4.6 features for our Air3 development, bu
Hi guys, i have a nasty problem with:Incorrect string value: '\xE2\x80\xA8In ...' for column 'Body'I have tried to set all db's to utf8, have set the my.ini to utf8, still not working, i am done...How can i just simply use coldfusion to filter out all \xE2\x80\xA8 and alike codes?Thanks for any direction!Marco
GreetingsI created a form several years ago that allows users to submit maintenance requests. They check a box if they want a receipt sent to their own email.The requests do not get captured in a DB- simply sends to email.This all has been working fine- I am now attemping to add document attachment capability- I am obviously not using the correct method.The form itself has:<cfform action="request_action.cfm" method="post" name="detail" id="detail" enctype="multipart/form-data">etc. etc.Upload File or Sceenshot if neccessary: <cfinput name="file_upload" type="File" required="no" size="40"></cfform>The request_action.cfm has:<cfmail to=etc. etc.<cfif isDefined("Form.file_upload") > <cfmailparam contentID = "file_upload" disposition = "attachment" file = "#Form.file_upload#" &nbs
How do we set up an Access data source with CF10 and IIS 7 in a 64 bit environment. I have been away from CF for several years and things are a little different now.I keep getting Unable to update the NT registry. Variable DRIVERPATH is undefined.-thx
So I got my new Hostek account set up (woohoo!) and I've started uploading some basic files so I can do thinks like validate my code and make sure everything's working. One thing that does not work (but does locally) is my news feed caching.Pulling in two RSS feeds was seriously slowing down my index page loading, so I stole a trick from Ray Camden on caching the feeds. It works perfectly on my dev machine at home, but doesn't work on my hosted account.Here's the exact code being used:<cfset feedurl = "http://velonews.competitor.com/feed"><cfset cacheTime = #createtimespan(1,0,0,0)#><cfif not structKeyExists(application,"rsscache") or dateDiff("n", application.rsscache.created, now()) gt cacheTime> <cffeed source="#feedurl#" query="entries"> <cfset application.rsscache = structNew()> <cfset application.rsscache.data = entries> <cfset application.rsscache.created =
How do we set up an MS Access data source with CF10 and IIS 7 in a 64 bit environment. I have been away from CF for several years and things are a little different now.I keep getting Unable to update the NT registry. Variable DRIVERPATH is undefined.-thx
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.