lmajano
11/03/2022, 1:17 PMjustincook
11/03/2022, 2:33 PMwebsolete
11/03/2022, 2:35 PMbdw429s
11/03/2022, 8:15 PMisObject()
BIF in CF returns true
for basically any unrecognized Java class which makes it sort of useless in many instances where a framework needs to deal smartly with any sort of input.TEMann
11/04/2022, 4:51 PMgsr
11/06/2022, 3:14 PM<cfset n = dateconvert("local2utc",now())>
<cfoutput>
<script>
d = new Date();
d.setUTCFullYear(#dateformat(n, "yyyy")#);
d.setUTCMonth(#dateformat(n, "m")#);
d.setUTCDate(#dateformat(n, "d")#);
d.setUTCHours(#timeformat(n, "H")#);
d.setUTCMinutes(#timeformat(n, "m")#);
document.getElementById('servertime').innerHTML = d.toLocaleString();
</script>
</cfoutput>
<div id="servertime"></div>
drewnathanson
11/06/2022, 4:01 PMDave Merrill
11/07/2022, 3:31 PMwebsolete
11/07/2022, 3:58 PMwebsolete
11/07/2022, 3:59 PMrichard.herbert
11/08/2022, 3:57 PMTim
11/08/2022, 9:25 PMthis.javaSettings
in Application.cfc to work? I don't have access to restart the CF service, so I have reloadOnChange=true
and yet, when I add new jars to my load path, I get class not found errors.Charles Robertson
11/09/2022, 1:43 PMbox install commandbox-cfconfig
When I think the correct version was already installed.
Essentially, I think I overwrote the correct module.zackster
11/09/2022, 1:46 PMCharles Robertson
11/09/2022, 1:47 PMPwrSrg
11/10/2022, 1:10 PMCharles Robertson
11/10/2022, 2:00 PMcd C:\domains\<http://acf11-0-19_314546.com|acf11-0-19_314546.com>\wwwroot
server set web.http.port=8080
server show web.http.port
server start cfengine=adobe@11
The server never starts
I have also tried [which I think is the same thing] but the server never starts:
cd C:\domains\<http://acf11-0-19_314546.com|acf11-0-19_314546.com>\wwwroot
server set web.http.port=8080
server show web.http.port
server start cfengine=adobe@11.0.19+314546
I should tell you that I also have a stand-alone version of ACF2018 running on localhost:8500bdw429s
11/10/2022, 6:42 PMvar headerReducer = (headers) => {
return headers.reduce( ( list, header)=>{
list = list.listAppend( "#header.name#: #header.value#", chr(13) & chr(10) );
return list;
}, '' );
};
2️⃣
var headerReducer = (headers) =>
headers.reduce( ( list, header) =>
list.listAppend( "#header.name#: #header.value#", chr(13) & chr(10) ), '' );
satauros
11/10/2022, 9:09 PM__iter__()
work in CF 2016? Anyone know?TEMann
11/10/2022, 9:33 PMpaolo79
11/11/2022, 2:54 PMScott Steinbeck
11/11/2022, 5:15 PMjavax.xml.parsers.FactoryConfigurationError
Provider for class javax.xml.parsers.SAXParserFactory cannot be created
@cfsimplicity or other, any thoughts on what is going on?Scott Steinbeck
11/12/2022, 9:14 PMgavinbaumanis
11/13/2022, 11:20 PMdrewnathanson
11/14/2022, 3:33 AMpublic void function onError( exception, event )
{
// Save the email body
savecontent variable="local.body"
{
writeOutput("
<h1>Error on Web Site</h1><br />
<table><tr valign='top'><td>");
writeDump(var:cgi,label:"CGI");
writeOutput("</td></tr><tr><td>");
writeDump(var:url,label:"URL");
writeOutput("</td></tr><tr><td>");
writeDump(var:form,label:"FORM");
writeOutput("</td></tr><tr><td>");
writeDump(var:arguments,label:"ERROR");
if ( structKeyExists(session, "userInfo") )
{
writeOutput("</td></tr><tr><td>");
writeDump(var:session,label:"SESSION");
}
writeOutput("</td></tr></table>");
}
// Send email
application.smtpObj.sendEmail("#application.emailAddress#", local.body, "Error on Web Site");
}
drewnathanson
11/14/2022, 3:34 AMGVJustDOIT
11/14/2022, 5:13 PMSlackbot
11/14/2022, 5:24 PMJohn Merholtz
11/14/2022, 8:44 PMMark Takata (Adobe)
11/15/2022, 6:04 AM