The official community for ColdFusion.
Als letztes aktiv
Is there a way to turn off the weekly reports?
I upgraded to CF10 from CF8 and moved my websites over to the new server for testing. The main issue seems to be directory related. I built the applications in dreamweaver using developer toolbox to augment my code writing skills. That said, I can't get the admin pages to render, I only get the 404 or 500 error. The pages are there and the website itself runs correctly i.e. it pulls data and displays correctly. The update pages in the admin directory are the problem. I am curious if CF10 changes how it allows includes or directory structure.Website rootjakartaCFIDEincludesimagesadminmiscindex.cfmAdmin uses files from includes directory.... Works fine in CF8. 'NO GO HERE'Access Data Driver working fine.... Well except that I can't get the update pages to display.I have the virtual directories for jakarta installed in the root also. Any ideas on where to start looking. debugging pages aren't displaying either.
ColdFusion 10 Enterprise server running on Windows Server 2008 R2.Scenario 1:Established new web site and pointed it to the CF site files, setup proper mappings in CFIDE Administrator, everything works perfectly. Scenario 2:Because I need multiple SSL sites on this server, I needed to move the CF site under the Default Web site as an app/VD. Created the site/app and pointed it to the same CF site files in the same folders. Created Virtual directory JAKARTA and pointed it to: C:\ColdFusion10\config\wsconfig\1Accessing site throws 403. Analyzed some logs and traces and it looks as though it is failing on the ISAPI redirect or related file access thereof. Again, same files, same folders, one as website (works), one as Virtual directory/app off Default Web Site (does not work). Both the web site and the app were assigned the same App pool.I provided the necessary permissions to the IIS_IUSRS group on the folders that make up the site, and also the IIS APPPOOL running the site.I then gave t
In the example below, the <cfclient> tags are red, but not for the <cfinclude> tag.<cfclient> <!--- All cfclient code to creat dynamic HTML and interface with data access CFC is in the following included file ---> <cfinclude template="index_include.cfm" ></cfclient>Similarly, the <html> tags are blue, but not the <head> tags<html> <head> <META HTTP-EQUIV="CACHE-CONTROL" CONTENT="NO-CACHE"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <link rel="stylesheet" href="css/jquery.mobile-1.4.2.min.css" ></link> <script src="js/jquery-2.1.0.min.js" ></script> <script src="js/app.js"></script> <script src="js/jquery.mobile-1.4.2.min.js" ></script> <style > table th { text-align:left; } </style> </head></html>
We use the cf binaryencode function to convert a binary file to a base64 string that then is inserted into a coldfusion structure. Then we use the serizlizeJSON function to convert that structure to JSON.When it fails we get this error:JsonParsingError - Failed to decode VALUE_STRING as base64 (MIME-NO-LINEFEEDS): Illegal character 'ﻘ' (code 0xfed8) in base64 content at [Source: java.io.StringReader@192fd063; line: 1, column: 12229]Using the same code and the same file works correctly in CFMX 9.We narrowed down to the serializeJSON function by manually creating the JSON string and bypassing the serializeJSON function completely.Running CF11 Update 5 did not solve this either.Anyone have any ideas on how to remedy this?thanks!- Alex
Following an installation guide from Adobe, I installed ColdFusion 11 Developer Edition on Windows 8.1 that has IIS 8.5 installed. I've all the required features for ColdFusion enabled on IIS 8.5 as shown in this figure.The installation created a virtual directory CFIDE in IIS but it did not create the physical directory the virtual directory points to. In IIS when I click on the virtual directory CFIDE created by the ColdFusion installation (or CF Web Configuration tool), I get the following error:I then re-ran the ColdFusion Web Configuration Tool to first remove the IIS configuration and the add it again. But still the same issue. How can I remedy the issue? Thanks..Nam
I have a cfchart line chart in ColdFusion 11 which has value has zero for some months (jan to Jul) as shown below :However in the graph value 0 is plotted . I need the graph to start displaying the plotting from where values are greater than 0. the same was working in ColdFusion 7 as shown below(red line):
I am working on a real estate application. I am having difficulty with the pulling down the information from my MLS Server (Hawaii in case your wondering).I have looked through the site and have played with the different snippets of code that are on different sites and have played with error after error. Is there anyone out there that can guide me in the right direction?
We regularly have to run webinspect scans on our CF servers. Recently, we started getting CSRF findings on both our new CF11 servers as well as our one remaining CF9 server. After doing research, it appears that with CF10 and later, there are tags to remediate this. My questions are:- is this the only method to remediate? Are we really going to have to add this token logic to every form that the scan finds, which could be hundreds?- is there not some administrator parameter that can remediate this across the server?Thanks in advance for any assistance...
I have a database table where users have indicated their interests, and I'd like to understand the simplest way to generate a graph of the data.Most of the data in this survey was gathered in the form of checkboxes, and in the database I entered a "1" if they checked the item, or a "0" if they didn't. So the table might look like this:field valueapples 1oranges 0pineapples 0bananas 0dogs 1cats 0birds 0The user above only likes apples.(for fruits) and only likes dogs (for pets)Is there a simple way for me to display the results for all users in the database
Hi All,We are creating a query using <cfset QueryAddrow(qryMasterFile) />At the time to insert the data to oracle db we do:<cftransaction action = "begin"> <cftry> <cfquery name="deleteMasterFile" datasource="#application.str_dsn#"> DELETE FROM master_file WHERE my_id = <cfqueryparam cfsqltype="cf_sql_integer" value="#arguments.my_id#"> </cfquery> <cfoutput query = "qryMasterFile"> <cfquery name = "insertData" datasource = "#application.str_dsn#"> INSERT INTO MASTER_FILE ( list o
The error I receive is "•Invalid extension of the file name. Valid extensions are :log,txt. I did read that in such instances that I am to work with c:\ColdFusion 11\cfusion\lib\neo-cron.xml. I would appreciate any insight that can be provided on working with this xml file.
With sandbox enabled, the following error appears:Severe: error deploying web application archiveJava.lang.illegalstateexception: containerbase.addchild: start: prg.apache.catalina.lifecyclexception: failed to start componentIf sandbox is turned off, the archive deploys with no problem.
Hi,We have a requirement to extract the content of an uploaded PDF and then show it in a text area with the same formatting. Our application runs on CF10. We used cfpdf however the extracted text is a single paragraph with No formatting . Is there any way in coldfusion to read pdf as text retaining the source formatting ( 100% accuracy not expected) .Note:1. We tried itext and it works very well however it comes with a licensing cost which I dont want to spend as I'm only going to use this single feature from the budle that itext is providing.2. Tried PDFbox but the formatting is not retained.Thanks,Devlosh
I successfully moved from CF9 to CF11 on Windows 7 environment with no problems. However, I'm trying to move from CF10 to CF11 in another Windows 7 machine but cannot. After a successful install of CF11, I'm still actually running 10,0,0,283922 as confirmed with a <cfdump var="#SERVER#">. I'm still mapped to the CF10 admin, etc. Does anybody know the best thing to do here? Many thanks for your help.
I have 3 <cflayoutarea> tags within like this: <cflayout type="border" fittowindow="true" > <cflayoutarea name="headerArea" align="center" position="top" size="75" overflow="hidden" style="letter-spacing:10px; font-size:34px;"> </cflayoutarea> <cflayoutarea name="contentArea" align="center" position="center" style="border: 3px green solid;" > <img src="img/hd04.jpg"/> </cflayoutarea> <cflayoutarea align="center" position="bottom" size="75" overflow="hidden" style="bottom:0px; height:100px"> </cflayoutarea> </cflayout>My issue/question is as follows:How do I make the center <cflayoutarea> take up 100% of the remaining height? In most browsers, the center <cflayoutarea> is too large and scrolls. Odd
I am using ColdFusion 9 version 9,0,2,282541. I do not have the option to add JVM parameters from the administrator console as the option "Java and JVM " is not available. So if i want add parameters how to proceed furthur?.If we add it in the JVM.conf in the server is that enough or what else has to be done.
Estou rodando uma procedure meio lenta que gera um relatório, ou seja ela retorna vários valores, e está estourando um erro de timeout: The request has exceeded the allowable time limit Tag: CFSTOREDPROCJá tentei utilizar <cfsetting RequestTimeOut='100000' > na página mas infelizmente não funcionou.Como estou utilizando a versão 7 do Coldfusion a tag timeout ainda não funciona para a cfstoredproc. Acredito que isso só funciona na versão 10.Minha pergunta é, o que fazer??? Além de tentar otimizar a procedure, tenho mais alguma opção/alternativa/solução ?
Hi. Is there a way to set timeout for the tag <CFSTOREDPROC>? I mean, for cfquery, it has a parameter timeout in seconds. How about for CFSTOREDPROC? I tried using <cfset startproc = GetTickCount()> <cfsetting requesttimeout = "20" /> <CFSTOREDPROC PROCEDURE="fsdfsd" DATASOURCE="sfsds"> cfprorparams here......... </CFSTOREDPROC> <cfset proc_execute = GetTickCount() - startproc > proc_execute returns about 30,000 ms which is 30 s. But the timeout needs to end it in 20 s. It seems requesttimeout doesn't include the time it took for the stored procedure executing. That is why I'm looking for a timeout in cfstoredproc. Any suggestions? I don't wanna go to the Oracle server and set the timeout settings. I want it done in Coldfusion. Thanks.
I am experiencing an error trying to run the following ColdFusion code:<cfif IsDefined('FORM.add_button.y')><cfquery datasource="#sDSN#"> INSERT INTO lcf_event(event_id, event_date_time, title, description, type, use
Hi,Im thinking of enabling the alerts on our production servers and would like to clarify something.Will enabling the Alerts for (Server Slow, Unresponsive Server, JVM Monitoring) affect performance in a negative regard? Would like to hear from guys experiences on thisAppreciate any responses
Hi. I just have a simple drop down menu. I would just like to have one of the options be a link. How do I do that? I thought I found something yesterday that would work, but it doesn't. Here's what I found:<select name="Socket_Adapter_Choice" onchange="location = this.options[this.selectedIndex].value;"> <option selected value=""></option> <option value="Add_Socket_App.cfm">Add Socket Application</option> <option value="Add_Adapter_App.cfm">Add Adapter Application</option> </select>Thanks.Andy
I have installed CF9 with many files deployed on my server, now I need to migrate to version 11 as I do not have Enterprise Edition I can't do the migration through CAR files. I wonder if there is another method to migrate files and settings from the server. or if the syntax changes that between these versions.
By selecting this option, you can choose the IP address through which you can access the Add-on Services (PDFG/Solr)...I tried 127.0.0.1 and I got an error for using a local IP address! Why?
<script> function myFunction() { document.getElementById("demo").innerHTML += "<select><option value='1'>option1</option><option value='1'>Option2</option><option value='1'>Option3</option><option value='1'>Option4</option><option value='1'>Option5</option></select>"; var select = document.createElement("select"); //replace this second dropdown with the coldfusion query in below place var option = document.createElement("option"); option.value = "SubOption1"; option.text = "SubOption"; select.appendChild(option); document.getElementById("demob").appendChild(select); return false; } </script> The above javascript shows dropdown with 5 options, when any of that is selected, the second dropdown shows and list "SubOption1" as the second dropdown options. My question or where i need further help is, i have a coldfusion queryHide &n
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.