Questions
Als letztes aktiv
HI,I am using a cf 9.1 app, and session variables are not working. testpage.cfm sets a session.rage variable and has a button to go to page 2 where i cfdump the session and there is no rage variable defined there. I am working with legacy code where apparently this used to work. Help? cfapplication tag below:<CFAPPLICATION NAME="advapp" SESSIONMANAGEMENT="Yes" SETCLIENTCOOKIES="Yes" clientmanagement="Yes" APPLICATIONTIMEOUT="#CreateTimeSpan(0, 24, 0, 0)#" sessiontimeout="#CreateTimeSpan(0, 0, 45, 0)#">
I have a spreadsheet that I update and process.It has numbers on the top row that I use for an index.I was asked to remove the number row as it is causing problems when people don't renumber the top row properly, however when I do, the dat gets inported ver strangely - some columns get duplicated and others totally left out.Here are pictures of the top few rows of the spreadsheet and a dump of the query that is produced by cfspreadsheet Read.The top one has rows and works.The second set does not.The same spreadsheet with no top numbers produces this - the first record with the department number is duplicated 6 times instead of one column for each column in the spreadsheet:<cfelseif isDefined('UploadDataType') and UploadDataType is 'XXX'> <cfspreadsheet action="read" src="#theFile#" sheetname = "XXXDATA" query="XXXdata" headerrow="1" > </cfif>Any suggestions on how to correct this would be greatly appreceated.
Hi,We found that CF 10 stopped sending emails and on website, we received error: An exception occurred when setting up mail server parameters. This exception was caused by: coldfusion.mail.MailSpooler$SpoolLockTimeoutException: A timeout occurred while waiting for the lock on the mail spool directory.We are not sure what caused this problem, but after restarting the CF service everytime, this problem resolves. And this is happening frequently and no way to trace it immediately.Is there any way to trace that CF is not sending email or any updated to fix this problem?Thanks in advanceMamun
Hi All,I am using Cold Fusion 10. I have a grid that has a date field. I am using the popup calendar so people can edit the date. In Chrome browser, everything looks fine. In Explorer however, the calendar does pop up, but it is off centered within the popup window such that the last columns (Fri & Sat) are not visible. The left portion of the popup is just blank. It is possible to select a date and arrow over to the right which brings the full calendar into view. See image below. Any ideas why this is happening and what can be done?Thanks in advance for any help.
In order to put Google Analytics (GA) on all CF-generated pages, without having to edit 1000's of CFM pages, I am trying to use an IIS URL Rewrite Outbound rule to add the GA code. Outbound rules require no compression in order to do the equivalent of a search/replace on generated content. But CF is compressing the generated page, so the outbound rule fails.THis is verified with a simple CFM page. With the outbound rule disabled, the CFM page loads correctly. With the outbound rule enabled, the CFM page returns a 500.52 errror. This is because the generated page is compressed. (Compression is turned off at the IIS site level).This is with CF 9.01, Server 2008 R2, IIS 7.5, with URL Rewrite module installed.1) Is it possible to turn off compression on CF-generated pages?2) Is there a way to include the GA code on all CF pages, without editing 1000's of files. Note that there are many different CF applications running on the server, so there is not one common application.cfm/cfc.Tha
I have installed CF Builder 2 and have setup the localhost server correctly (I am using CF10 on IIS 7.5)The thing I don't understand is in Dreamweaver you work on files in a 'local' folder and then you upload these to a testing server or remote server to see how they workIn CF Builder 2 I don't understand how this works. It asking me for web roots and document roots etc but I just don't understand how to set it up like Dreamwever so that I can edit files in my C:\MyWebsite folder and then upload these to C:\inetpub\wwwroot\mywebsite for testing on? CF Builder seems to want to only use the files in C:\inetpub\wwwroot\mywebsite but that is not where my local files are kept. That is only where files that I want CF10 to run are kept.Am I missing something major here?
I have successfully created REST services for several applications, and am accessing them via IP address, but want to use a domain name.For example, I have http://111.222.333.44/rest/pa/api/get/stuffBut what I want to do is:http://www.mysite.com/rest...But of course that folder does not exist. How do I create a mapping or binding or? to accomplish this?
Any idea about the below error. I am getting this while submitting a form but this happens only in production.'Element '' is undefined in a Java object of type class coldfusion.filter.FormScope'Please help if any one have come across the same situation.
I was doing my maintenance on my laptop and it flagged 2 paths in my CF instal as virus'. Is this a false flag or did it really find something?
So I've been running CF9 on Linux for a while and using CFMail to send email through a client's Exchange 2010 server.We're attempting to migrate to CF10 on Win2008, IIS7.5. Everything is set and ready to go except I can't get CF10 to verify the mail connection? I've got both mail settings (CF9 and CF10) set the exact same way and can view them open side by side and verify they're identical. However, while the CF9 verifies successfully the CF10 system fails??I tried sending through CFMail tags while specifying the server credentials and see this in the CF10 log:"javax.mail.AuthenticationFailedException: No authentication mechansims supported by both server and client"What does this mean? I know my authentication credentials are correct because I'm able to connect in CF9.I've turned off all firewalls and still nothing. So, I then tried installing CF10 on my Mac laptop. It, too, will not verify the mail connection!Is there a known problem with CF10 conn
I am using CF 9 Standard for an application we built back in 2010. I need to port the app to a new server but the Packaging and Deployment section isn't showing up on my Adminstration Panel. Is there any way to get this installed if it is missing? Any help would be appreciated.
Hi all,I apologize in advance if I don't use the proper terminology here. What I'm trying to do is rather simple, I think, but it's not something I've done before. I have a short list of dates in a DB table. Upon a user inputting a date into a form field and submitting it, I would like CF to check the date the user entered against the list of dates in the table. I'd like to be able to create a cfif/cfelse statement if the input date matches any one of the table dates. Can someone point me in the right direction?Thanks!
I have a page the uses cflayout tabs to show different class information with the primary tab (one with issue) showing when seminars are available and a button to purchase registration. In IE10 (only) the button is not working. The page does not submit at all, just clicks the button with message. below is the cflayout code snippet used on the primary page.<cflayout type="tab" width="700"> <cfif cats.SubCatId NEQ 5> <cflayoutarea title="Register" overflow="visible"> <cfinclude templa
Hi,I'm using CF8 and this is my code<cftextarea id="summary" name="summary" rows="5" cols="80" maxlength="300" required="yes" validate="noblanks" message="You must enter summary." />It is not working. Am I doing anything wrong?ThanksJoe Green
I performed a scan with an updated version of Malwarebytes Anti-Malware and it flagged the following file with a Backdoor.MSIL.P infection:../ColdFusion10/uninstall/uninstaller.jarCan someone confirm the same or is this a false positive detection?
Hello.Versions:CF8, MySQLI have one individual who fills the MSO postion for two different departments. I need to search a DB Table of submitted reports and return all submitted reports the MSO is associated with. Nine for dept-01 and four for dept-02. When I output the results as a text list, all displays as intended with no grouping or separations. However, when I cfloop the output, over a <cfselect> the results are grouped and two separate <cfselect> boxes are created. Dept-01 individuals in first one and dept-02 are displayed in second, each with their own submit button.What am I missing/doing wrong? How would I accomplish the output so there is only one <cfselect> containing all nine names to choose from?Below is what I have at the moment.This query below obtains agency_cert_number for each agency and MSO is associated with. In this case it will return two departments.<cfquery name="rsCheckMSO" datasource="DSN"> SELECT individual_rec
Importing your ColdFusion settings. This might take a few minutes. Hangs and never returns
HiI have a 2 dimensional array stored in sessions scope: <cfset Session.POarCart=#arrayNew(2)#>and it can have as many as 7 elements (for example): Session.POarCart[1][1] Session.POarCart[1][2] Session.POarCart[1][3] Session.POarCart[1][4] Session.POarCart[1][5] Session.POarCart[1][6] Session.POarCart[1][7]... however elements 6 and 7 (Session.POarCart[1][6] and Session.POarCart[1][7]) don't always get filled (or populated, or set, whatever the nomenclature....)Does anyone know how to check if a specific array element "contains something"? "is not null"? "has length"? I can test that the array exists, and it does, but I don't know how to test for the exact position of the array.My code is failing when I attempt to reference Session.POarCart[1][6] because it doesn't contain anything.Anyone?Th
Hi,When create project, I saved this into this location: C:\inetpub\wwwroot\mycfapp\cfsapps instead of Adobe ColdFusion Builder workspace in C drive. Go to project properties >Coldfusion Project > Additional Source, I don’t have anything there. I created the test page but when click on IE to view and got error message: Selected file is not in the document root of the server, ………” Why I am getting this, since additional source is an optional right? Also, got error for RDS query viewer does not exists.Everything works fine If I create project and saved them into the default: C:\Users\myID\Adobe ColdFusion Builder workspace\myproject . So, my question why it can’t be saved into C:\inetpub\wwwroot ?Thanks
Will changing the server IP this version of CF sits on have any impact to the applications running off it?
Hi,How can i get the attachment files from a email?I'm using the following code:<CFPOP ACTION="GETALL" NAME="Message" MESSAGENUMBER="#URL.idMsg#" SERVER="server.mail.test" USERNAME="test" PASSWORD="teste" ATTACHMENTPATH="f:\temp\email\">But all the times i got the file f:\temp\email\winmail.dat.How can i get the attachment file like pdf, xml and other?Thank's
We are running a post to a web service using cfhttp.When the post runs over https, the return is limited to 8K.Has anyone seen a similar issue?
I have 4 sites running under 1 instance of CF 10 STD. every now and then no regular pattern 2 of the smaller sites stop responding to http requests. Has anyone seen the issue before? When this issue first occured I seen it happeneing durning the client variable purge I have since disabled the registry purge and placed the client variables in an SQL DB. The issue stoped for about a week but now it has come back and not on any type of regular interval or pattern. Log files are no help at all.OS: Windows 2008 R2CPU: 1 vCPU RAM: 4GBIIS 7.5Server Product ColdFusion Version 10,0,10,284825 Tomcat Version 7.0.23.0 Edition Standard Serial Number 118750067037389643140965 Operating System Windows Server 2008 R2 OS Version 6.1 Update Level /E:/ColdFusion10/cfusion/lib/updates/chf10000010.jar Adobe Driver Version 4.1 (Build 0001)
CF10 & Windows Server 2008 R2 cgi.auth_user Windows-Authentifizierung arbeitet nicht Hat jemand einen TIP ? ,... komme absolut nicht weiter ?Benötige dringend Client-User-ID als Authentifizierung dETsmi
I have a project where I am dealing with around 200 data entry variables. I put notices everywhere not to use punctation but folks do love to input $ and commas which of course throws the error "Error converting data type varchar to numeric." I have tried every trick I can find but it does not catch the $ and comma entery. This is my latest effort. The SQL type is numeric(10,0). What have I missed? What am I doing wrong? Very frustrated with this! <cfinput type="text" name="GFA" value="#NumberFormat(GFA)#" size="9" Message="Round to whole dollars no punctuation" ValidateAt="onsubmit" Validate="integer">Thanks for your time.
Remix with Firefly Community Gallery
Thousands of free creations to fall in love with and remix in Firefly.
Sie haben bereits einen Account? Anmelden
Noch kein Konto? Konto erstellen
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.