Community Auth Examples Error - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: External Resources (https://forum.codeigniter.com/forumdisplay.php?fid=7) +--- Forum: Addins (https://forum.codeigniter.com/forumdisplay.php?fid=13) +--- Thread: Community Auth Examples Error (/showthread.php?tid=69715) |
Community Auth Examples Error - rfrancis - 01-09-2018 I've tried to find a solution for this in the forum but if it is here I've missed it. When I try to load the example page I receive the following error message: Code: Message: Call to undefined function login_anchor() Everything seems to be where it should be based on the Readme. Any leads on what I may be missing would be greatly appreciated. I'm on a Mac and using MAMP for my development environment, and I'm integrating Community Auth into an existing project. RE: Community Auth Examples Error - skunkbad - 01-10-2018 login_anchor is located in Community Auth's MY_url_helper.php, which is normally loaded in the constructor of the Examples controller. If you already have a MY_url_helper.php file in your application's helpers directory, you probably need to merge the functions into it. RE: Community Auth Examples Error - rfrancis - 01-10-2018 Got it fixed. I wasn't thinking about having Asset Helper installed. Thanks! RE: Community Auth Examples Error - darby4738 - 08-26-2018 Sorry to revive an old thread, but I'm having the same problem. My CI install is 100% brand new. All I've done is connected the DB, and installed community auth. Getting this error. I'm autoloading URL helper, I don't have my own MY_url_helper (or any other core customizations for that matter). RE: Community Auth Examples Error - skunkbad - 08-26-2018 (08-26-2018, 05:17 PM)darby4738 Wrote: Sorry to revive an old thread, but I'm having the same problem. My CI install is 100% brand new. All I've done is connected the DB, and installed community auth. Getting this error. I'm autoloading URL helper, I don't have my own MY_url_helper (or any other core customizations for that matter). But you did put Community Auth's MY_url_helper.php in your application/helpers directory ? RE: Community Auth Examples Error - darby4738 - 08-27-2018 (08-26-2018, 11:16 PM)skunkbad Wrote: But you did put Community Auth's MY_url_helper.php in your application/helpers directory ? Sorry! That fixed it. I installed Community Auth on another install a while back, and just didn't remember doing that. Anyway thanks for responding!! RE: Community Auth Examples Error - aydar - 10-23-2018 (08-26-2018, 11:16 PM)skunkbad Wrote:(08-26-2018, 05:17 PM)darby4738 Wrote: Sorry to revive an old thread, but I'm having the same problem. My CI install is 100% brand new. All I've done is connected the DB, and installed community auth. Getting this error. I'm autoloading URL helper, I don't have my own MY_url_helper (or any other core customizations for that matter). Thanks for the advice. it helps me |