Questions
Actividad reciente
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!
I am trying to download a copy of coldfusion from Download Adobe Coldfusion free trial | Adobe Coldfusion 11 .It seems that here is some issue with the downloading links - when i try to download a coldfusion from Ubuntu i've been redirected to https://www.adobe.com/bg/products/coldfusion/download-trial/form.perpetual.action If however i try this on windows there is no problem - no matter what browser i am using.
Bonjour,Je voudrais faire un query d'un autre query.Exemple :J'ai 2 tables : une des pays et une des villes de ces paysFrance : Paris Marseille LyonAllemagne : Berlin CologneItalie : Rome MilanJe voudrais pouvoir choisir dans un 1er query les pays, dans le 2ème les villes du pays choisi.Exemple bienvenuMerci pour votre aide.
Hello, all,I'm just curious if anyone else has had any hack attempts on their webserver using sleep() as part of an injection attempt?Someone in network security, here, forwarded sections of a log that show someone attempted, for an hour and a half, to slip the sleep() command in as a URL parameter, and they even tried to add bogus CFID and CFTOKEN URL parameters (I'm assuming as an attempt at session hijacking??)Has anyone else seen anything like this??CFID=SLEEP(15)+/*'+or+SLEEP(15)+or+'%22+or+SLEEP(15)+or+%22*/&CFTOKEN=362d01e1fdb64cf4-D83FE818-9EA2-F4A4-388891E61E6CC13F%0A?CFID=16331257&CFTOKEN=SLEEP(15)+/*'+or+SLEEP(15)+or+'%22+or+SLEEP(15)+or+%22?mp=home&ms=SLEEP(15)+/*'+or+SLEEP(15)+or+'%22+or+SLEEP(15)+or+%22*/&mt=vision%0A
HiWhat was working fine in CF8:<cflocation url="index.cfm?action=receivable.actRetrieveJobReceivablesEdit&jobId=#viewstate.getValue('jobid')#&estimateId=#viewstate.getValue('estimateId')#" statuscode="302">Now breaks in CF11, I get an error "Bad Request" and then the CSS styles get dumped onto the user's screen. I read up on the security enhancements to CF11 and noticed the addToken attribute's default had been changed, so I added "addToken=true" but the error persists.Also, the web server is IIS7.5.Has anyone else run into this?Thanks,Rich
I was following the coldfusion upgrade guide here and it says that during the install it recognizes the previous version and you have the option to upgrade or install side by side. I did not get that prompt and it installed side by side. Can I just uninstall the 2016 version? How do I get the 2016 installer to recognize the previous version?
I want to count the number of files in each and every directory in my website. I don't want to list the files but just get a count of all files in each directory.Not a sub directory count but a file count in each directoryFor example using my C:\Windows\ directory as the directory where the files in each and every directory are to be counted Like thisDirectory NameFile CountDate Last File ModifiedC:\Windows\ADFS\ar112-12-2016C:\Windows\ADFS\bg212-12-2016...................C:\Windows\WinSxS8112-14-2016C:\Windows\WinSxS\x86_microsoft-windows-deviceaccess.resources_31bf3856ad364e35_6.3.9600.16384_en-us_21effc1389c6f3e1112-14-2016I need the count of the files in each directory. Every row in the table would be the next directory as you drill down.
I have a spreadsheet with date columns in dd.mm.yyyy format. This is set without asterisk in Excel so that the format will not respond to regional settings. When I output the spreadsheet query on my local computer, everything works fine, I get the dates in "dd.mm.yyyy" format like I should. But when I upload the same code to the server and output the spreadsheet query, the date gets outputted in "dd\.mm\.yyyy" format. So instead of dots, I get backslash dots as a separator.Any ideas what might be causing this?The main differences between my local computer and server are OS (Windows 8.1 vs. Windows Server 2008), CF Version (11 vs 10), Java version (1.7.0_55 vs. jre1.8.0_45), to list some. Instead of version difference, this might be some java argument, coldfusion setting or os setting issue as well, but I'm not sure where to even start looking.
I can not access my PDF files from adobe acobat reader. It keeps showing AcroRd32.exe application error
Hi,Currently, we have enterprise license for CF builder 2011.We were planning to install 2-3 CF builder 2016 on developers machine and evaluate the new features of CFBuilder 2016. This activity will be performed purely on the local environment. Can we go ahead and use the ColdFusion licenses on the developers machine to evaluate the CF Builder 2016?Regards,Umesh
I am running a ColdFusion 8 Enterprise web application that utilizes Flash remoting. Recently we have been getting the following error in our flash.log file, and the only way to clear it up is to reboot the server:[Flash Remoting MX]->Connection reset by peer: socket write errorThere will be 40 or 50 of these, and then everything locks up completely. I know this is a VERY outdated version of CF (we are in the process of completely overhauling our application), but I need to try to figure this out. Not sure if either of the following settings in CF Admin would be useful?Maximum number of simultaneous Flash Remoting requests The number of Flash Remoting requests that can be processed concurrently.Maximum number of simultaneous Web Service requests The number of Web Service requests that can be processed concurrently.
I have some csv files that are in this format:"Source","Requester ID","ID","Start Date","End Date","location","Value","TimeStamp""DCA","tedkrasav","9913457","12/4/2016 12:00:00 AM","12/18/2016 12:00:00 AM","Room_121",,"12/3/2016 2:50:03 PM"What I am trying to do is read the file and insert all of the individual columns into a DB table. I am trying to do this method just to see the individual columns but I keep getting an error that states "Invalid list index 2.In function ListGetAt(list, index [, delimiters]), the value of index, 2, is not a valid as the first argument (this list has 1 elements). Valid indexes are in the range 1 through the number of elements in the list" :<cffile action="read" file="csvdemo.csv" variable="csvfile"><cfloop index="index" list="#csvfile#" delimiters="#chr(10)##chr(13)#"> <cfoutput>#listgetAt('#index#',1, ',')# #listgetAt('#index#',2, ',')# #listgetAt('#index#',3, ',')# #listgetAt('#index#',4, ',')# </cfoutput> </cfloop>
Remix with Firefly Community Gallery
Thousands of free creations to fall in love with and remix in Firefly.
¿Ya tiene cuenta? Iniciar sesión
¿Aún no tienes una cuenta? Crea una cuenta
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.