Questions
Recently active
We are trying to install two hotfixes (APSB12-26) and (APSB11-29) on the server. This server does not have Runtime Java and preferably we do not want to install it. When we attempt to install these hotfixes, it is prompting the below error and document suggest to install JRE / JVM.http://helpx.adobe.com/coldfusion/kb/coldfusion-mx-unable-run-java.htmlWe know that the JRE is available under ColdeFusion folder. But it is not installed as runtime for browser. I want to know if there is another way to deploy these fixes?ThanksAnant
I havent used this component in about 2 months however when I call any function from this component I recieve this error. "Branch target offset too large for short" Ive searched and turned up nothing. I tested a really simple component that just returns the argument sent to it even that threw this error. Im testing with CF7 on OS X using Jrun4. Ill include stack below, any help would be awesome . ------------------------stack------------------------------- Branch target offset too large for short The error occurred in /Applications/JRun4/servers/default/cfusion/BIGBLUE/v09/download/dlEngine.cfm: line 5 3 : <cfif isDefined('ind_#ii#')> 4 : <cfinvoke component="COM.xDownload" method="tester" returnvariable="fixal3Ret"> 5 : <cfinvokeargument name="test" value="1"/> 6 : </cfinvoke> 7 : <cfabort showerror="#fixal3Ret#"> Resources: * Check the ColdFusion documentation to verify that you are using the correct syntax. * Search the Knowledge Base to fin
Hi. I'm teaching myself ColdFushion. I'm creating a page to show a list of news articles. I want to show the first 200 characters of the text. I store my data (article content as text) in mySQL. Everyone works except that it's not displaying the first 200 characters of the text. It displays about 30 characters. I've been looking at my code for a long time and tried the "rereplace" method but it doesn't work. Can someone give me a hint on what's missing? Thanks a lot!<!DOCTYPE html><html> <head> <title>Assessment Project</title> <meta charset="UTF-8"> </head> <body> <!--- Page Title ---> <h3>Article Listings</h3> <!--- Page Content ---> <!---
Hi All,Did all of you have any experience to install Coldufison 10 on Intel Itanium Processors?Need advice from you all.Thanks
I am having problems getting the Search collection I created to display the PDF files. When I perform a search I am able to get the pdf file listing put when I select a PDF file to display it it does nothing. Please help, below is the Search Action page I did<head> <title>Search Results</title></head><body><cfsearch name= "newspaperarchive_results" collection= "newspaperarchive" criteria= "#Form.Criteria#"> ContextHighlightBegin="<b>" ContextHighlightEnd="</b>" ContextPassages="1" ContextBytes="500" maxrows= "100"> <h2>Search Results</h2><cfoutput>Your search returned #newspaperarchive_results.RecordCount# file(s).</cfoutput><cfoutput query="newspaperarchive_results"><p>File: <a href="#url#">#key#</a><br>Document Title (if any): #Title#<br>Summary
Hello. I'm a newbie to ColdFushion. I'm trying to create a page where user can view a list of small pictures. Once he clicks on a picture, its full image will show up in a pop up window. I'm not sure what's missing in my code, but when I click on the small picture, no window nor image will pop up. Can someone give me some suggestions on how to fix this? Thanks a lot!<!--- retrieve the full article as well as its images ---><CFQUERY NAME="myQuery1" Datasource="mydb" > SELECT articles.article_ID, articles.article_title, articles.article_author, articles.article_date, articles.article_content FROM articles INNER JOIN article_image_mapping ON articles.article_ID = article_image_mapping.aim_articleID WHERE articles.article_ID = #URL.ID#
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--->
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.