coldfusion

How to fix scheduled tasks after upgrade from ColdFusion 9 to 10

我只是一个虾纸丫 提交于 2019-12-12 09:48:26
问题 After upgrading and migrating from ColdFusion 9 to 10, all of our scheduled tasks are gone. In the logs, there are "Advance Scheduling support is not available in this edition of ColdFusion server" errors. I know this is a known issue that was fixed in the first update. At this point, ColdFusion 10 is on update 10 (which docs says is cumulative so should include update 1), and documentation says to first install the mandatory update then update 10. We did this before migrating, however our

Getting an Access Token Without User Login in Facebook Graph API?

自古美人都是妖i 提交于 2019-12-12 09:42:19
问题 I am working with facebook graph api rsvp_event. I am using javascript SDK. Everything works great when the user is logged in. But when the user is not logged in, it gives an error. I need information about who is attending a public event. I now understand that I would need an access token to retrieve this information. So, my question is how do I get the access token if no user is logged in? Is it impossible or is there a workaround? Could it be done server side using app_id and client_secret

Upload Files To Google Drive Using ColdFusion

懵懂的女人 提交于 2019-12-12 09:28:54
问题 This question was migrated from Code Review Stack Exchange because it can be answered on Stack Overflow. Migrated 6 years ago . *NEW UPDATED FOR BETTER SECOND PART - NOW GETS TO "308 Resume Incomplete", even though file should be just one upload! I am using the foundation of cfgoogle from Ray Camden. But Google has deprecated the code for document uploads. The new standard is Resumable Media Uploads. I have this part working (up to and including the "Initiating a resumable upload request") in

ColdFusion 10 CFCookie not honoring domain attribute

瘦欲@ 提交于 2019-12-12 08:57:26
问题 I have an Application.cfc with the following settings: <cfset THIS.Name = "Test01" /> <cfset THIS.ApplicationTimeout = CreateTimeSpan(1,0,0,0) /> <cfset THIS.sessionTimeout = CreateTimeSpan(1,0,0,0) /> <cfset THIS.clientManagement = false /> <cfset THIS.SessionManagement = true /> <cfset THIS.SetClientCookies = false /> <cfset THIS.setDomainCookies = false /> And I attempted to send the following cookies: <cfcookie name="CFID" value="#session.CFID#" domain=".test01.domain.net" path="/"

ColdFusion/PHP Compatibility

旧时模样 提交于 2019-12-12 08:54:01
问题 Hey I have a question regarding the compatibility of ColdFusion and PHP. We built a community website which is based on ColdFusion. Is it altogether possible to add features such as blogs, and other community features to our website in PHP? I mean to combine both PHP and ColdFusion together. Thanks very much for the help! 回答1: I think it can be done, if you're using ColdFusion 8. I know that Sean Corfield has a project on RIAForge doing this sort of thing, and there are a string of posts on

What are my options for working with markdown in ColdFusion?

五迷三道 提交于 2019-12-12 08:37:58
问题 I am seeing many many different use cases where I could use Markdown in apps that I write, both personal and professional. But from my research so far, I haven't been able to find many options for working with it in ColdFusion. I would certainly like to keep from reinventing the wheel by trying to implement it myself if someone else already has a project that I can use and contribute to, both because of time and not to duplicate efforts. My preference would be to use an implementation in

Coldfusion CFMAIL and sendgrid

强颜欢笑 提交于 2019-12-12 07:27:24
问题 I have 2 clients on the same server that I host, that both send email through sendgrid.com (both have their own accounts). I was looking at reports on sendgrid and noticed that categories from "client 1" were showing up in a report for "client 2". I spent extensive time on the phone with sendgrid and they are telling me that a handful of emails 65 from a batch of 3000 for "client 1" show as being sent through "client 2"'s authenticated user. In my scripting, I use coldfusion cfmail and I

PHP ColdFusion9 AES Encryption - Different results

喜欢而已 提交于 2019-12-12 07:07:19
问题 AES Encryption in PHP and ColdFusion9 is producing different results. Could somebody please help me? The below PHP Code $key = "12345678123456781234567812345678"; $iv = "1234567812345678"; $data = "This is a plain string."; echo base64_encode(mcrypt_encrypt(MCRYPT_RIJNDAEL_128, $key, $data, MCRYPT_MODE_CBC, $iv)); gives me G+tdEOfQTtVCQGxW3N5uzkqN207OyfIPxS6zf2xrKKY= While the below ColdFusion Code <cfset thePlainData = "This is a plain string." /> <cfset theKey =

Date Field Mask Not Working [duplicate]

喜夏-厌秋 提交于 2019-12-12 06:53:36
问题 This question already has an answer here : JavaScript Date Format for ColdFusion Date Field (1 answer) Closed 5 years ago . This is very frustrating. I am using cfinput datefield and mask="MM/DD/YYYY" and its not working. If it is cfinput text and mask="MM/DD/YYYY" it works perfect. I do not want to only have a textbox though I would like to keep the calendar that the date field gives you... The issue is when they use the calendar it is in the correct format MM/DD/YYYY but if the user just

How to secure a webservice CFC for use with AJAX

倖福魔咒の 提交于 2019-12-12 06:31:54
问题 I have a CFC file with remote access enabled, I am using this to perform various admin tasks such as adding / removing image records from a database. The calls to this CFC are made through AJAX via custom JavaScript on my admin pages. I placed the CFC in what I thought was a secured directory but having had some issues with images disappearing of their own accord and I have since found it is not secure at all. I would like to secure the CFC. There is already a session based security CFC that