<script language = "JavaScript" type="text/javascript" src="/lucee/form.cfm"></script><script language = "JavaScript" type="text/javascript">
function _CF_checkCFForm_44() { return lucee_form_44.check();}
</script><form onsubmit="return lucee_form_44.check();" name="CFForm_44" action="/action/" class="form-horizontal" method="post">
<!-- name:CFForm_44 --><script>
lucee_form_44=new LuceeForms('CFForm_44',null);
</script>
--
You received this message because you are subscribed to the Google Groups "Lucee" group.
To unsubscribe from this group and stop receiving emails from it, send an email to lucee+unsubscribe@googlegroups.com.
To post to this group, send email to lu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/lucee/91358dab-fe6d-4140-a048-f7815fa121e1%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to lucee+un...@googlegroups.com.
To post to this group, send email to lu...@googlegroups.com.
On Jan 16, 2017, at 5:35 PM, Scott Widmer <bowl...@gmail.com> wrote:
Peter,
Thanks for your response.
I had previously looked at the files, and verified again just now, that the file /lucee/form.cfm does not exist on the server.
And thank you for the cfform reference as I had that thought when I was away from my computer over the weekend and your reminded me to look at it. I had a <cfform> reference in the code that I didn't need. Changing that to <form> resolved the issue.
Thanks much,
Scott
On Monday, January 16, 2017 at 12:25:37 PM UTC-5, Pete Freitag wrote:
Scott, I think could be happening is that you have blocked anonymous requests to /lucee/* so the request for /lucee/form.cfm fails. Try requesting that url under your domain in your browser and see what happens. The /lucee/form.cfm file would contain javascript needed for the cfform tags to function, specifically defining the Luceeforms javascript object, see: https://github.com/lucee/lucee/blob/master/core/src/main/cfml/context/form.cfm-- this is equivalent to the /CFIDE/scripts/cfform.js file in ACF.--Pete Freitag
https://foundeo.com/- ColdFusion Consulting & Products
http://hackmycf.com- CFML Server Security Scanner
Anyone?
I've searched through this group and only mention is a thread regarding hardening of Lucee server. No mention of what the function of LuceeForms is and why it is inserted in the first place.
I've searched Google as well as the Lucee website with no mention of this functionality. Has the site been hacked or is this a function within Lucee that should be disabled? When testing some code within the last month I did not noticed this issue so it is relatively new which has me a bit suspicious.
Thanks,
Scott
On Saturday, January 14, 2017 at 12:19:56 PM UTC-5, Scott Widmer wrote:
Hello,
I just noticed a javascript error I'm getting suddenly.
The I'm running Mura on a Lucee (4.5.2.018) server.
This code is insert before my form:
<scriptlanguage="JavaScript"type="text/javascript"src="/lucee/form.cfm"></script><scriptlanguage="JavaScript"type="text/javascript">
function_CF_checkCFForm_44(){returnlucee_form_44.check();}
</script><formonsubmit="returnlucee_form_44.check();"name="CFForm_44"action="/action/"class="form-horizontal"method="post">
and this code is inserted right after my form:
<!-- name:CFForm_44 --><script>
lucee_form_44=newLuceeForms('CFForm_44',null);
</script>
And the errors in the console are:
1: GET http://domain.com/lucee/form.cfm
2: (index):261 Uncaught ReferenceError: LuceeForms is not defined
at (index):261
(anonymous) @ (index):261
Is this a Lucee misconfiguration? I don't think the host has much experience with Lucee so I'd like to point them in the correct direction when I report the issue.
Thanks,
Scott
--
You received this message because you are subscribed to the Google Groups "Lucee" group.
To unsubscribe from this group and stop receiving emails from it, send an email to lucee+un...@googlegroups.com.
To post to this group, send email to lu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/lucee/91358dab-fe6d-4140-a048-f7815fa121e1%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "Lucee" group.
To unsubscribe from this group and stop receiving emails from it, send an email to lucee+un...@googlegroups.com.
To post to this group, send email to lu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/lucee/1636ae28-726f-4e1c-ad80-a69ecd9a61ef%40googlegroups.com.