Customtags from cfscript

This is a bit odd, but this was running just fine and then I copied the
entire application directory and renamed it (as I was switching over from
subversion to git). Now I’m getting

“No matching function [CF_LOGIN_PAGE] found”

So the original application works, the cloned application does not (under
both Railo and Lucee).

login_page.cfm is a customtag and is located in the customtag directory
that is defined in application.cfc

I’m referring to the customtag in cfscript like so:

cf_login_page (action=targetUrl);

Any help would be appreciated!

Alex,

This really worked before? I really can’t imagine it did. What will work instead is using the script version of cfmodule like this:

module template= "cf_login_page.cfm" action= "#targetUrl#";

If it did worked before, Micha must have added it without me knowing about it J

Sincerely
Gert Franz

RASIA GmbH

Spittelgasse 7

5103 Moeriken-Wildegg

Email: mailto:Gert_Franz @Gert_Franz
Skype: gert.franz

Phone Switzerland: +41 76 5680 231Von: lucee@googlegroups.com [mailto:lucee@googlegroups.com] Im Auftrag von Alex Kaminsky
Gesendet: Donnerstag, 5. Februar 2015 16:35
An: lucee@googlegroups.com
Betreff: [Lucee] Customtags from cfscript

This is a bit odd, but this was running just fine and then I copied the entire application directory and renamed it (as I was switching over from subversion to git). Now I’m getting

“No matching function [CF_LOGIN_PAGE] found”

So the original application works, the cloned application does not (under both Railo and Lucee).

login_page.cfm is a customtag and is located in the customtag directory that is defined in application.cfc

I’m referring to the customtag in cfscript like so:

cf_login_page (action=targetUrl);

Any help would be appreciated!


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 lucee@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/lucee/76abb5c8-97c7-48e9-b764-eab53bb2c713%40googlegroups.com https://groups.google.com/d/msgid/lucee/76abb5c8-97c7-48e9-b764-eab53bb2c713%40googlegroups.com?utm_medium=email&utm_source=footer .
For more options, visit https://groups.google.com/d/optout.

It really did work, lol (and still is actually on one app).
I don’t know how I came to use that syntax, nor can I find any
documentation on it. Anyway, your suggestion worked great, so thank you!On Thursday, February 5, 2015 at 10:47:04 AM UTC-5, Gert Franz wrote:

Alex,

This really worked before? I really can’t imagine it did. What will work
instead is using the script version of cfmodule like this:

module template= "cf_login_page.cfm" action= "#targetUrl#";

If it did worked before, Micha must have added it without me knowing about
it J

Sincerely
Gert Franz

RASIA GmbH

Spittelgasse 7

5103 Moeriken-Wildegg

Email: @Gert_Franz <javascript:>
Skype: gert.franz

Phone Switzerland: +41 76 5680 231

Von: lu...@googlegroups.com <javascript:> [mailto:lu...@googlegroups.com
<javascript:>] *Im Auftrag von *Alex Kaminsky
Gesendet: Donnerstag, 5. Februar 2015 16:35
An: lu...@googlegroups.com <javascript:>
Betreff: [Lucee] Customtags from cfscript

This is a bit odd, but this was running just fine and then I copied the
entire application directory and renamed it (as I was switching over from
subversion to git). Now I’m getting

“No matching function [CF_LOGIN_PAGE] found”

So the original application works, the cloned application does not (under
both Railo and Lucee).

login_page.cfm is a customtag and is located in the customtag directory
that is defined in application.cfc

I’m referring to the customtag in cfscript like so:

cf_login_page (action=targetUrl);

Any help would be appreciated!


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 <javascript:>.
To post to this group, send email to lu...@googlegroups.com <javascript:>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/lucee/76abb5c8-97c7-48e9-b764-eab53bb2c713%40googlegroups.com
https://groups.google.com/d/msgid/lucee/76abb5c8-97c7-48e9-b764-eab53bb2c713%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.

Alex,

I apologize beforehand if this is ‘duh, I tried that’ or ‘duh, I wrote the
tag myself, so I would know’ territory, but in the interest of
troubleshooing:

You might try checking Railo admin on the site where the tag is still
working via script and see if there’s a different resource mapping defined
in one of the sections of Archives & Resources…also, I’d check the
[contextroot]/WEB-INF/railo/library/{fld,function} dirs (or within where
ever the web context files are located…even moreso if they’re not in
[contextroot]/WEB-INF). Could be something in there. Maybe someone added
a component or cfm with a custom ‘built-in’ function with a name that
mimics the cf_ naming prefix so it would work like that.

Hope this helps!

-SeanOn Thursday, February 5, 2015 at 10:35:03 AM UTC-5, Alex Kaminsky wrote:

This is a bit odd, but this was running just fine and then I copied the
entire application directory and renamed it (as I was switching over from
subversion to git). Now I’m getting

“No matching function [CF_LOGIN_PAGE] found”

So the original application works, the cloned application does not (under
both Railo and Lucee).

login_page.cfm is a customtag and is located in the customtag directory
that is defined in application.cfc

I’m referring to the customtag in cfscript like so:

cf_login_page (action=targetUrl);

Any help would be appreciated!