The official community for ColdFusion.
Recently active
Th error is webpage cannot be found, can someone point me in the right direction?
I have been workig with Coldfusion for a while now. Where I work there is a need for web pages to extract data from data sources. I have been successful at doing this. Typically I use a form that selects multiple criteria, which when submitted loads a target/action page that displays records that are filtered based on the SQL statement contained on that action page. What I do is to conditionally check if criteria is passed using cfif. And if a field parameter is indeed passed it becomes part of the cfquery. This works out well - especially for reporting.But now I am seeing more and more a need to accomplish the same process - but on a single cfm page. So the page I seek will have both the form (select) and the recordset results on the same page. In this exercise I will be caching results od a query and having several queries to further refine what I seek (QOQ). What I am seeking is the best practice to follow, I was thinking that us
Error received is: "Invalid byte 2 of 2-byte UTF-8 sequence". We have confirmed this problem exist with WSDL files that are encoded as UTF-8, delivered as UTF-8 and declared as UTF-8. These webservices run fine under CF9 environments. Is this an issue with the switch to tomcat?
Hi:I have Visual C++ 2008 express edition to compile my custom cfx tag. Here are my steps:1. new project -> Win32 -> Win32 Project, enter project name2. Application Type: DLL, Finish3. Project -> properties -> C/C++ -> General -> Additional Include Directories includes "C:\ColdFusion8\cfx\include"4. #include "cfx.h"4. Finish my codeMy problem is my code surely has the "void ProcessTagRequest(CCFXRequest* pRequest)" function, but after I register my cfx, my cfm keeps giving me an error message: "Native CFX library does not have a ProcessTagRequest entry point."I am guessing it's not a problem in my code, since I could compile my code no any error. I am guessing it's my visual c++ project setting problem, causing coldfusion unable to see my function. Any one has any clue?Thanks.
I would like to geographically locate the position of the customer who logging-in my web application: is it possible? My web application is Coldfusion 8 developed.
Hi all,I am attempting SMTP authentication in my script and the email provider (Office365) is using TLS. When I use the attribute useTLS="yes", CF throws a validation error. I am running MX 6.1 and assuming the useTLS attribute is not supported. Is there another way anyone can recommend sending TLS?I'm not sure if this is related, but when I take out useTLS to get the script to run, the email is immediately moved to CF's Undelivr folder. If Office365 was rejecting the email for lack of TLS, it wouldn't be moved to the Undelivr folder, right?Here's my script, FYI:<cfmail type="plain"to="user@domain.com"from="Webmaster<webmaster@domain.org>"subject="This is a test!"server="smtp.office365.com" port="587"username="myusername"password="mypassword">Test email on #Dateformat(Now(), 'mm/dd/yyyy')#</cfmail>Thank you!
I have SQL query that returns last name of a person and I need to extract the last part of any hyphenated or last names with a space in themIn cases where the person has one last name everything is OKLike Smith. That OK. . I am looking for just SmithThe problem I have is when I have hyphenated last names like Scott-ThomasIn that case I want to extract the last last name or Thomas.Or if I have a last name like Rodham Clinton. In that case I only want to extract the last last name Clinton.How do I do this?
We have been having a problem where the server occasionally running very slow or simply hanging. Performance is uneven sometimes it works fast, sometimes very slow.Environment: ------------ Windows server 2003 STD SP2 (X86) IIS 6 Any pointers/help are greatly appreciated!Thanks!
Hi. I am using CF 9.2.1. I started learning CF yesterday, and I am trying to figure out a way to add a special character (like "?", "!"," & ") to an array row if the first row element (say, element [1][1]) has a specific letter like " t" in the word it is holding. In this case the special character will be added at the end of the last row element (element [1][3]).Example: The take columns are: "Firstname", "Lastname", "Age". If Firstname contains an "s" or "S" (in any order) then add "!" at the end of the row so that :Sam, Rubins, 26 !Nick, Palo, 32Robert, Williams, 28Oscar, Ramirez, 23 !I tried using the ReReplace, Refind and the #findoneof functions. I could probably loop through the array and return a value and store, while storing the value in a separate variable and using an if/Boolean function to compare that value and so on.... But I am sure there's an easier and more efficient way. Thanks in advance.<!--- #1 I will create a three column query named CityInfo--->&
I am using Coldfusion Report Builder. If the value of a feild is zero, how can I hide it or show a blank. Keep in mind this field is a DollarFormat() field.
I am new to CF and I am trying to understand some CFSTOREDPROC code. My question is withing this code there is sometimes a CFIF statement to determine how the CFPROCPARAM is set, whereas with other lines this is not done. <CFPROCPARAM VALUE="#arguments.frmstruct.cutomerIdAutoValueContainer#" cfsqltype="CF_SQL_VARCHAR"vs<cfif isdefined('arguments.frmstruct.SALESPERSON') and len(arguments.frmstruct.SALESPERSON) gt 1><cfelse> <CFPROCPARAM VALUE="" cfsqltype="CF_SQL_VARCHAR"></cfif>Does this make sense to have the code like this and why? Couldn't we just have the CFPROCPARAM without the CFIF to test the value if GT 1? i.e. <CFPROCPARAM VALUE="#arguments.frmstruct.SALESPERSON#" cfsqltype="CF_SQL_VARCHAR"> <CFPROCPARAM VALUE="#arguments.frmstruct.SALESPERSON#" cfsqltype="CF_SQL_VARCHAR">
Hi,I am having problems setting up a datasource for a local sql express 2012 server. Its running as the default instance. Connections are working with ODBC and client told just not Coldfusion.When I try to set up a connection using the sql driver I get this error:Connection verification failed for data source: Leaf java.sql.SQLNonTransientConnectionException: [Macromedia][SQLServer JDBC Driver]Error establishing socket to host and port: 127.0.0.1:1433. Reason: Invalid argument: connect The root cause was that: java.sql.SQLNonTransientConnectionException: [Macromedia][SQLServer JDBC Driver]Error establishing socket to host and port: 127.0.0.1:1433. Reason: Invalid argument: connectWhen I try a Socket connection with an ODBC connection I setup in windows I get this error:Connection verification failed for data source: LeafDB java.sql.SQLException: [Macromedia][SequeLink JDBC Driver]Internal network error, connection closed. The root cause was that: java.sql.SQLException: [Macromedia][Seq
Helloon two CF8 Servers which we are running for several years I could see that recently we have two processes inside the Jrun4 folder cfusion82\cfusion.ear\cfusion.war\CFIDE\m32\m32.exe and cfusion82\cfusion.ear\cfusion.war\CFIDE\m64\m64.exe taking 100% of the CPU. Action appears randomly and occurs on two server without any user interaction. Killing those processes does not seem to have any effect on the functionalty of the system.Also in the coldfusion reactor I am not able to see any request which would be connected to this behaviour.Does anyone know what are these processes? Strange thing is that the files have been created just recently and on each system/instances in different days.Thank you very much for answer!
Hello, everyone,I'm kind of getting the hang of querying LDAP. Now, I'm trying to learn how to MODIFY an LDAP entry. I'm attempting to set department to "WebShop" for any entry that has a non-NULL mail attribute.The following code:<cfldap action="modify" attributes="department=WebShop" dn="mail=*" server="first.second.tld" username="#request.cfldapun#" password="#request.cfldappw#">.. is returning an error message:LDAP: error code 1 - 000020D6: SvcErr: DSID-031006CC, problem 5012 (DIR_ERROR), data 0The user account that is accessing the AD LDAP has admin privileges for the domain. What am I doing incorrectly?V/r,^_^
We have few instances running in ColdFusion 9.0.1 environment that we need to rename. I tried some google searches and found nothing that would help me do that. I can rename an instance in JMC Admin tool, but when I do that, the Windows service for that instance will not start (I suspect it's because the two names no longer match). What step am I missing? Thank you
Hi,I'm using ColdFusion version 10,0,11,285437.I'm trying to create a Scheduled Task using ColfFusion admin page. If I set Start Time as "1:00 AM", I get message saying: "An error occured scheduling the task.1:00:00 ap. is an invalid date or time string."And same error message comes with any input. Here are some examples what I have tried:"01:00", "13:00", "13:00:00", "1:00:00 PM"...
We seem to be having issues with Jrun Closed Connection/Server errors occuring on a daily basis now. The server will stop responding to requests until the ColdFusion service is restarted.We're using CF 6.1, the following error message is from the log files and seems to be Java/JVM related but I was hesitant to make any changes to the JVM parameters.Any suggestions on how to resolve this daily issue of restarting CF service? Other than upgrading to more recent version of CF which we'll be doing later this year.Thanks,Dave>>>>>>>>>>>>An unexpected exception has been detected in native code outside the VM.Unexpected Signal : EXCEPTION_ACCESS_VIOLATION (0xc0000005) occurred at PC=0x77FCAFF8Function=[Unknown.]Library=C:\WINNT\system32\ntdll.dllNOTE: We are unable to locate the function name symbol for the error just occurred. Please refer to release documentation for possible reason and solutions
Hello, everyone.I'm going to be learning as much as I can about CFLDAP. Pointers appreciated.Some questions:1. Is it possible to import/export data between LDAP and an Excel spreadsheet? Or XML? Other formats?2. If I don't know any structure values (like organization, etc), I will need to put something in the "start" attribute; are there any values that can be used, if not obviously known? (My practice LDAP server hasn't been set up, yet.. just curious.)3. There was a third question in my mind when I started this thread, but I've forgotten it. I'll come back and edit this, if/when I remember.V/r,^_^
Good afternoon,We have a weekly magazine that was at a wholesale price of $0.70 to purchase. The retail price was $1.00. After February 21,2014 the price of this magazine's wholesale price has increased to $1.00 and the retail price increased to $2.00. All wholesale prices before February 20, 2014 was at $0.70. What I am trying to do is tally up the total that each salesman sold say from January 01, 2014 thru today 03/06/2015 reflecting both to totals from the old wholesale and the new wholesale price. So if I had a member that sold one magazine per week from 01/01/2014 until 02/19/2014 at the $0.70 price, it will total $5.60.Then from 02/20/2014 until 03/06/2015 sold 1 magazine per week at the $1.00 price I get $3.00. The total from January 01 until March 06,2015 would be $8.60. The old code using the $0.70 wholesale calculation is below. The new code using "cfif" statement (which it throwing the error) is right below that. Am I doing something wrong?<!--- Existing Code--->
I have following code to assign value from my stored procedures.The text cfinput works to get value from stored procedure, but check box does not get value.The check box value return to 1, but check box does not check.I would like to know are there any way to assign a stored procedure value to check box.Your help and information is great appreciated,Regards,iccsi, <td><cfinput type="checkbox" name="Mychk" id="Mychk" value="#MySP.MyCheckValue#"></td> <td><cfinput type="text" name="Mytxt" id="Mytxt" value="#MySP.MyTextValue#"></td>
Please,My Coldfusion 10 Standart change to Developer after restart server. I do no to resolve!Thanks,Eduardo.
Please download the attached file to view this post
I need to pass a byte array as my input and an int as the output length for the Class ProgramCall.My error is parameterList[0] (null): Parameter value is not valid.My thoughts areI think (but I'm not completely sure) I'm having trouble because I'm passing a Coldfusion Array where a Java Array is needed to pass the arguments.Coldfusion arrays start at index 1 and Java Arrays start at index 0.(1) Am I correct in what I believe is causing my error?(2) How can I convert the Coldfusion Array to a Java Array? Here is the documentation for Java JT400 object Class ProgramCallhttp://publib.boulder.ibm.com/iseries/v5r1/ic2924/info/rzahh/javadoc/com/ibm/as400/access/ProgramCall.htmlHere is my code <!--- I am the system object ---><cfobject action="create" type="java" class="com.ibm.as400.access.AS400" name
I believe I am getting the hang of the left outer join, but I am not there yet.I have the same devotional that goes out to several clients which have the option of making changes to the devotional before it goes out.For example I have 3 clients and one of them changed the devotional. So two of them will get the original devotional and the third company will get the modified version.I’ve been able to figure out how to get the modified version to go out, but the 2 other clients are getting the modified version instead of the original. <!--- get subscribers timezone and layout options, ie: header and color combinations ---><cfquery name="getClients" datasource="#application.dsn#">select *from (subscriber INNER JOIN contacts ON subscriber.contact_id = contacts.contact_id) INNER JOIN layout ON contacts.contact_id = layout.contact_idwhere subscriber.timezone = '4'</cfquery><!--- determine which version of the devotional is available for this day ---><cfquery name="
CF Grid not generating due to this error.SecurityExceptionMissing required Permissions manifest attribute in main jar:http:// /CFIDE/classes/cfapplets.jarWhat is the fix for this error?
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.