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?
ADDT and ColdFusion 2016
Re: ADDT and ColdFusion 2016
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.
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.
Re: ADDT and ColdFusion 2016
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.
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.
Re: ADDT and ColdFusion 2016
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.
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.
Re: ADDT and ColdFusion 2016
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.
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.