Welcome Guest, Not a member yet? Register   Sign In
The Auth Library 1.0.3 - The Easiest Auth Library for CodeIgniter
#81

[eluser]Adam Griffiths[/eluser]
A quick update on The Authentication Library.

The Authentication Library is now hosted on Github. The latest version will always be in the master branch whilst the "bleeding edge" version will be in the bleeding edge branch.
#82

[eluser]spmckee[/eluser]
Thanks for the generosity Adam Smile

I copied all the files over from the latest link over at github and am getting this error:
Code:
Fatal error: Class 'MY_Controller' not found in C:\xampplite\htdocs\site\system\application\controllers\home.php on line 2

Any ideas why?
#83

[eluser]Adam Griffiths[/eluser]
[quote author="spmckee" date="1240218978"]Thanks for the generosity Adam Smile

I copied all the files over from the latest link over at github and am getting this error:
Code:
Fatal error: Class 'MY_Controller' not found in C:\xampplite\htdocs\site\system\application\controllers\home.php on line 2

Any ideas why?[/quote]

I copied the files over just now and don't get this error. I noticed the controller is called home.php - have you created a new controller and extended MY_Controller instead of 'Application'?

Just in case you haven't seen the link, the user guide is here - I updated it recently.


Thanks.
#84

[eluser]spmckee[/eluser]
Adam,

My home controller looks like:
Code:
<?php
class Home extends MY_Controller {

  function Home()
  {
    parent::MY_Controller();
  }

  function index()
  {
  }
}
?>

Should it be?:
Code:
<?php
class Home extends Application {

  function Home()
  {
    parent::MY_Controller();
  }

  function index()
  {
  }
}
?>
#85

[eluser]Adam Griffiths[/eluser]
It should be.

Code:
<?php
class Home extends Application {

  function Home()
  {
    parent::Application();
  }

  function index()
  {
  }
}
?>

Thanks.
#86

[eluser]spmckee[/eluser]
Ah yes, brain lapse on my part. Thanks again.
#87

[eluser]Adam Griffiths[/eluser]
I have created a new support forum thread for comments and questions along with a new version of The Authentication Library. This can be found here.

Thanks.
#88

[eluser]sihijau[/eluser]
[quote author="Adam Griffiths" date="1235694464"]@aken: Thanks for telling me, it helps a load, this is why I love open source!

I fixed all the problems except for PHP4 compatibility, I didn't have enough time to dig deep to identify the problem.

Get the new files (sans CI files) from here

See what's been done here.[/quote]

Your URL is broken, where i can download this library
#89

[eluser]LagniappeInternet[/eluser]
That's an old URL
Check out his user guide at http://www.adamgriffiths.co.uk/user_guide/

It has a link to the github depot ... http://github.com/adamgriffiths/the-code...ree/master
#90

[eluser]filip_de_backer[/eluser]
Hi Everyone,

I'm new to CI. I'm checkin out this authentication library.
It works fine when I use the login page made by Adam Griffiths.
But I want the login form in my home page.
Is that possible with this library?

thanks!

Filip




Theme © iAndrew 2016 - Forum software by © MyBB