750 Topics
Hi, im new at coldfusion and i recently pay for a hosting with coldfusion 9, i customize my db,dsn and upload all the site... but when i try to run the site i get this exception : coldfusion.runtime.CustomException: Unable to initialize AssetNow NX at coldfusion.tagext.lang.ThrowTag.doStartTag(ThrowTag.java:142) at coldfusion.runtime.CfJspPage._emptyTcfTag(CfJspPage.java:2722) at cfApplication2ecfc1801135535$funcONAPPLICATIONSTART.runFunction(E:\Domains\rivi eramayarent.com\wwwroot\Application.cfc:35) …
CF9: I have a cfgrid (html) that contains a number of fields including "state" and "county". County is selectable/editable, 'state' is not. I want to display the State column as a normal string but I want to make the County column a selectable combo/drop-down box. I have made comboboxes inside …
hi i'm working on airline resrsvation system and i have no idea to make the design for it i need helping please
Hi guys, Does any body know of a good Quick ColdFusion Reference on the App Store.
[code] Federal Projects: <cfselect name="AdminID" bind="cfc:folder.components.forms.getProjects()" display="ProjectName" value="AdminID" bindonload="true" /> Administrators: <cfselect name="AdminName" bind="cfc:folder.components.forms.getAdminInfo({AdminID})" display="FullName" value="PrincipalID" /> [/code] The Code above queries a cfc and returns the results to the second cfselect. My question would be how to return the result to a cfinput box? Is that even possible.
[code]<cfquery name="findQtrs" dbtype="query"> SELECT DISTINCT DATEADD(qq, DATEDIFF(qq, 0, event_datestart), 0) as SQtr, DATEADD(qq, DATEDIFF(qq, -1, event_datestart), -1)as EQtr FROM eventData ORDER BY SQtr ASC </cfquery>[/code] when I run the above I get error in syntax of '(' looking for a from. However, when I run that exact query in SQL …
I've started a new application in Coldfusion using the ModelGlue 3 framework. For some reason, the "defaultType" on my event-handlers is not working. Here is a snippet from the modelglue.xml file... [CODE=xml] <modelglue> <controllers>...</controllers> <event-types> <event-type name="templateMain"> <after> <results> <result do="view.template" /> </results> </after> </event-type> </event-types> <event-handlers defaultType="templateMain"> <event-handler name="dashboard"> …
Seems like this should be straightforward... I have a cfgrid that allows a user to insert a new row (insert='yes'). One column in the cfgrid is hidden but carries the uniqueID. Upon updating changes back to the table in the db, I need for that field to be populated w/the …
Hello everyone. As the name suggests i am trying to figure out in CF9 over MySQL how to send multiple emails based on selected records from a grid. I have a table called sstblemailnewmembers this has fields: fldemailid (Int + Auto Incr) fldemail (TEXT) fldsent (DATE) CHECKED (SET 'true','false' DEFAULT …
I have an update page with a cfselect populated from a query. I need the selected value to be = to a value from a different query. I can only seem to get the first item in the cfselect to display when the page loads, making me think something is …
A long time ago I used to do website development using ColdFusion and MS SQL. I still do website stuff for fun and occasionally for contract work. I feel that the CF platform is antiquated and I'm looking to switch to something else. I heard Ruby is pretty cool. Would …
could someone please let me know the encryption level of the encrypt function of coldfusion.... as far as i know it supports onjly 32 bit encryption...are there any chances of it supporting any other encryption levels.... has anything happenend in coldfusion7?
I am getting the following error when trying to run a index.cfm file. [CODE] Could not find the included template /config/_errorMap.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 …
Hi, I am getting one error continuously and recorded in my application log cfcache could not retrieve the page content. HTTP status code '401 Unauthorized' That is the description of error I searched on the net for solution/help but could not find anything useful. Thanks in advance for any suggestions …
Hi everyone! I need some help please, i've been trawling the net for hours now and can't find what i'm after. Does anyone know how to either return an xml structure or create an xml doc from a cfdirectory query so i can use it in a Flex tree? Any …
Hi, I would like to be able to schedule cfmail at random times, but I have the following issues: 1. Our hosting service will not allow cfschedule. However, I can schedule an event through their control panel but ... 2. The message portion of the e-mail changes, and is submitted …
I have a website that was developed in coldfusion, I want to add a link to twitter on the homepage of my website. I want to add it in the bottom panel of homepage, hoe do i do that ?
I am trying to read some data from an uploaded Excel file through ODBC. I have the file uploaded properly, and the ODBC socket connection made. But if i grab data and output, all of the Chinese characters are blown out. My code is as follows: [code]<cfquery name="Test" datasource="DataSource"> SELECT …
i have cold fusion running on win serve 2003, it was running fine until i set a new modem/router. i had to change my server IP to get the server working on the LAN but now i cant see the coldfusion site that was running fine b4 the switch. i …
Hi, We are having memory leak/performance issue/timeout. we have checked and tuned db and all our queries. The configuration for our server is as follows. OS - windows 2003 SP2 CPU - 8-way 2.66 ghz intel Xeon(R) X5355 @ Memory - 16GB I like to know for the above server …
everything was working before, now i keep getting the following error: FILE specified in CFHTTPPARAM tag not found someone please help. my code looks like this: [CODE] <!--- Upload the file to the server ---> <CFFILE action="upload" filefield="img" destination="#ExpandPath('../img')#" nameconflict="makeUnique"> <cfhttp url="http://www.xxx.com/admin/upload-size.php" method="post"> <cfhttpparam type="formfield" name="bThumb" value="2" > <cfhttpparam type="file" …
Anyone know of an easy program to create forms?
My problem is strange. I have added a new webservice(Method with access="remote") to my existing webserice file(CFC). But, when I try to invoke it, browser tells me that it unable to find the webservice. But when I add the same body of code in an existing webservice, it works. I …
Could someone please tell me if there's a way that I could insert the time of day into a calendar that I created using CF. I can post events and I know how long they last, but I have not been able to post the time of the events (as …
Good Morning Everyone! I'm trying o turn my machine into a development station. I would like to install CF Server, with Apache and IIS. I'm Using widows 7 on a 64bit machine. Is here any certain order on what need to be installed first? Can someone walk me through the …
I want to know about Cold Fusion, Is cold fusion can be alternative of ASP, JSP, PHP. If answer is yes then On which server Cold Fusion files executes. I have not seen any website with this extion (.cfm).
I am using Ben Forta AutoSuggest example. I have the autosuggest working but I need to get another record out of the database to send the user to the right url. I don't know how to do this, can someone help me out? CFC: Code <cfcomponent output="false"> <cfset THIS.dsn="myprod"> <!--- …
My CF8 application loses the application scope randomly.It is set to expire in 8 days. In the middle of the day while users are working it starts throwing an error the application variable is not found. Any suggestions would help.
Hi trying to revise a web page by adding a filter using checkboxes, the page does a search but we want to add additional functionality. How can I do this using Coldfusion 7 and select boxes?
hi, I'm working on an admin page for a department in my school. I have a database of reservations for rooms in which each event has a distinct ID called "confID" Each event or confID often has multiple dates (dateOf). I need to list out the reservations for the admin …
[CODE] <cfldap server="my.ldap.server" PORT="389" action="query" name="GetEmployee" start = "cn=users,dc=directory,dc=school,dc=org" attributes = "cn,sn,uid,givenName,mail,position,telephonenumber,memberUid" username="cn=username" password="pass"> [/CODE] When I run my code, I get an error. First is the code correct or do I not have the correct permissions. [code] Authentication failed:[LDAP: error code 49 - Invalid Credentials] [/code]
Hi all, i have an application completely coded in coldfusion V5. i now need to upgrade my server setupn to support coldfusion V9. Can anybody highlight the effort involved in making changes in the existing application code.Also, is there any ide which can speed up the process. I am looking …
Does anyone know if it is possible to format the Excel spreadsheet (dynamically created using ColdFusion and pulling from a MySQL database) to have the Excel file automatically set to landscape, rather than portrait for printing. My client wants that Excel spreadsheet formatted for him. I have the borders and …
Hi My application is running on Windows Server 2003, Coldfusion MX 7, IIS6. I am trying to process a mail merge from a SQL Datasource to MS Word using cfobject and com. Everything processes fine, the merged doc is created and saved to the hard drive, however, as soon as …
Hi, I would like to search one field in database with multiple words. Also i will allow searches for example : a or cs....(one,two characters). My code: [code] <cfparam name="URL.NAME" default="1" type="Any"> <cfquery name="search" datasource="datasource"> SELECT * FROM search WHERE NAME LIKE ="%#URL.NAME#%" ORDER BY DATE DESC </cfquery> [/code] this …
Hi all, I am working on an interface that communicates with a PostgresSQL to create and grade a multiple choice test. The steps go like this: 1. Get user information 2. Set up a record of the user's test in the database 3. Pull in questions and possible responses from …
First I run a simple query to get the max ID from the table, which returns a number 10284. To which I would like to add a randomly generated number. So I get a number like '2' and it adds it and I get 10287 - which is INCORRECT! I …
Hi all, We are currently migrating our coldfusion mx 7 to a new environment server. Can anyone give some guidelines on how to do this? We tried simple copying of the files from the old server to the new server, but we encounter lots of errros. I wonder if the …
Hi there, I am running a ColdFusion server on a VPS to HostMySite.com and lately we are having strange problems with it. Every few minutes the server is not responding even if we restart the services - IIS and ColdFusion - and even the whole system. HMS guys investigated the …
Small design company looking for CF tech part-time. $30 to start. MySQL data bases are used. Grow with us and get in on the ground floor. Great 2nd job or filling down time. Email us. Thank you. :cheesy:
Hello Everyone, I'm actually having problem on my XP IIS, I copied new website but it wont work while all others are working fine. I have created new virtual directory but still now working. Some say to create new web site instead but It won't allow this option. When Right …
Hi again, Okay now I have a Coldfusion question, I have written a user defined function in coldfusion: [code=coldfusion] <cfscript> function isSqlInjection(str) { .... } </cfscript> [/code] Now I am a complete newbie to coldfusion and don't want to have to include this function in every page when I have …
Friends, I have data table which contains dates and states. Here is the sample. Date | State 1/23 NV 1/28 PA 1/29 NY 1/30 NY 2/1 NY 2/3 TN 2/4 TN I want to display them in ranges by states. Like 1/23 NV 1/28 PA 1/29 - 2/1 NY 2/3 …
Can someone tell me why this code is not displaying the "time" field in the table? I cannot figure it out. [CODE]<tr> <CFQUERY NAME="getAllTechsWeeklyActivity" DATASOURCE="VEHSALES"> SELECT date, time, DatePart(ww, date), datepart(dw, date) AS weekday FROM service_tech_activity WHERE DatePart(ww, date) = DatePart(ww, '#DateFormat("#editdate#", "yyyy-mmm-dd")#') AND DatePart(yyyy, date) = DatePart(yyyy, '#DateFormat("#editdate#", "yyyy-mmm-dd")#') …
I just loaded Coldfusion Builder and Cold Fusion Server 9.0. Haven't touched this since cold Fusion 4.0. Anyone out there could tell me how to populate the Server Settings fields coming from Cold Fusion Builder would be greatly appreciated: like server name, hostname, Webserver port, context root, application server name, …
Hello everyone. I am Christos and i am a web programmer from Cyprus. I am working with CF and doing a little bit of WordPress on the site. I am 33 year old and i like listening to rock music and play a little bit of games.
Hi, I am currently in the process of building na dlaunching a site that is focused around media uploads and streaming, and am looking for ways to optimise this process for end-user speed and security. Currently am on shared hosting with dailyrazor.com who seem to be ok, little unstable and …
I am trying to find memory leaks in my application. I added -Xrunhprof arguments to the java arguments. When I try to restart the service it times out. This is the new argument that I added: -Xrunhprof:cpu=samples,file=java.hprof.txt ******************************** java.home=C:/JRun4/jre java.args=-server -Xmx512m -Dsun.io.useCanonCaches=false -XX:MaxPermSize=128m -DJINTEGRA_NATIVE_MODE -DJINTEGRA_PREFETCH_ENUMS -Dcoldfusion.rootDir={application.home}/ -Xdebug -Xrunjdwp:transport=dt_socket,server=y,address=28999,suspend=n -Xrunhprof:cpu=samples,file=/temp/java.hprof.log ******************************** …
I've installed the development version of CF9 on my PC and checked that all the relevant services have started. I followed tutorials on which check boxes to tick during the installation. However, I keep getting the message "This link appears to be broken" when I launch a web page in …
Good day everyone. I'm hoping someone can point me in the right direction. I've been using Coldfusion for awhile, although I admit, I'm not a master at it. I'm pulling my hair out on a project I'm hoping someone can shed some light on. I have a table in my …
The End.