ADDT and ColdFusion 2016

Any tips and tricks that has to with the ADDT that doesn't fit into one of the other categories
jlig
Posts: 35
Joined: 2010-07-09 16:17

ADDT and ColdFusion 2016

Post by jlig » 2016-09-28 17:57

I recently set up a test server for CF2016, and imported all of my existing Sites, Datasets & folders.

When I try and browse to my login.cfm page, I get the following error:

KT_getRealValue:
Unknown method: kt_login1.

- Obviously this is an issue with the login script, but not sure what the fix is is.
Any ideas out there?

jlig
Posts: 35
Joined: 2010-07-09 16:17

Re: ADDT and ColdFusion 2016

Post by jlig » 2016-09-29 17:03

Regarding the errors with ADDT and ColdFusion 2016 (CF2016);

1) If I remove "Restrict Access to Page" server behavior then all my pages work fine with CF2016

2) If I'm unable to find a fix regarding the ADDT "User Login" and "Restrict Access to Page", then I'll remove those features from my pages and replace with other login/restriction code options.

User avatar
Fred
Site Admin
Posts: 491
Joined: 2010-02-15 12:10
Location: Armagh, Northern Ireland
Contact:

Re: ADDT and ColdFusion 2016

Post by Fred » 2016-09-30 12:15

Is the actual login function still working?
I have stopped using the restrict access behaviour a long time ago. Not because its not working but just the way I managed the security on my pages.

jlig
Posts: 35
Joined: 2010-07-09 16:17

Re: ADDT and ColdFusion 2016

Post by jlig » 2016-09-30 15:17

No, the login page is not working, and is the main problem.
The "Restrict Access to Page" function is probably working fine, but since it checks to see if the user is logged in, it keeps returning me back to the login page, which is giving me the "KT_getRealValue: Unknown method: kt_login1." error.

I'm going to post this to the CF forum and see if there are any ideas or solutions.

ps: remember that I'm not in a crisis as this is just a testing site for ColdFusion 2016. For now, everything runs perfectly on our ColdFusion 9 live production server.

jlig
Posts: 35
Joined: 2010-07-09 16:17

Re: ADDT and ColdFusion 2016

Post by jlig » 2018-01-26 19:23

For anyone having issues with moving an old CF9 site to CF2016 that used the ADDT (Adobe Dreamweaver Development Template) files, I have discovered a poosible fix to the error: "KT_getRealValue:Unknown method: KT_Insert1."

When browsing a page served up from CF2016, the following error displays: "KT_getRealValue:Unknown method: KT_Insert1." for all pages

1) First, browse to this post & apply all of the changes listed: https://forums.adobe.com/thread/515385

2) Now browse to the "includes\common\KT_functions.inc.cfm" file and make the following change (around line 914) and comment out the cfdefaultcase:

<!---Fix for CF9 (& above) when getting error: "KT_getRealValue:Unknown method: KT_Insert1." Just comment out the "cfdefaultcase"--->

<!---<cfdefaultcase>

<cfset Request.KT_die('KT_getRealValue:<br />Unknown method: ' & method & '.')>

</cfdefaultcase>--->


3) Try your pages again and they should now be working.

Post Reply