ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

ErkanaAuth: A non-invasive user authentication library

October 23, 2007 9:58pm

Subscribe [37]
  • #91 / May 13, 2008 10:12am

    noonereally

    6 posts

    Hello,

    I’m trying erkana auth library and now i’m stuck with this error:

    Fatal error: Call to a member function get_user() on a non-object in C:\wamp\www\fauna\system\application\libraries\MY_Controller.php on line 17

    it happens when I’m subclassing Public_Controller like this

    <?php 
    class Home extends Public_Controller {
    
      function __construct() {
        parent::Public_Controller();
      }
    
      function index() {
        $this->load->view('home');
        return;
      }
    }
    ?>

    maybe someone could explain to me how to fix this ?

    Thank you.

  • #92 / May 13, 2008 10:23am

    cheshirecat

    4 posts

    I think you just should add the auth.php class to autoload.php file in config folder.
    Code igniter can’t find get_user() function.

  • #93 / May 13, 2008 10:33am

    noonereally

    6 posts

    I think you just should add the auth.php class to autoload.php file in config folder.
    Code igniter can’t find get_user() function.

    Thanks man. Now it works.
    So simple .. 😊 Sorry for the noise..

  • #94 / Jun 06, 2008 2:22am

    BeSublime

    5 posts

    Hey ya’ll, I’m a supernoob and just wondered if someone could point me in the direction of a tutorial or post about how to create a basic login form. I have erkanaauth.php and MY_controller.php in my Libraries folder, but thats as far as I’ve gotten. I see plenty of examples of how to get/usf user info once they are logged in, but what about actually logging them in; maybe a view/controller example?

    Any direction would be greatly appreciated, thanks!

  • #95 / Jun 06, 2008 6:27am

    dmitrybelyakov

    37 posts

    Any direction would be greatly appreciated, thanks!

    Well it was on Michael’s blog sometime ago but it’s not there after he updated. So you may find on the wiki. Here’s a link: http://codeigniter.com/wiki/Erkana/

  • #96 / Jun 06, 2008 11:07pm

    MercuryLime

    4 posts

    I am having a problem using MY_Controller. When I upload the file, my application stops working (loads blank pages). When I delete the file, my application works again.

    I modified it at first but this still holds true even when I upload the original MY_Controller.

    Any idea why it’s breaking the application?

    EDIT: Fixed—I took the “CI_” out of the line “class Public_Controller extends CI_Controller”.

  • #97 / Jun 23, 2008 9:42am

    Irimia

    4 posts

    Hello,

    Is this project still up? I can’t find any location to download it.

    Thanks,

  • #98 / Jun 27, 2008 12:45pm

    internut

    127 posts

    Not finding a download / zip either.  Nothing seems to be on the developers site?

  • #99 / Jul 10, 2008 6:25am

    setiawans

    10 posts

    Hello,

    Is this project still up? I can’t find any location to download it.

    Thanks,

    Check the wiki page, i have added download mirror information.

  • #100 / Jan 15, 2009 10:59am

    kRON

    10 posts

    The link for the Wiki article can be found here.

    I’d also like to say my praises for the lib. It’s so deliciously super simple! I’ve got it set up to handle site and facebook connect users. It’s just that easy to extend and wire in factory methods for your user model.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases