Questions
Recently active
I need to pull a userlist for my web app, and that involves invoking a web service on the authentication server. I've managed to do just that, but the XML file I'm given to deal with looks like this: <?xml version="1.0" encoding="UTF-8"?> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <soapenv:Body><ns1:getAllUserInfoResponse soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="http://web.ws"> <getAllUserInfoReturn xsi:type="soapenc:string" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"> &lt;?xml version = '1.0'?&gt; &lt;USER&gt; &lt;ROW num=&quot;1&quot;&gt; &lt;USER_ID&gt;25214&lt;/USER_ID&gt; &lt;LOGIN_ID&gt;JDOE&lt;/LOGIN_ID&gt; &lt;NAME_LAST&gt;JOHN&lt;/NAME_LAST&gt; &lt;NAME_FIRST&gt;DOE&lt;/N
I have developed a number of extensive websites in Dreamweaver 3. I now want to shift over to ColdFusion Builder 3. How do I shift the Dreamweaver sites into ColdFusion 3?
Hi everyone.I'm trying to get 'name' from 'name@domain.com' using cf reg ex.I've got this so far #rereplace('temp.emailaddress','[^@]+','')#which is giving me @7431982.com - but I want the first part, can anyone point me in the right direction please?Thanks ever so much.Nick
We have a program that was wrote by a programmer whom is no longer with us. When I go to log in to the program for the first time, after I put in my username and password and hit sign in I receive a "404 - File or directory not found error." All I do is hit the back button and login again and it logs me in just fine. I noticed when the error appears I'm getting a CFID and CFTOKEN added to the end of the URL. When I'm able to login successfully it just takes me straight to index.cfmCan anyone tell me why its doing this and how to fix it? Its just annoying to have to login twice everytime. Thanks
I am unable to edit properly French accents (in templates coming from Dreamweaver) with CF Builder. I cant write HTML entities, but may be somebody has a better solution ?
I am fully aware that this is a tag adobe created using a flash interface.I also know that it does Not need to be nested inside of a torm tag. I need to capture theFile name and the path it took to be uploaded to the server so I can insert that into a database for search functionality.Thoughts?
When attempting to archive a log file programmatically using the archiveLogFile() method of servermanager is there a way to test the success/failure of the action. I triedadminObj = createObject("component","cfide.adminapi.administrator").login("topsecret"); serverObj = createObject("component","cfide.adminapi._servermanager.servermanager"); result = serverObj.archiveLogFile("logfilename"); writeDump(result); However, result is undefined.Thanks!
I have an external login service that I'm using to authenticate users. After logging in, I get an XML file from which I can pull things like user ID and rights.The login page redirects to an index page in another folder (which is protected by the authentication service) and on that page, I have a <cfif> statement that looks at rights.The rights returned are "J" (for judge) and "A" (for admin), which I'm setting as the session variable: session.rightsIf I do this: <cfif session.rights eq "A"> admin section <cfelseif session.rights eq "J"> judge section <cfelse> redirect to the login page </cfif> The else is what triggers. If I cfoutput #session.rights# I get J, but for some reason, J does not equal J. I've tried trimming it and everything, to no avail.Any ideas?
Making all in apache-2.0make[1]: Entering directory `./src/connector-source/native/apache-2.0'./apr/build-1/libtool --silent --mode=compile gcc -std=gnu99 -I./httpd/include -DHAVE_CONFIG_H -DUSE_APACHE_MD5 -I ../common -I /include -I /include/unix -DLINUX -D_REENTRANT -D_GNU_SOURCE -g -O2 -pthread -DHAVE_APR -I./apr/include/apr-1 -I./apu/include/apr-1 -DHAVE_CONFIG_H -g -O2 -pthread -DLINUX -D_REENTRANT -D_GNU_SOURCE -c mod_jk.c -o mod_jk.lomod_jk.c: In function 'init_ws_service':mod_jk.c:832: error: 'conn_rec' has no member named 'remote_ip'mod_jk.c:833: error: 'conn_rec' has no member named 'remote_addr'mod_jk.c:1106: error: 'conn_rec' has no member named 'remote_ip'mod_jk.c:1106: error: 'conn_rec' has no member named 'remote_ip'make[1]: *** [mod_jk.lo] Error 1make[1]: Leaving directory `./src/connector-source/native/apache-2.0'make: *** [all-recursive] Error 1
Our company has an application that use cfcompile -deploy targeting certain cfml file. Before update to CF 11 everything run fine. But now the cfcompile won't work.This is the command that our application execute :cfcompile -deploy "c:\inetpub\wwwroot\" "c:\inetpub\wwwroot\app\index.cfm" "c:\inetpub\wwwroot\app\index_comp.cfm"using CF10 cfcompile will successfully compile and generate file index_comp.cfm. When same command is used in CF11 cfcompile will produce error :java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at coldfusion.tools.CommandLi
I have a comments field from query result for report data source.Because it is a navrchar(max) field, the result can be shorter or longer based on the data users entered.I would like to have the text field and details band growth base on the data.Are there any property to change it at run time or I need write UDF to do the task?Your help and information is great appreciated,Regards,Iccsi,
The CF11 FAQ mentions "migration resources" and has a link but when you follow it, it doesn't take you to any migration documents.
Just so we don't get too far off track, keep in mind the code samples below aren't my true code. I'm stripping things down for illustration purposes only - I realize they're bad examples and lack CFQUERYPARAM. So, to give a little background first... I started my ColdFusion programming career over a decade ago building fairly large e-commerce applications. Not Amazon scale, but not mom-and-pop shopping carts by any means.In those days I often used CFTRANSACTION for situations where multiple INSERT or UPDATE queries relied on each other. For example, a form that inserts a new product into a database table, and inventory counts into a separate table.For example:<cftransaction><cfquery datasource="mydatasource" result="product_inserted">INSERT INTO products (sku, price, title)VALUES ('555-555', 2.50, 'Spider-Man T-Shirt')</cfquery><cfquery datasource="mydatasource">INSERT INTO inventory (product_id, inventory)VALUES (#product_inserted.IDENTITYCOL#, 50)</cfquery&
Hiwe cf 11 enterprise 64 bit installed at window 2008 R2 SP1. try to setup data source for ms. access. getting following error :-Connection verification failed for data source: SARSINFO com.inzoom.jdbcado.JdbcAdoException: could not load izmjniado.dll Can't load library: c:\program files\infozoom\izmjniado.dll The root cause was that: com.inzoom.jdbcado.JdbcAdoException: could not load izmjniado.dll Can't load library: c:\program files\infozoom\izmjniado.dllWhen we installed at 32 bit machine, it work.Pls.help.thanks,
In ColdFusion Report Builder, is there a way to shrink text to fit a particular area? (as opposed to stretching with overflow)Any help would be greatly appreciated!- Chris
Hi,On CF10 web application, I am using CFGRID to show a search result output on the screen. I found that depending on the number of records returned from the query, CFGRID is not showing any data on the screen. I have a query that returns more than 3,000 records with 80 columns and it does not show data on the screen. It may sound stupid to show such many columns on the screen but that's what the user wants. I have not tried paging with CFGRID but I just want to know if there's anyone who might have encountered the same issue and how they solved such an issue.Thanks.Pacita
Reading lines in a text file,Listing a text file , with value between ;sometime , there is no data between 2 ; which I need to know.In that case, (when there is no value between the delimiter) my array have a different length (smaller)Then the data order is not good.As I want to save in a DataBase, I do not know what data in what field number ?Thanks for any help,Pierre.
Hi ,I am required to install CFB 3 to support multiple users access on a development environment.Developers are working on a same server. Once the CFB 3 get installed, only the admin user can run the program but no other.Whenever the CFB 3 starts, it showed an error message below."Locking is not possible in the directory"C:\ColdFusionBuilder3\configuration\org.eclipse.osgi", A common reason isthat the file system or Runtime Environment does not support file locking forthat location. Please choose a different location, or disable file lockingpassing "-Dosgi.locking=none" as a VM argument.C:\ColdFusionBuilder3\configuration\org.eclipse.osgi\.manager\.fileTableLock (Access is denied)"Any clue on how to get this fixed.Thanks.Oli
Hello, I have a client requirement to install CF 11 Standard on Linux (Debian 7.x) with Plesk 11.x control panelDoes anyone have any experience with this? Is it a pretty straight forward setup process? I only know Windows/Coldfusion, so this will be new.Also, do the same issues still apply with differences between Linux/Windows with filename case. Is there a current document anywhere that will explain coding differences between the two OSsThank you!
I have following code for my cftextarea and try to make the height and width I need for the form for the users.For some reason, it does not change the size even I modify row and col parameters.Is it something I am missing to adjust the height and width of cftextarea?Your help and information is great appreciated,Regards,Iccsi,<td><CFtextarea name="MytxtArea" id="MyTextArea" row="6" col="10"/></td>
Hi everyone,First time caller here.About to get started on a project, but the Host has cf10.Adobe has cf11 Developer.Q : Is cf11 developer backward compatible with CF10 ?CheersBrett
I have following code to get an array from jQuery to pass MS SQL Server stored procedure to update my tables.Is it the right way to access array from passing jQuery function?Your help and information is great appreciated,Regards,Iccsi,<cffunction name="MyFunction" access="remote"> <cfargument name="MyData" type="any" required="true"> <cfif isJSON(arguments.MyData)> <cfset arguments.MyData = deserializeJSON(arguments.MyData)> </cfif> <cfstoredproc procedure = "MySP"> <cfprocparam value = "#arguments.MyData[1]#" CFSQLTYPE = "cf_sql_integer"> <cfprocparam value = "#arguments.MyData[2]#" CFSQLTYPE = "cf_sql_integer"> <cfprocparam value = "#arguments.MyData[3]#" CFSQLTYPE = "cf_sql_integer"> <cfprocparam value = "#arguments.MyData[4]#" CFSQLTYPE = "cf_sql_varchar"> <cfprocparam value = "
I Have a page that displays a series of available items for the public to purchase. each of these items displays an image of the product. My cfimage code is made to scale-to-fit the stored image. normally the displayed results will all shoe different products and their corps pounding images. When I use the code below all of my different products will show the same image instead of showing the images that are linked to each product via a file path stored in the database. Is there a way to set the "name="myImage" dynamically so that each image will display and scale properly?<cfimage source="C:\ColdFusion9\wwwroot\shotthp\#product.proimage#" name="myImage"><!--- Turn on antialiasing. ---><cfset ImageSetAntialiasing(myImage)><cfset ImageScaleToFit(myImage,182,"","highestPerformance")>
I need to query and get all records that have been updated in the past 15 minutes.Ive tried in CF and MS SQLHere is what I have that doesn't workSELECT * FROM job_clock WHERE Job_Time_Out > dateadd(minute,-15,CURRENT_TIMESTAMP)
I have this code for a generic template: <cfset fileName="c:\temp\wordTmpDoc"&randRange(1,100000)&".htm"> <cfif fileExists(fileName)><cffile action="delete" file="#fileName#"></cfif> <cfsavecontent variable="htm"><CFINCLUDE template="#incl#.cfm"></cfsavecontent> <cffile action="write" file="#fileName#" output="#htm#"> <cfcontent file="#fileName#" deletefile="no" type="application/msword">Note the CFINCLUDE. I also have another template that goes through generating the html in a cfsavecontent and at the bottom it has essentially the same code but uses the HTML generated on the page as the content for the document. The above generic version brings up MS Word but the content is the HTML code, while the page that has local cfsavecontent wrapping the HTML, the document displays properly.
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.