『アドビコミュニティフォーラム』に質問/トピックを投稿する方法
The official community for ColdFusion.
新着順
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
We have two identical versions of our application running on the same server - one in CF9 and one in CF10. We noticed that CF10 is signficantly slower. To be more specific it is more that 10x slower than CF9. So, we started experimenting with CFTIMER to narrow down the issue. Here's what we discovered...<cftimer><cfset expandpath('/') /></cftimer>On ColdFusion 9, this runs in 10-20ms on average. In ColdFusion 10, it runs in 200-250ms on average. We use expandpath quite a bit in our applications. So, pages that load in less than 200ms on CF9 are now loading in 10000+ milliseconds on CF10.It doesn't matter if we change it to this...<cftimer><cfset expandpath('/some/folder/path') /></cftimer>The result is still the same.Note that our application does run from a UNC path because it is load balanced across multiple servers. So, the expand path will resolve to \\server\folder\file.cfm. As you can
I am creating a form which lets users submit a job application. My main concern is that it will take people quite a lot of time to write their personal statements and experiences and the Session will timeout which means the work they have done so far will be lost. This would be very annoying to me!The best solution would be for my form to save their work as they type, especially in the cftextarea and cfinput elements.Could anyone please suggest how this may be achieved?
Our website was designed by someone a few years ago. The hosting was moved to our office when we fired the guy, so it is on site and we have complaints of speed from cusotmers because of our T1 service that also has to support all employees.vvIt was written in CF4.5 or CF5. I would like to move it to a CF hoster. Has anyone done this any how bad are the errors that need to be conrrected?I am not a CF person, so hoping I can fix old calls to new calls.I was think of just moving it to a hoster and see what happens when it runs, and deal withthe deprecated functionsby looking at the errors. Or is this much more intense upgrade?ThanksTedT
Hi All,I am getting a weired session issue. It is showing me session variable is undefined when it should be defined.Environment details:Web Server:IIS7OS:Windows Server 2008 R2 Standard, Service Pack 1 64 bitApplication Server:CF9Problem Description: It is a page for collection customer review. I have used <cfparam> to declare all session variable that I am going to use and use StructKeyExists function for checking variable exsistant. The problem is that it is throwing variable undefined error just after checking for the exsistant of that variable.Here is the code snippet. :-<cfparam name="session.productReview" default="#StructNew()#"><cfparam name="session.productReview.productReviewCustomerCity" default=""><cfparam name="session.productReview.productReviewCustomerState" default=""><cfparam name="session.productReview.productReviewCustomerEmail" default=""><cfparam name="session.productReview.productReviewCustomerFirstName" default=""><cfparam
Hi Support,After the installation of Coldfusion10, the admin page is not accessible. Getting below error message. The services are started. Please help me to resolve this issue.Service Temporary Unavailable!The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later. Jakarta/ISAPI/isapi_redirector/1.2.32 ()
Hi,I find there is a method on generate Word document from a template (rtf). The reference link is: http://www.jensbits.com/2009/06/21/using-coldfusion-to-generate-a-word-document/And it is nice and easily for us to maintain. However, in our template, we have some checkboxes. Does anyone know how to tick the checkbox or untick the checkbox in ColdFusion.
Is there any way to use the a cfinput value entered at the top of a form in a cfquery as a where clause value? I am trying to create a dynamically generated table of checkboxes based on what is returned for a single SSN from the database.My query so far is: <cfquery name="PatientDiagnoses" datasource="ccta"> SELECT Diagnoses.DiagnosisID, Diagnoses.Diagnosis, "Selected" = CASE WHEN Diagnoses.DiagnosisID IN (SELECT ReferringDiagnosis.DiagnosisID FROM
I am attempting to create a table of checkboxes 4 checkboxes wide with about 40 possible query rows to output.I'd like to <cfnext> my cfloop after outputting each <td> in a row, but I don't see a way to do that. I haven't even begun to think about how I will read this back in my action form and update the database. I am considering giving up on it as not possible in ColdFusion.Any helpful information would be appreciated.
This question was posted in response to the following article: http://help.adobe.com/en_US/ColdFusion/10.0/CFMLRef/WSc3ff6d0ea77859461172e0811cbec22c24-6978.html
I have been using the pop-up calendar in grid cells in CF 9 by using the attribute "type=date" in the cfgridcolumn.It was working fine, but now the right column in the calendar in cut offand the left side of the container is white space.We recently upgraded to CF 9.0.1. Could this be a bug?Is anyone else having this problem? It affects form pop-up calendars, too.Thanks.
Even with tons of google searches I cannot figure this out:I have a (CF) backend management system that identifies the user and the company they are with on login. These variables (and a couple of other identifyiers) are stored as session variables on the application page at login.Certain users (depending on user level) can set up a company staff member and/or a client through regular cf html forms with action pages. These post to a SQL database.Ultimately, part of what I'm trying to do is output an index of pdf forms that are either uploaded or generated dynamically. This index contains catagories and sub-catagories.So... say, for example, when a company staff member is entered into the system, according to the user role this staff member is to be assigned -- I set up folders and sub-folders with cfdirectory (along with other database inserts).Here's where my problem comes in:I need to have the user set up an upload by selecting through dropdowns on a couple of form templates. These d
I have the following code and I have tested it in chrome and IE:<cfform name="form1" action="http://www.yahoo.com" method="post" > <cfloop index="X" from="1" to="9"> <cfform name="form2" action="http://www.google.com" method="post"> <cfinput type="submit" name="GOOGLE" value="GOOGLE#X#"> </cfform> </cfloop> <cfinput type="submit" name="YAHOO" value="YAHOO"></cfform>All the google buttons should submit and go to google.com....The yahoo button should go to yahoo.com. I have code similar to this working elsewhere in my application, but this one has me stumped. The first buton in the loop(when x is 1), is surrounded by the form1 tags and goest to yahoo.com, and the remaining buttons are surrounded by form2 tags and go to go
This question was posted in response to the following article: http://help.adobe.com/en_US/ColdFusion/10.0/Developing/WSc3ff6d0ea77859461172e0811cbec22c24-7a5a.html
I keep getting the following error when I run the updater.I looked in the config.msi folder amd these tmp files do not even exist, could that be the problem? How would they have been deleted?
In previous versions of ColdFusion, we had "jrunsvc" to help manage Windows Services. We could add, edit, and delete Windows Services for one or more instances of ColdFusion that we were running. What, if anything, exists now in ColdFusion 10 to manage the Windows Services for the CF instances we run?
Remix with Firefly Community Gallery
Thousands of free creations to fall in love with and remix in Firefly.
すでにアカウントをお持ちですか?ログイン
アカウントをお持ちではありませんか? アカウントを作成
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.