coldfusion-10

Webserver not working on OSX Mavericks

强颜欢笑 提交于 2019-12-14 02:24:04
问题 I was running a webserver and also Coldfusion just fine until I upgraded to Mountain Lion, then it stopped working. I got it working again by turning everything back on that the upgrade disabled, but now I have upgraded to Mavericks nothing is working. I have followed all the steps in various web articles but it won't work. PHP is enabled, everything that was enabled before is set up, including virtual hosts, and all the folders are in the same place. I get the error: Firefox can't establish

ColdFusion - DateTime Format with GMT offset

一曲冷凌霜 提交于 2019-12-13 15:25:39
问题 I am using ColdFusion 10 to make some REST calls and the date returned is using a GMT offset. Example: 2013-03-25T14:30:40-04:00 I need this formatted for 2 purposes: Screen Display so it looks something like mm/dd/yyyy hh:mm:ss To Insert into mySQL. I have tried a variety of the CF time/date functions but continue to get the "is not a valid date format" I thought maybe the #ParseDateTime(i.submitted_at,"pop")# would handle it with POP but same issue. Spent a few hours now trying multiple

What is the best way to allow someone to export a webpage to PDF for readability?

点点圈 提交于 2019-12-13 13:59:15
问题 I have an online document which shows a report built dynamically from database values and application values. What type of report it shows to the user is based on various security permissions that a user has. So generally a Manager can see a full report, but a Customer Service adviser will only see part of that same report. It does this just fine. But now the same report that is seen 'online' also needs a PDF version. I have started to build a new .CFM template which should handle rendering a

Best method in writing this ColdFusion based report

人盡茶涼 提交于 2019-12-13 04:45:57
问题 I'm looking to see what the best way in writing this report which I'm developing in ColdFusion 10 would be. Basically, it consists of reading data from two tables in a MSSQL database, applying some conditions based on what it finds on a specific column, populating the data into excel and sending it out via email. I've written reports before where it's as simple as reading data from the table, using POIUTILITY to create the spreadsheet and sending it via email, but this one is a little

Coldfusion 10 File Not Found Error

假装没事ソ 提交于 2019-12-13 02:58:21
问题 When I try to access a page that is not found, Coldfusion 10 provides this error page instead of redirecting to our 404 Page Not Found page. How can I get Coldfusion to redirect to our Page Not Found page instead of providing this error message? 回答1: At he point at which the error is thrown the web server is not actually in control of the request. It is waiting for CF to "hand back" the request as string buffer - content to serve. That means there is an additional step in CF to handle missing

Apache won't start with ColdFusion 10: mod_jk.conf procedure not found

こ雲淡風輕ζ 提交于 2019-12-13 02:52:42
问题 I'm trying to install ColdFusion 10 on Apache 2.4.4 with Windows 7. I set up Apache et al with WAMP Server (I needed PHP as well), made sure everything was working great there, and then ran the ColdFusion installation after. ColdFusion installation seemed to complete successfully, but Apache was not able to restart with ColdFusion enabled. Windows Event Viewer reports the following error with Apache Service: httpd.exe: Syntax error on line 548 of C:/wamp/bin/apache/Apache2.4.4/conf/httpd.conf

CFspreadsheet adding a % to format a column

社会主义新天地 提交于 2019-12-13 02:48:02
问题 I am using CF10 and trying to add a % sign to a spreadsheet. I am having an issue with adding a % sign on my 5th column entries. (Only the entries starting the second row (not the header) and not the blank cells when the query is done running. <cftry> <cfset objSpreadsheet = SpreadsheetNew()> <cfset assocRows = ''> <!--- Create and format the header row. ---> <cfset SpreadsheetAddRow( objSpreadsheet, "Associate Name,Location,Checklists Generated by Associate,Checklists Generated by Selected

CF10 Fieldboost on cfindex has no effect

百般思念 提交于 2019-12-13 02:44:42
问题 Maybe this is a new, mostly unused feature, but I am trying to create a collection based on a query from our DB. It's a simple Q&A and I'd like to rank the matches in the question higher than the answer. Seems logical as currently a search for "register for classes" the question "How do I register for classes" ranks lower than "How to I purchase books for my classes" because content in the books answers I guess matches better. So I'd like to bump the Q&A's if the question matches really well

SpreadsheetFormatRows format color ColdFusion

╄→гoц情女王★ 提交于 2019-12-12 20:15:42
问题 I'm creating Excel files using ColdFusion and the SpreadsheetNew, SpreadsheetAddRows, SpreadsheetFormatRows, etc. functions. According to the docs that I have read located here their is a propery for color, and fgcolor. I'm a bit confused as to what the difference between the two are. Is one the text color and the other the background color? I've been using fgcolor to set the background color of rows. // HEADER ROW FORMAT formatHeaderRow = StructNew(); formatHeaderRow.fgcolor="royal_blue"; My

Global Variables in ColdFusion

烈酒焚心 提交于 2019-12-12 19:23:13
问题 2 Questions - In CF8 in the application.cfm I cold set a global variable like so <cfset DSN = "dej6_42"> I am now trying to adjust to the Application.cfc in CF10/Lucee and can not figure out how to set this same variable. Here is my current Application.cfc <cfcomponent output="false"> <cfset This.name = "My Application"> <cfset This.clientmanagement="True"> <cfset This.loginstorage="Session"> <cfset This.sessionmanagement="True"> <cfset This.sessiontimeout="#createtimespan(0,0,10,0)#"> <cfset