『アドビコミュニティフォーラム』に質問/トピックを投稿する方法
Questions
新着順
We use dynamic text on our websites.The dynamic text available in different languages is stored in structures in the Application scope. Each resource bundle has its own variable to store its variables. They can be called using the following format: #Application.StructName[Session.locale].Variable#The first part is the name of the structure variable. With brackets, the variable for the locale is passed in, specifying which part of the structure to use. The last part is the specific variable within the resource bundle to use. If we add new variables in the Application Scope will not be immediately seen. The application scope can easily be refreshed by calling any page in the website and adding “refresh” as a variable in the URL. This is the Application.cfc function to refresh the application scope:<cffunction name="onRequestStart"> <cfargument name="requestname" required=true /> <!-
Hello,does anybody know whats wrong with this basic code?Whatever I post to this API, I always get back the API itself.. Strange. Maybe someone could try this code?<cfhttp method="POST" url="https://sandbox-soap.billsafe.de/wsdl/V211" result="httpResponse" > <cfhttpparam type="header" name="content-type" value="text/xml" /> <cfhttpparam type="header" name="charset" value="utf-8" /> <cfhttpparam type="header" name="accept-encoding" value="no-compression" /> <cfhttpparam type="xml" value="anything" /></cfhttp>Normally I put SOAP-content in the last cfhttpparam-tag but the API doesnt care about what I'm posting so I think the problem is anywhere else.I tried to deal with the api using SOAP-UI, that wor´ks.Any Ideas?Thank youProblem is more detailed described here: SOAP-API is not talking to me
So I have decided to try CF11 because of an official outstanding CF10 bug.Once I installed CF11, I get an error when running code like this:<cfquery name="LOCAL.stat_questions" datasource="#APPLICATION.dsn#"> SELECT survey_questionID FROM tbl_survey_questions ;</cfquery><cfset LOCAL.this_statID = 1><cfquery name="LOCAL.subset" dbtype="query"> SELECT survey_questionID FROM [LOCAL].stat_questions WHERE survey_questionID = <cfqueryparam cfsqltype="cf_sql_numeric" value="#LOCAL.this_statID#"> ;</cfquery>The error I receive is: "Query Of Queries syntax error. Encountered ";. "If I remove the semi-colon... No error! Is this a bug, or was
All of a sudden on my server the call to a cfc webservice wsdl (in production) is not returning the variable names in the wsdl.Instead of the variable names in the function as defined by the cfarguments, it is returning variables named in0, in1, in2, in3. <wsdl:message name="getAccountInfoRequest"> <wsdl:part name="in0" type="xsd:string"/> <wsdl:part name="in1" type="xsd:string"/> <wsdl:part name="in2" type="xsd:string"/> <wsdl:part name="in3" type="xsd:string"/> </wsdl:message>the real variable names as defined in the CFC are EmailAddress, Token, ServiceUser and ServicePassword.Calling the same cfc wsdl on the same server in the development site returns the proper variable names.<wsdl:message name="getAccountInfoRequest"> <wsdl:part name="EmailAddress" type="xsd:string"
I started getting errors: coldfusion.server.ServiceFactory$ServiceNotAvailableException: The MailSpool service is not available. This exception is usually caused by service startup failure. Check your server configuration. It started happening after installing newest windows updates. I cannot even acces CF administrator. Windows Server 2008 R2 Enterprise ColdFusion 9.0.1
I have a stored proc in Oracle. One of the input params is a defined type (see below). The error I get whenever I call the cfstoredproc is "expression is of wrong type ORA-06550". It's a formatted varchar, it's a table column. There's no CFPROCPARAM type that matches that.The type is a package-defined specific format (table column): EMAIL_ADDRESSES_TABLE.USER_ID%TYPE. The table column USER_ID is: USER_ID VARCHAR2(8 BYTE). The USER_ID is a 0-padded numeric, like '00001234'my call: <cfstoredproc procedure="PK_EMAIL.get_emails" datasource="#MYDSN#"> <cfprocparam type="in" cfsqltype="CF_SQL_VARCHAR" variable="p_user_id" value="#formattedUserId#"> <cfprocparam type="in" cfsqltype="CF_SQL_NUMERIC" variable="p_active_only" value="1"> <cfprocresult name="spResult"> </cfstoredproc>the stored proc function: FU
I am trying to show a cfchart within cfhtmltopdf tag. The chart shows correct on pdf, but when I mouse over the data, a pointer would show up and url is this page's relative path. Is there a way to turn off this url link?Thanks in advance.
Hello,I'm trying to implement billsafe, a payment service provider into my shop-system..I tried nearly everything since almost two days but I cant get it working that the billsafe-SOAP-API responds correctly to my requests. Whatever I do, I always get back (as the result/response) the complete xml-File of the API. (The same as if I call the URL in a browser)What I do is I post a cfhttp-request to the API, including the soap-content. But whatever I post, I get back the content of the API.. (See http://vr-wohnideen.de/test.cfm)This is the API-URL: https://sandbox-soap.billsafe.de/wsdl/V211This is the way I try to connect to the URL:<cfhttp method="post" url="https://sandbox-soap.billsafe.de/wsdl/V211" result="httpResponse"> <cfhttpparam type="header" name="content-type" value="text/xml" /> <cfhttpparam type="header" name="charset" value="utf-8" /> <cfhttpparam type="header" name="SOAPAction" value="prepareOrderReq
I have a ColdFusion service that doing basic authentication using SQL and returning a structure as JSON The structure has one element AUTHENTICATED = true . The JSON looks like below{ "AUTHENTICATED": true}The service works just fine when using HTTP but when using HTTPS I get this error . An error occurred while trying to encrypt or decrypt your input string: Input length must be multiple of 16 when decrypting with padded cipher.
I'm trying to create a DSN in ColdFusion Standard v11 server using Sybase jConnect 6.05 JDBC driver connecting to a Sybase SQL AnyWhere 12 Server (running on another server machine). ColdFusion has been installed on a brand new Windows 2012 (Standard) Server and uses IIS 8 for the web server.I have done everything mentioned on this page (of course, the driver class and other details have been modified) ColdFusion MX: Configuring the Sybase jConnect 5.5 driverWhen I try to verify the connection in CF Administrator, it throws the following error:Connection verification failed for data source: ars_jdbcjava.sql.SQLException: The method com.sybase.jdbc3.jdbc.SybDatabaseMetaData.getJDBCMajorVersion() has not been completed and should not be called.The root cause was that: java.sql.SQLException: The method com.sybase.jdbc3.jdbc.SybDatabaseMetaData.getJDBCMajorVersion() has not been completed and should not be called.I know that, all the connection parameters are correct because I have been ab
I have set up a psql datasource(odbc) in cf10. Everything works fine, but some tables require a password. In order to provide the password, for each databse connection, I need to make the following SQL statement: SET OWNER='myPassword';I do not want that statement before every query. I could use cfinclude and have the password in one file. But, I would rather have it as part of the datasource settings. Is there anyway to do this? Can I set up the above command to run in the datasource settings?
I have installed CF 10 and can not complete configuration or get in to cf administrator. I have use the resetpassword.bat and restarted the server, with the same result. I am working locally on the server.
Hi,I thought this would be simple, setting up RDS. I have it enabled on a guest VM server using my trusty terribly unsecure test password. But when I go to connect to it in Builder 3 (as a plugin to Eclipse) by clicking "Test Connection" in the "RDS Configuration" screen, it pauses a long while and then gives me a "Read timed out" error. I've been on the phone with Adobe about it, but they couldn't help (and didn't have nearly as detailed solutions as some of those I've found in this forum.)I'm running Builder on the same virtual machine as the CF11 server and IIS. I have a specific website set up for it, so I'm using that "host name" in the rds configuration screen of Builder. Port 80. On the advice of the Adobe support person I'm using /CFIDE/administrator/index.cfm for the Context Root (I don't have any other web applications set up on here except for the default "cfusion" one). I'm running ColdFusion via the version of Tomcat that get installed by the installer.Anyone been here?
Our IT group just upgraded one of the our file share servers from Windows Server 2008 R2 to Windows Server 2012 R2. We quickly noticed a problem with CFDIRECTORY listing the contents of directories that contain an ampersand (e.g. //192.168.1.10/Simon & Garfunkel/). We are using ColdFusion 10 Update11 on Windows Sever 2012 R2 and everything worked fine prior to this upgrade. In addition, we created the same directory locally and tried running CFDIRECTORY and the same problem occurred. The cfm page doesn't crash or report an exception in the log, it just doesn't return any results. Thanks in advance for help on this issue.
I have an Application.cfcIn the top I set the mappings as follows:this.mappings['/deptCFC']=ExpandPath('../cfc/');test cfm page<cfinclude template="/deptCFC/yourtest.cfm"><br>fails to include template which exist in the cfc directory as specified in the this.mappingsif I set this in cfadmin then it worksper-application settings is enabled in cfadmini-7 32gb ram 2tb drivewin 7 64biteclipse juno 64 bit sr2cfb3 64 bit installed as pluginfb4.7 64 bit installed as plugin
Our website ColdFusion pages are receiving 503 error - Request timed out waiting to execute. It is happening at random times, multiple times per day, and sometimes several times an hour. I am having to restart the Coldfusion service (and sometimes the http service) to get the website back up. We are running CF version 9.0.2, platform is RHEL 5.10, and java is openjdk 1.7.0. Has anyone else had this issue?
I'm using IIS7 with Windows Server2008 R2. I have ColdFusion 11 set up and running. Everything seems to work fine except whenever I have a coldfusion error, I get an error message from IIS instead of ColdFusion. I get the generic 500 - Internal Server Error instead of the ColdFusion page telling me what is wrong.This is a new installation on an empty server. Nothing else is running on this machine and nothing else has been loaded.In the ColdFusion Administrator I have the check boxes for "Enable Robust Exception Information" and "Enable Request Debugging Output" checked.If there are no errors on the page, the page works fine. Its just hard to debug when I can't see what's wrong if there is a typo or something.Thanks.
Is the developer exchange active anymore? When I look at the "recent" additions tab, the dates that are returned are around 2008.
I have a problem with saving a binary representation of a file to a file...Let me show you my pain:Everything starts with a file, file.pdfThen the file is send via POST to a website with some additional data: curl --data "sector=4&name=John&surname=Smith&email=john@smith.com&isocode=PL&theFile=$(cat file.pdf | base64)" http://localhost/awesomeUploadthen the data is received and decoded: var decoded = BinaryDecode(data.theFile, "Base64");then I attempt to save it by: var theFilePath = ExpandPath("/localserver/temp/theFile.pdf"); fileWrite(theFilePath , data.theFile);or: var file_output_steam = CreateObject("java","java.io.FileOutputStream").init(theFilePath); file_output_steam.write(data.theFile); file_output_steam.close();My files does not match ;(the original one
Running CF11 Windows 2012 r2 Data center IIS 8 4Gb RAM 4 cores no adjusments have been made to default CF11 - waiting from cfinstall@adobe.com to send me the hotfix hf1100-3776060.123 or hf1100-3776060.jar as services keep stoppingWhat can I do? My CF 8 is running way faster than thisthank you!
I have three instances: main instance is for cfadmin site, next two are my websites. cfusion ---> cfadmin site --- http port <blank> --- remote port 8014 --- host localhost --- cluster nonecfusion2 ----> website 1 --- http port 80 --- remote port 8012 --- host localhost --- cluster nonecfusion3 ----> website 2 --- http port 8501 --- remote port 8011 --- host localhost --- cluster nonecfusion2 does not start up and the instance manager page just refreshes without a message, and there are no system or cf logs with errors. I'm using Chrome browser, I gave up on Internet Explorer(event after adding the sites to the safe zone).I then proceeded to configure the third site using WSCONFIG in hopes that it will use cfusion3 server but instead it automatically selected cfusion. I could really use some help here. Thanks in advance.
I created a cfcomponent and a bunch functions inside it. One of the function needs to call a process that is also needed by other part of the application. Since this "process" is needed in a different parts of the application, I decided to make this "process" a global function that can be called from any part of the application. I found a blog from Ben Nadel that explained exactly what I need. But the problem is I don't quite understand how to call the globa UDF, his explanation is not clear to me. Ben created UDF.cfc: cfcomponent output="false" hint="I define the application settings and event handlers. cffunction name="getMessage" access="public" returntype="string" output="false" hint="I return a test message." -- Here is where I wrote the process needed by different parts of the application -- cfreturn "I am defined in the UDF compo
Getting the following error on Event Viewer:ColdFusion 11 ODBC Server@LOCALHOST,ErrorCode=3059,ErrorMessage=The specified data source is not defined.,ClientHost=127.0.0.1,Session=6Everything seems to be working - any idea? I am trying to move over from CF 8Thank you!
I have the coldfusion builder3 60 day trial. I bought a license. Now when I try to install i am asked for my previous serial number.
I just recently updated to..Version: 3.0.0Build: 290423When I conduct a search on my workspace, I get the results based on the matching string. {good}When I click on the line item for a particular file from the search (results) panel, the file (File A) opens and the queried string is highlighted. {good}Among the search results, are references to other files the string was also found. {good}If I click on the line item for another file (File B), File A closes and File B takes its place in the main file edit panel. {bad}Previously, "clicked" matches from the search results would open the file and add it in the edit panel as a new panel. With enough screen real-estate I could compare files. However, any file opened now from the search results replaces any previous searched file.I hope this is not a bug, but rather just some preference that needs to modified.
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.