![]() |
Call to undefined function is_https() - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Development (https://forum.codeigniter.com/forumdisplay.php?fid=6) +--- Forum: CodeIgniter 2.x (https://forum.codeigniter.com/forumdisplay.php?fid=18) +--- Thread: Call to undefined function is_https() (/showthread.php?tid=88283) |
Call to undefined function is_https() - Mark Hathaway - 08-17-2023 Dear Fellow Coders, I would be grateful if someone could help resolve a 'Fatal error: Call to undefined function is_https()' issue which is occurring when my colleague attempts to use an SSL certificate. The version of CodeIgniter being used is 2.2.0 and the error message indicates that the 'is_https' function is undefined within 'framework\_system\core\Security.php on line 269'. I am relatively new to CodeIgniter and I am unable to locate this function throughout the framework and I would appreciate some guidance on how to resolve this issue. Many thanks in advance. RE: Call to undefined function is_https() - kenjis - 08-17-2023 Excuse me, are you a real human? Why don't you use CodeIgniter 4.3? RE: Call to undefined function is_https() - Mark Hathaway - 08-18-2023 Hello Kenjis, Thank you for your response to my help for assistance with this issue. I inherited the web site which was first developed using CodeIgniter v2.2 and it is used by many people on a daily basis, which means I am kept very busy with maintaining or adding new functionality to the web site. Many of todays commercial web sites were built using older versions of CodeIgniter and as an Administrator you should know that it is not straight forward to upgrade from one version to another and can be quite time consuming. Until such a time that I get the opportunity to upgrade CodeIgniter, the issue of the undefined is_https function will still need to be resolved. RE: Call to undefined function is_https() - kenjis - 08-24-2023 It seems there is no is_https() function in CI 2. https://www.codeigniter.com/userguide2/general/common_functions.html And CI2 is not maintained and probably has vulnerabilities. I don't recommend the unmaintained framework. RE: Call to undefined function is_https() - osmosoom - 09-13-2023 (08-17-2023, 03:15 AM)Mark Hathaway Wrote: Dear Fellow Coders, Use CodeIgniter 4.3 RE: Call to undefined function is_https() - InsiteFX - 09-19-2023 PHP Code: <?php |