The official community for ColdFusion.
Nyligen aktiv
Hi there! We are running a CF8 Enterpsise on an older root Server (virtuozzo VM) and we need to switch to another provider (vmWare VM).We will probably need more then one month for the migration and I need to come up with a migration plan that doesn't involve rendering the service unavailable.I've tried to contact Adobe hotline, but the people there knew nothing about licensing, the other number I got from them kicks me after 20 minutes on hold... so I was hoping to be able to find answers here. I understand CF Enterprise is licensed for 2 CPUs, for unlimited number of virtual machines, so the other server wouldn't qualify to run on the same license key because it's different 2 CPUs. If I could migrate everything within a month then I could use the 30 day demo license, but I will need more then 30 days.So what are my options? Even if I wanted to buy CF8 Standard to cover the second server while migrating (am not really willing to pay $$$ just to cover few weeks of migration
So correct me if I'm wrong. I have a file structure that looks like this:models> framework>> alpha.cfcapplication.cfcI am executing from application.cfc. In it, I have created a mapping (NOTE THE DIFFERENCE IN SINGULAR/PLURAL):<cfset this.mappings[ '/model' ] = expandPath( '/models/framework' ) />When I dump the this.mappings structure, I expectedly get:c:\path\to\webroot\models\frameworkSo I now dump this code:<cfdump var="#fileExists( expandPath( '/model/alpha.cfc' ) )#" />And sure, enough, I get: YESSo here's my problem. I had always thought that in dot notation syntax, ColdFusion looked at the first value provided and did a mapping check on it. However, when I run:<cfset myNewAlpha = new model.alpha() />I get a message saying the CFC cannot be found. Only by typing the following:<cfset myNewAlpha = new '/model.alpha'() />Does it actually work and find the CFC through dot notation my using the this-scope mapping.So, is t
I've tried setting up RESTful web services in ColdFusion10 and found that it only works uder the CF web root, but not IIS web root. Does anyone have a solution for having this set up under the IIS web root?
how to generate a csv report to determine paper size in a pdf or pdf/a file ?
I am working on a system that signs customers up for workshops. Some of these workshops have limited capacity. The issue comes in that customers could run the same code simultaneously. Two customers could check capacity and find that room is available and the both sign up for the last avilable spot.One solution would be to put a cflock around the code that checks the capacity and adds the customer if there is room. The problem is that we run on multiple servers updating the same database. It would be possible for customers to similtaneously run the same code from different servers. This led me to thinking about using database locks but the way I understand CF data sources is that there is no way to ensure sequential queries go to the same database session. Since database locks are database session based this would make database locking not work. Am I correct in that?The only way I can think of is to try to do it in a stored procedure and I would rather not. Does anyone have any o
I'm somewhat new and occasional to Cold Fusion, so I'm not familiar with the support process. The cfgrid tag appears to be broken, and I wonder how one might get Adobe to fix it.
We recently installed and configured a CF10 server on a 08 r2 box. After following the Adobe recommended setup (custom accounts for each of the services - iis, cf) in the lockdown guide and a reboot, cfm pages are no longer properly handled (redirected).The web server trace identifies this as the root problem:144. CALL_ISAPI_EXTENSION DllName[home_dir]\config\wsconfig\1\isapi_redirect.dllWarning145. -MODULE_SET_RESPONSE_ERROR_STATUS ModuleNameIsapiModuleNotification128HttpStatus403HttpReasonForbiddenHttpSubStatus0ErrorCode0ConfigExceptionInfoNotificationEXECUTE_REQUEST_HANDLERErrorCodeThe operation completed successfully. (0x0)User from tokenNT AUTHORITY\IUSRWe've already made sure that exe rights are provided for the IUSR (as well as cf and iis) to both that .dll as well as the entire folder.We have also tried changing the handler mapping (invoke only if req is mapped to file/folder) as well as it's access config (none, script, exec).The only time we get a different error mesage
Hi, I looking on Best ColdFusion Development Company in India, Hyderabad. Could you please give me suggestion which company is best on it.
CF10/Win7Prox64I have a TemplatingService object. It has it's processTemplate() function called and is passed 1 argument, a Request object which holds information about the request.The first thing it does is execute the controller in the Request object like so:<cfinclude template="#arguments.Request.getController()#" />This works perfectly, as the controller file is included and executed. Well, I'd like that controller file to be able to call functions IN the TemplateService in order to modify things about itself, and though this is easily possible by writing:<cfset doSomeFunction( Request = arguments.Request, data=foo ) />Something about having to constantly self-reference the request bugs me. I understand OOP and know that objects need to be passed, but is there ANY way you can think of where I could make the aforementioned call like:<cfset doSomething( data=foo ) />Which would look for a doSomething() function in the TemplateService object, but au
After a couple months of building a project with no real issues, all of a sudden my pages can no longer find my "ToolInvFunctions.cfc" file. I get this error,"The specified CFC ToolInvFunctions could not be found.The path to the CFC must be specified as a full path, or as a relative path from the current template, without the use of mappings."Like I said, everything has been working just fine until now and I have no idea what I may have done to start receiving this error. Here is the first line of code that fails with a call to the cfc file.<cfselect name="Tools" bindonload="true" bind="cfc:ToolInvFunctions.findTools({ProcessIn})" display="RequestedTools" value="RequestedTools"></cfselect>All of this projects files reside in the same folder and have had no trouble finding each other until today.Please help, I imagine this is probably some sort of server issue, but I'm not experienced enough to diagnose.Thanks in advance
coldfusion 10 users logs off automatically from the tool after first activity everyday when they log in
Hi i have a website and a hosting package with HOSTEK.com which also gives me the option to use the ISAPI_rewrite. I am new to this and the issue i am having is that i have a .htaccess file with the rewrite rules which the Helicon Support helped me out with, i dont know how to set the base path as when one part of the rules changes this url: mydomain/products-search.cfm?filter=brand&brand_id=104&brand_name=H&RTo this:mydomain/search/104/H&R.cfmThe images/css/js dont show up, unfortunately Helicon cant help me out anymore as i will need to pay USD150 for support, i also need help with a few other rules, like i said this is my first time using the URL rewite.Below is my .htaccess file with the rules:RewriteEngine onRewriteRule onRewriteBase /RewriteCond %{QUERY_STRING} ^filter=brand&brand_id=([^&]+)&brand_name=([^&]+)$ [NC]RewriteRule ^products-search\.cfm$ /search/%1/%2.cfm? [NC,R=301,L] RewriteCond %{QUERY_STRING} ^$ [NC]RewriteCond %{REQUEST_FILENAME} !
We have been using coldfusion 10 Server and developing applications with YUI tables, JQuery And Coldfusion components. We have been facing issues when we try to submit a big chunk of Json data to coldfusion cfc component function. This brings the coldfusion service down. This really sucks and we have no solution for this yet. This happens even when the form is submitted with a big chunk of JSON data. Coldfusion unable to handle this data and hit the service and bring the coldfusion Administrator down. Below is the sample data sent from the client to server through ajax call. cfc component receives this data but unable to handle this chunk. I believe there is no limit for the data being sent from Ajax but when this is received in the cfc function this hits the service. Any help would be much appreciated?"{""element"":{""ELMNTNAME"":""Engine Stroke"",""ELMNTUOM"":""DISTANCE | millimeter (mm)*"",""ELMNTID"":""1623"",""ANALYSISID"
I have signed up for Adobe (non-paying memeber). Im using PDF and want to edit the security settings so that content copying of my document is disallowed. I don't know how/ seem to be unable to do so, please will you be so kind to help?Appologies for asking help with what im sure is a simple matter, regardsJC
Hello,I generated a pdf document using PdfLatex (below left) and converted to docx format (below right) and it came out better than any other converter I've tried before but spacing, hyphenation (e.g. pri-mary in first line) and oC symbol does not convert well. The oC is a latex symbol (\celsius in LaTeX). Also the blue colored words are hyperlinked to a glossary and the links are preserved; which I was happlily surprised about. I end up doing some post editing to correct but its time consuming for long docs. Any suggestions to fix the problem(s) are appreciated. Thanks in advance:) VincePi (p.s. this is my first post and not sure what tags are appropriate?; also need to convert so others can use track changes in Word to provide comments)
Hi,Someone is adding links to my CFM files. I am informed of this almost immediately and remove the offending code. The code is usually to knockoff brand stuff such as Michael Kors and Loius Vuitton.I am on CF 8.1 and Redhat 5.8 versions with latest security patches applied to both. This has been going on for over 3 years now and it is becoming very annoying. I would like a hint or 2 as to how they are accessing my files?boo1949
BC forms the required* option is being ignored allowing empty submissions any ideas?
I have this query which worked great in AccessSELECT e.wall +l.wall As wall2yr, e.lall +l.lall As lall2yr, l.TEAMID, l.TEAMNAME, l.GY AS LaterGY, l.finalrating AS LaterFinalRating, e.finalrating AS EarlyFinalRating, e.GY AS EarlyGY, LaterFinalRating+EarlyFinalRating AS twoyear FROM TEAMSEASONRATINGINFO AS e INNER JOIN TEAMSEASONRATINGINFO AS l ON l.teamID = e.TeamID AND l.GY = e.GY+1 WHERE l.GY =#url.GY# AND e.finalrating > 0AND l.DIVISION = #url.DIVISION#ORDER BY e.finalrating+ l.finalrating DESCNow I have switched to MS SQL and I am geting this error[Macromedia][SQLServer JDBC Driver][SQLServer]Invalid column name 'LaterFinalRating'. Is there something different the way MSSQL handles INNER JOINS or aliases?
I'm setting up a new server to test ColdFusion 10 (will be upgrading from 😎 and I don't have the option for MS Access with Unicode from the driver list when adding a new DSN. Based on this referrence (http://help.adobe.com/en_US/ColdFusion/10.0/Admin/WSc3ff6d0ea77859461172e0811cbf364104-7fe6.html) it looks like it should still be included, but I'm not seeing it. Any ideas how to get the option back?
In Adobe-9, can i set different deadline date for different reviewer?
le doc est de 48 Mb et il me marque a la fin Erreur de conversion trop long.Comme faire pour obtenir la conversion de l'archive?
Hi,I have CF 9.0.1 installed, and I'm not able to define a Solr collection.I get this error in the Administrator: "An error occurred while creating the collection: org.apache.solr.common.SolrException. Check the Solr logs for more detail."And in the Solr log, I get this:"JNDI not configured for solr"Any hint?Thanks.
I create a collection by indexing a bunch of .pdf files and then I use CFSEARCH to search for a string in the filename.In CF8 with Verity this was easy:*searchterm*In CF10, even if I don't use the leading * I cannot match any alphanumeric sequence. For instance I want to search for M1234 in a filename that has M12345678 but Solr finds nothing. If I get rid of the M and just search for 1234 it will find it. Some of the strings however it makes a huge difference in the number of results returned. I need to be able for the user to input an alphanumeric search term and CF return the results. I'm finding this impossible.
I have been managing websites in IIS6, but I understand that things have changed radically in IIS7 and that "all I need to do" is consume the services available in Microsoft.Web.Administration's servermanager and Microsoft.Web.Management and I'll have all the services and methods I need to replicate what I was doing in IIS6.Well and good if you're savvy on that whole "consume services" thing, which I suck at.I am told I can find this in c:\windows\system32\inetsrv\Microsoft.Web.Administration.dll and, indeed, it is there.Try as I might, I cannot figure out how to pull this into an object so I can consume it. I've tried:<cfobject type="COM" action="CREATE" class="Microsoft.Web.Administration" name="objMicrosoftWeb"><cfobject action="create" class='Microsoft.Web' name="objMicrosoftWeb" type="com"><script> set myServerManager = CreateObject('.NET', 'ServerManager', 'c:\windows\system32\inetsrv\Microsoft.Web.Administration.dll');</script><cfobject name="se
I want to display files from the day a viewer logs in, through the next 30 days. I tried the code below but it does not work. What am I doing wrong?<cfoutput><cfset mydatetime=#now()#></cfoutput> <cfquery name="getdevotional" datasource="#application.database#">SELECT display_date, titleFROM mobilewhere display_date BETWEEN (#DateFormat(Now(),'YYYY/MM/DD')#) AND (#DateFormat(DateAdd('d', 30, mydatetime),'YYYY/MM/DD')#)</cfquery>
Remix with Firefly Community Gallery
Thousands of free creations to fall in love with and remix in Firefly.
Har redan ett konto? Logga in
Har du inget konto än? Skapa ett konto
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.