Questions
Recently active
Hello, I need to send array of array to Net webservice (rest) but the webservide respond the error:{"Exception":"Object reference not set to an instance of an object.","StackTrace":"I have an sample how can I send the with PHP and works but I try to send with CF code and I can not.This is the PHP$agent = array( array( ramoTecnico => 1, codAgente => 5095 ) &
HelloWe just migrated from CF9 to a CF10 installation. In CF9 cfstat was always working great and gave good information for monitoring.Now on CF10 cfstat first didnt even work (0 everywhere) so I changed the port in settings like some adviced on the internet.After that the 0 started to change. But now even the changed number will stay as it is (Just Pg/Sec and Db/Sec changes and running requests are changing).So I cant use cfstat anymore because I dont really see how many requests are running and how many are queued.Is there any solution how to fix that or are requests queued broken in CF10? Or am I even missing something?thanks in advance
Hi,when I try to open the coldfusion administrator (CFIDE/administrator/index.cfm) the login is showin ok, I enter the password, and it redirects to the CFIDE/administrator/enter.cfm with this error:The SHA-256 algorithm is not supported by the Security Provider you have chosen.It is Coldfusion : 10,0,13,283111 Enterprise, running on Websphere 7.0.0.31Regards
I am at my wits end. I have built a portal around the CF Calendar only to discover that in IE 9 the CF_Cal will not advance the months. Below is the tag that shows a popup calendar to select the date. In IE9, clicking on the back or forward button does nothing. Any help wuld be appreciated. <cftry><cfif parameterexists(attributes.target) EQ 0><cfthrow message="NoTarget"><cfelseif parameterexists(attributes.formname) EQ 0><cfthrow message="NoTarget"></cfif><cfparam name="attributes.date" default="#Now()#"><cfparam name="attributes.image" default="0"><cfoutput><script language="JavaScript">var months = new Array("January","February","March","April","May","June","July","August","September","October","November","December")var totalDays = new Array(31,28,31,30,31,30,31,31,30,31,30,31)function openCalWin_#attributes.target#() { stats='toolbar=no,location=no,directories=no,status=no,menubar=no,' &n
I downloaded the latest CF10 installer from Adobe. Installed it on Windows Server 2012 and it works fine for regular port 80 web traffic. But, I get a connection error when I try to use https (port 443). I have bindings in IIS 8 for both http and https. Does anyone have any ideas on how to troubleshoot this?
At first I though this to be a Vista issue, but it happens on XP as well. I have downloaded both the Trial and the Dev editions, (appear to be the same), and after initial extraction I get "Please select another location to extract the installer to:". Thoughts. I am running as Administrator on both systems. I'd really like to check 8 out.
Hello,I have been unable to find any instructions on how to do an upgrade from CF9 ( Linux - RHEL 6.0 ) to CF 10.I have a CF10 full copy and license yet there does not seem to be an upgrade option via the installer when I run it.~Stu 😞
So here's the deal. I have a Config object. It is passed a path to an XML file, and upon init, it processes all the XML and creates variables needed so that in the end you can make calls to it like 'Config.getSetting( 'nameOfSetting' )'. Well, one of the things the XML file defines are ColdFusion THIS-scope settings like 'sessionManagement', 'applicationTimeout', etc.In the application.cfc, I was thinking about having the following code:<cfif isDefined( 'application.Config' )> <cfset application.Config.processPseudoConstructor() /><cfelse> <cfset tmpConfig = new path.to.Config( 'path/to/config.xml' ) /> <cfset tmpConfig.processPseudoConstructor() /></cfif>What the processPseudoConstructo() function does is execute an interative loop over all the (now-existing) internal-to-Config 'this-scoped' values, so it will be setting ColdFusion this-scoped variables needed
Using CFDOCUMENT to convert html to PDF, but the resulting PDF pages are buggy. For instance table cell backgrounds bleed outside the table cell borders, and lots of other rendering issues that make it hard to use this tool. Has the PDF conversion been upgraded in CF10, or should I look for another PDF converter? And if so, which one?
I am using Cold Fusion 10,0,9,284568 which was installed as part of a software package purchased from a third party called Sunapsis. This software prepares mass email messages to be sent to our students however, our servers are limited as to how many message can go out at a time. Because of this we are only able to send about 25-30 emails out of a 1000 the rest go into an undelivr directory. I can take those and resend them but I still only get out about 25. Is there a feature in adobe that allows us to send mass email in smaller groups?
Hi all,I am at a loss how to access a variable that's set inside of a cfdocumentitem tag. The reason I'm doing this is that a client of mine is wanting to print invoices in their browser but they are using double sided paper so I need to access the current page number and if it's not an odd numbered page, I need to force another page break.So my code looks somerthing like this:<cfdocument format="pdf"><cfloop query="getOrders">Invoice stuff here...<cfdocumentitem type="pagebreak"></cfdocumentitem><!--- Add one page break by default after every order ---> <cfdocumentitem type="footer" evalatprint="true"> <cfif CFDocument.CurrentPageNumber MOD 2 EQ 0> <cfset AddPageBreak = 0><!--- This is the back side of a page so we don't need to add another page break ---> <cfelse>
There is an insane number of files in this folder, and I need to just delete the contents OR better yet delete the folder and recreate it. Cannot do either. I have not tried to stop CF7 MX and then tried to delete the folder. Not sure if that will help.
Change Default Connection Properties for SQL Server / ColdFusion 7 I've started working with indexed views in my Microsoft SQL Server 2005 database. Whenever a SQL statement alters a field ( INSERT, UPDATE, DELETE ) used by the index on an indexed view certain connection settings must be set. SET ANSI_NULLS ON SET ANSI_PADDING ON SET ANSI_WARNINGS ON SET CONCAT_NULL_YIELDS_NULL ON SET NUMERIC_ROUNDABORT OFF SET QUOTED_IDENTIFIER ON SET ARITHABORT ON When ColdFusion connects to SQL server the ARIHABORT setting is OFF causing SQL statements to fail. I currently have two workarounds for this: 1. Use a stored procedure created with the required settings. 2. Run a cfquery containing the required settings before the UPDATE, INSERT, or DELETE cfquery statement. Questions: 1. Is it possible to configure ColdFusion's connection to set ARITHABORT ON by default? 2. Does Microsoft's JDBC driver use this setting by default? My environment: Microsoft SQL Server 2005 ColdFusion 7.0.2 W
After trying to use a stand-along version of Adobe ColdFusion Builder 2 (built on Eclipse) that was slow as molasses I am, instead, trying to run CFB as a plug-in to a standard Eclipse installation. So far so good. However....I have a Logitech mouse with a ton of buttons I've customized with Logitech's SetPoint to perform common tasks such as Copy, Cut, Paste, Undo, etc....These buttons are not working in Eclipse. I've tried messing around in the key mapping areas but it doesn't appear as if the key commands are being sent in from the mouse at all.Here's the oddity: When I was using CFB as a stand-along install these buttons were working. Now, as a plug-in to Eclipse they are not.Is there a setting somewhere in Eclipse to allow key commands from external apps like Logitech SetPoint?
So, you do the research on how to get a CFGRID to update via SQL update because there isn't much control in the CFGRIDUPDATE function. You follow the online assistance and still get: Complex object types cannot be converted to simple values.Here is the code, can someone help a guy out? What am I missing?<cfif IsDefined('form.evalgrid.rowstatus.action')><cfloop index="i" from="1" to="#ArrayLen(form.evalgrid.rowstatus.action)#"><cfquery name="updatevaluations" datasource="abcde">UPDATE evaluationsSET pridefslascore = '#form.evalgrid.pridefslascore#'WHERE evaluationid = #form.evalgrid.original.evaluationid#</cfquery></cfloop></cfif>Forever thankful for a solution.B.
http://leaguemanager.playerspace.com/json.cfm?json_type=league_roster&league=73&requesttimeout=99999&return_script=%2Fmanager_pro.cfm%2Fleague%2F73%2Faction%2Fmanageusers%2Fcontent_action%2Fleague_rosterThe page seems to just output half the intended data. Sometimes, if I refresh it, I can get it to output completely, but usually it just reaches a point and stops displaying and the loading circle in the browser disappears.Any ideas why?This is an AWS load balanced CF10 Server running Windows Server 2008
I have a file that queries orders and writes them out in xml to be polled by some software that reads the order into an erp system. It reads fine but I can't parse an xml reponse that will update order status with xmlParse , it throws an error. I get the software response xml with GetHTTPRequestData().content fine. I just can't do anything with it there. As soon as I add xmlParse it errors out. I can write out the response to a seperate file and work on it there , but it get's overriden on the next iteration.I'm looking for an alternate solution. Is there any way to create some code to "catch" the xml in the seperate file I write or post it to , but not have the the code that will update my status table overwritten each time the request is sent? This is not a web service , just plain xml with http post 's.Tks.
Hi,We have a ColdFusion (9.01) application deployed under WebSphere 7. There are some application credentials stored in a J2C alias that was configured using the WAS console. I would like to know if there is any way I can retrieve those credentials programmatically using ColdFusion.I found an example of how to retrieve them using Java which is currently not an option but I was wondering if the underlying objects can be accessed from CF.Here is the Java example:public static javax.resource.spi.security.PasswordCredential getJ2CData(String j2cAlias) throws Exception { String methodName = "getJ2CData"; javax.resource.spi.security.PasswordCredential result = null; try { // ----------WAS 6 change ------------- &nbs
I'll try to make it simple, but ask any questions if I need to explain further.I have a situation where fields in the database are datatype decimal. Some of these datatype fields are NULL, which is good.When other non-decimal datatype fields in the CFGRID are updated but the datatype decimal fields are not updated it is not passing NULL to the CFGRIDUPDATE. It appears that it is passing the following: ,,,,,, With no single quotes around each individual variable and even though that would appear to be NULL to me and there were no updates, it causes the error: Invalid data '' for CFSQLTYPE CF_SQL_DECIMAL. And yes, "Allow NULLS" is checked in the Database.Here is an example of the source code after the CFGRID is submitted to the CFGRIDUPDATEs. You can see that after 'CI' there are a lot of commas and no values because no values were entered but they are not recognized as NULL. [4063,'A053965','13-14 ','','','134
I have a form with a calendar at the top, below it is a list of items each with a check box. Here is a wonderful visual of it - CalendarCheckbox | Col | Col | ColCheckbox | Col | Col | ColCheckbox | Col | Col | ColI want it so you select the date and it gets passed into the database in the same row as the one (definitely one, multiple is better) that has been checked by the user.I was trying an INSERT INTO with a WHERE statement but apparently you can't do that. So if I can use a WHERE with INSERT INTO, how can I identify which row to insert the info? Currently it is passing the dates but it creates a new row.I didn't think posting the code is neccisary for this question but if anyone wants to see it let me know and I will post it. THANKS!
If you read an XML file from another site like this:<cfset myDoc=XMLParse("http://72.250.245.94/videoshare")><cfdump var = "#myDoc#">the UTF-8 coding won't be handled correctly, and you will have unexpected characters when you display the XML data.If you read the XML file like this:<cfhttp url = "http://72.250.245.94/videoshare" charset = "UTF-8" result = "rawdoc"> <cfset myDoc=XMLParse(#rawDoc.filecontent#)><cfdump var = "#myDoc#">The data will display as expected.
Hi - I was trying to use CFContent to serve a PDF . It worked fine in Firefox but not in IE 8.The problem turned out to be this code in our application.cfm (which we include alot)<!---prevents back button from keeping user logged in ---><!--- Do not use when serving files using CFCONTENT --- it breaks IE ---><cfheader name="Pragma" value="no-cache"><cfheader name="Expires" value="0"><cfheader name="cache-control" value="no-cache, no-store, must-revalidate, max-age=0">Simply using this code worked:<cfheader name="Content-Disposition" value="inline;myStatement.pdf"> <cfcontent type="application/pdf" file="#fullFileAndPath#" reset="yes"> I just thought I'd share this in case it helps others.
<cfset mystring ="Jonh, Doe"><cfset TheText = replace(mystring, ',', '<br>' , "ALL")><cfdump var="#TheText#">why the results shows Jonh<br>Doe instead of JohnDoCan anyone pls help?Thanks
On two occasions, someone has managed to insert what appears to be malware code into one of my includes. I won't post the actual code, but it consists of a CFHTTP tag that references an IP address, and a CFOUTPUT tag that outputs the value of the CFHTTP. The site is not tied to a database, we only use CFINCLUDEs to simplify global edits (we're relatively new to ColdFusion). The site is hosted by one of Adobe's recommended CF hosting services. Any thoughts on how someone could be adding this code and what we can do to stop them?
ColdFusion 10 Security Lockdown Guide is currently written for Windows 2008. Are there plans to update the document for Windows 2012?Will the new release of ColdFusion Splendor have a Security Lockdown Guide written for Windows 2012?
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.