The official community for ColdFusion.
Recently active
Need to reinstall a server, but the file is not found, nor can I find it on Adobe's site.Please advise.
0down votefavoriteI have a cart I built years ago using Anuthorize.net AIM direct post. The site runs on the ReturnedValues and works great.The client wants to start saving credit card data for future transactions.I would like to continue using the same post page and just add the CIM script as follows: - Run transaction in AIM - If tranaction is successful run CIM script to save credit card and return the key for the card. - To use the saved card use CIM to run transaction with saved credit card data. - If transaction fails call the credit card entry page so client can update information and run AIM and then CIM in the update client mode.Here is my AIM direct post page and an example of how i work with ReturnedValues.<cflock timeout="30" throwontimeout="No" name="12345"> <cfhttp url="https://secure2.authorize.net/gateway/transact.dll" method="post"> <cfoutput> <cfhttpparam type="Formfield" name="x_login" value="mylogin"> <cfhttpparam
I am trying to setup a new site that is using absolute links.Every page I run gives me this type of error below (Could not find the included template /includes/..........) See below for full errorHow do I correct this?In the CFadmin > Server Settings > Mappings orIIS mappingsorsome code in application.cfcCould not find the included template /includes/head.cfm.Note: If you wish to use an absolute template path (for example, template="/mypath/index.cfm") with CFINCLUDE, you must create a mapping for the path using the ColdFusion Administrator. Or, you can use per-application settings to specify mappings specific to this application by specifying a mappings struct to THIS.mappings in Application.cfc. Using relative paths (for example, template="index.cfm" or template="../index.cfm") does not require the creation of any special mappings. It is therefore recommended that you use relative paths with CFINCLUDE whenever possible.
Does ColdFusion 11 Supports SQL 2016 and are they change CF code changes to be made for SQL 2016?Any documentation would really helpThanks and appreciate your response
I have the following query that calculates accrued leave time for the month:SELECT username AS ltUser, CASE WHEN FLOOR(DATEDIFF(NOW(), hiredate) / 365) < 1 THEN '0' WHEN FLOOR(DATEDIFF(NOW(), hiredate) / 365) <= 5 THEN '14' WHEN FLOOR(DATEDIFF(NOW(), hiredate) / 365) >= 6 THEN '18' END AS ltHoursFROM tblusersWHERE cl_ccrual = '1' AND hiredate IS NOT NULLORDER BY hiredateI then display the results on my page like this:<form action="" method="post"> <table border="1" cellpadding="1" cellspacing="1"> <tr> <td><input type="checkbox" name="checkbox" id="checkbox" title="Check this box and click Submit button to add Accruals to database." /></td> <td>ltUser</td> <td>ltHours<
Server 2012IISCF2016Comments on stackexchange seem to indicate I need to mod cgi.path_ info. Is this true? Where is this file?Can robust reporting be enabled on a test server with no license? I have a license for the production server.Thanks,Harry
Is there a way to disable the timeout on the Coldfusion administrator / monitor applications? We are attempting to troubleshoot performance issues on our production server and the monitor times out every 10 minutes or so. We are running Coldfusion 11,0,10,300066
I have Coldfusion 11 web application that all of a sudden is returning the following error message for certain CFC's. Not sure what has triggered this error suddenly occurring as we had not put through any code changes. I can't work out what I need to to do resolve the error. Has anyone seen the following error $func.... null error before and can explain what it means and what best to check/do to resolve?cfeway2ecfc2104167940$funcPROCESSPAYMENT null <br>The error occurred on line 310.Thanks,Sebastian.
Hello, I am running Mac OS X and I am trying to connect MySQL to Coldfusion but every time I am going to create a datasource in coldfusion I get the following error..... Connection verification failed for data source: MySQL_mysql java.sql.SQLException: No suitable driver available for MySQL_mysql, please check the driver setting in resources file, error: null The root cause was that: java.sql.SQLException: No suitable driver available for MySQL_mysql, please check the driver setting in resources file, error: null Just a little background, I have install CF with the multiserver option using JRun4 and I am able to get CF up and running but after placing the connector for MySQL under the /lib folder under JRun4 folder I am not able to connect and I get the error above. Then I tried to place the connector under the /server/lib under JRun4 folder but still the same issue. Also I am running MySQL 5 and I am using the connector for java version 3.1.10, and I also have tried the version 5.0
I have performance issues when CF 2016 is installed on a Windows Server 2012 virtual machine (Hyper-V).The performance issue is that the page is loading very slow compared to an installation on a simple Windows 10 computer with i5 CPU.Comparison (all done with initial CF2016 settings):- Hyper-V Windows Server 2012 64bit, 16GB RAM, 8 virtual CPUs loading of a page approx. 5000ms- Physical Windows Server 2016 64 bit, 128GB RAM, 24 CPUs (I know its not yet supported, but I made a test) same loading time, approx 5000ms- Physical Windows 10 64 bit, 8GB RAM, i5 CPU loading of a page approx 2500msFrom my point of view it's seems there are kind of virtualization issues.Does anyone know which settings I need to tune to get same/better performance on a virtual server machine as on a simple win10 machine?Are there any recommendation how to setup the virtual env
Help! I have been silly to update my Mac to Sierra (because Dreamweaver upgrade required it) and my Coldfusion 10 stopped working (and MAMP) so I have uploaded Developer edition ColdFusion2016 and cant get Data Source connection to my local MySQL database ( although it works fine with MAMP and MySQLWorkbench). I have tried with MySQL 5 and JDBC drivers and I get the same message about not being able to find configuration template named 'coldFusion'. Please help - it is for local development.Connection verification failed for data source: doctorjava.sql.SQLNonTransientConnectionException: Cannot load connection class because of underlying exception: com.mysql.cj.core.exceptions.InvalidConnectionAttributeException: Can't find configuration template named 'coldFusion'The root cause was that: java.sql.SQLNonTransientConnectionException: Cannot load connection class because of underlying exception: com.mysql.cj.core.exceptions.InvalidConnectionAttributeException: Can't find configuration te
I usually use CFFUNCTION for things like this, but in this case I have existing code. The code builds a self-expiring "New" tag for new (or updated) items on our website. The code looks like this:<cfscript> function newtag(type,date){ if (type IS "n") msg = "New: "; else if (type IS "r") msg = "Revised: "; else msg = "Updated: "; if(datediff("d",date,now()) lt 90) WriteOutput(' <span class="hilite">' & msg & date & '</span>'); }</cfscript>It works well, but it's hard-coded for 90 days. While this works most of the time, I have occasionally been asked to extend it by 30 or 60 days.I've tried adding a 3rd parameter for the expiry, like this: function newtag(type,date,exp){But that ends up making the 3rd function required, and I don't want to have to sift through 70,000+ pages to update every place t
Is CF 11 Standard edition currently available for purchase? If so what's the price and where can I get it ?
I first tried to install update 11 for CF11 using the administrator, but kept getting an error that the restart was taking too long. So I ran the update using the manual command and everything looked like it ran fine. But when I checked the Settings Summary in the Administrator the server details look like this:Server DetailsServer ProductColdFusionVersion11,0,10,301867EditionEnterprise Operating SystemWindows Server 2012 R2 OS Version6.3 Update Level/C:/ColdFusion11/cfusion/lib/updates/chf11000011.jar Adobe Driver Version5.1.3 (Build 000094) The Update Level looks good, but the version is wrong. I tried to uninstall update 11, but it doesn't think it's installed. I checked all the files that were suppose to be updated by update 11 and they all look like they have. Anyone have any ideas what might have happened and how I can fix this?Thanks
During a normal FTP session on the AS400, I am able to put a file onto the AS400 and use a "Call" statement to execute a program to process a file I've just put on the server.I do not see a "call" action available for cfftp? Is there a way to accomplish the program execution described above through the cfftp session?Or is there another way to call the program on the remote server by way of Coldfusion?
Well, it is working, but the SUBMIT and CLEAR buttons are inverted.I created a hotspot quiz and I want a "TA DA" sound to play when the user submits a correct answer. After over an hour of trying to figure out why noting happened when I hit submit after selecting the correct answer in the PREVIEW mode, I clicked on CLEAR and "TA DA" (pun intended), the music played.So, is this an issue of the SUBMIT and CLEAR buttons being mixed up or do I need to do something else to get the music to play at the desired time.Incidentally, I removed the CLEAR button altogether and nothing happens when I click SUBMIT. The sound only plays when I click CLEAR. Am I missing a setting somewhere? Thanks in advance!
Hello, all,This has created some major concern among the upper echelons. In the web logs, we are seeing something very strange, and we need to know if this is an attack on some sort of CF weakness.Someone is manually accessing a certain section of the website (this is not a script), filling out a form (all our forms are POST) and submitting it as a POST, but all of the form variables are also being appended to the URL as if it were a GET request.Sometimes, the POST is submitted to a CFFUNCTION within a CFC (ie, '/components/action.cfc?method=processForm&phone=555-555-1234'), sometimes it is submitted to the components folder, but no CFC is named (ie, '/components/?phone=555-555-1234'), sometimes it is submitted to the index.cfm file that contains the form (ie, submitting to itself.)The higher-ups are concerned that this might be some sort of new attack. I must admit, it has me wondering, myself.Has anyone seen/heard of anything like this, before?V/r,^_^
I'm trying to migrate from CF9 to CF2016. It is going pretty smoothly except for a couple of things.Keep in mind, the application logic is largely written in Java. CF is used simply to load and call Java objects and generate UI.The problems I've encountered seem to be related in that CF2016 can't seem to find a java method (in our library) that matches the call signature or vice-versa.1) ArrayAppendThis works in CF9 but not in CF2016<CFSET Session.Items.ArrayAppend( Session.Items, Session.SubItem)>Error in log file is: The ArrayAppend method was not found.Either there are no methods with the specified method name and argument types or the ArrayAppend method is overloaded with argument types that ColdFusion cannot decipher reliably. ColdFusion found 0 methods that match the provided arguments. If this is a Java object and you verified that the method exists, use the javacast function to reduce ambiguity. In our library, SubItem is a subtype of Item.To work around it, I
Ignorance is not always bliss.I had a hard drive failure on my iMac. As it was dying I offloaded all my key software packages onto another hard drive. Unfortunately I forgot to deactivate the Adobe CS-5 Programs...I do have the discs and KeysIs there anything I can do to reactivate these programs?Al McCormickalm@mostvaluableplayer.biz
Hi,I'm using cf2016. I try to use proxypass but request from client, they have a huge application on /var/www/html. So they want those application can be execute from cf. I try to use jap port but from error log apache i saw proxy null error (ip_address). I think missing something. Looks like it cannot pass to apache httpd. Please advice what i need to do.OS: Centos 6.8 x64Thanks.
Hi,Is it possible to migrate it? Currently running on linux. If possible please show me the way or any related document.Thanks.
Hello Guys,I need a help, to solve my problem!How I generate a excel sheet with the word in vertical align?To generate I used the cfcontent tag, but when will generate the sheet, the words inside excel cells rotate to a horizontal align.Below, follows the example of the excel sheet, which i need do.Best Regards,Fabiano Magno Pechibella
hi all.I'm trying to install on my laptop CFBuilder 2016 linux 64-bit edition(Standalone option). after installation, i can't find an CFBulder executable file. in my guess, ColdFusion installation file failed to create an CFBuilder executable file.here is my installation log file and plz see my dicrectory image.ironically uninstaller works fine very well.what should I do? sorry my poor English.Log : http://www.nooree.com/Adobe_ColdFusion_Builder_2016_Install_01_21_2017_00_20_37.log
I'm trying to venture into AJAX a little, and am facing some obstacles. First, for full disclosure, we're running Coldfusion 7 (I know, I know...).I set up my cfc page (16_echAjax.cfc) with the following basic code:<cfcomponent output="false"> <cffunction name="helloWorld" access="remote" returntype="string" output="false" > <cfargument name="name" type="string" required="no" /> &
I know how to get around this, but I thought it was really odd and wonder if anyone can explain it.<cfoutput>#replace('$1,000','$','','all')*100#</cfoutput>This was in a system that processes payments. It is just supposed to determine how many cents are in the total. I would expect this to return EITHER 100000 or an error because the comma makes it an invalid number format. Instead, it returns 4273500! What the heck is that?I confirmed this on CF9, CF10, and CF11. Lucee returns an error ("Can't cast 1,000 to integer"), as I would expect.Of course, it was poor programming to allow the comma to come through to begin with. That has been resolved, but I am still wondering what CF is even doing to get that number.By the way, someone donated $1,000 to a charity through this system and was actually charged $42,735!
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.