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.

Ion Auth - Lightweight Auth System based on Redux Auth 2

February 10, 2010 7:00pm

Subscribe [287]
  • #706 / Jan 04, 2011 4:13pm

    Glazz

    170 posts

    Thank you that fixed the problem 😉

  • #707 / Jan 09, 2011 3:44am

    Ben Edmunds

    812 posts

    Glazz,

    Can you walk me through the exact steps to reproduce these errors?

    EllisLab doesn’t want to use the CI_Model patch so I need to figure out exactly what is causing this.


    Thanks!

  • #708 / Jan 09, 2011 9:25am

    Glazz

    170 posts

    Glazz,

    Can you walk me through the exact steps to reproduce these errors?

    EllisLab doesn’t want to use the CI_Model patch so I need to figure out exactly what is causing this.


    Thanks!

    Hi,

    Sincerelly i don’t know, because it sometimes show me that error, and other times it doesn’t.

    But with that fix the error didn’t showed up again.

    Sorry.

  • #709 / Jan 09, 2011 12:26pm

    joytopia

    76 posts

    Ben,

    The error comes up with “remember me”, after the session has expired.
    To reproduce this, set in config/config.php => Session Variables the expriation value to a short time, i.e.

    $config['sess_expiration']        = 10;

    Now log in with “remember me”, wait some seconds and reload the page several times (up to 6 -10 times). Sometimes the error messages come, sometimes they don’t.

    Hope, that you can reproduce this error.

    Best regards

    Bernd

  • #710 / Jan 09, 2011 8:09pm

    Devon Lambert

    139 posts

    I haven’t been able to reproduce recently, but I recall that it worked similar to what Bernd has pointed out.

    Still not convinced that the solution I offered was terribly harmful, but PK thinks so, and I’m sure he knows far better than I do. 😊

    - Devon

  • #711 / Jan 11, 2011 1:12pm

    lduarte

    7 posts

    this is the first time i use Ion Autn, it´s possible call the function login from other controller? i need create a login form in a specific controller. can be done?

    thank you

  • #712 / Jan 11, 2011 1:47pm

    joytopia

    76 posts

    lduarte,

    of course you can. The controller is just an example.

    Best regards
    Bernd

  • #713 / Jan 11, 2011 1:55pm

    lduarte

    7 posts

    and how can i do that? i load the library, o create a new classe ?
    i sory i just start coding with codeigniter last weak :D

  • #714 / Jan 12, 2011 2:16pm

    lduarte

    7 posts

    Hi, I make a classe and use some code of auth.php (Controller).

    I have some views in my class (homepage) to display news, the menu and a module to do Login.
    The problem is when i try to login with a wrong account, the redirect is always index.php/auth/login, and i like stay in the same page like index/homepage/.

    It´s possible change the redirect? i try a lot of times, in a diferent ways.

    Can someone help please?

    Thank you!

  • #715 / Jan 13, 2011 1:27am

    kimo_gusatava

    25 posts

    Hi,

    I’ve been using this library for sometimes now, and it did the job for me…

    Thanks!

    Currently I am working on an oracle 10g db, and was having a lot of problem migrating it to SQL specially with the way active record qoutes most of the table names and having errors on uppercase.

    Secondly I wanted to make use of Oracles stored procedures and views for a faster query…

    My current progress is creating my own library (ala active record) but was put to halt on updating the last login… since ora is very strict on dates (and I want to use stored proc on this…)


    Any help or does anyone had an experience on this is appreciated…


    PM me if anyone is interested…

    Cheers!

  • #716 / Jan 16, 2011 2:19am

    Ben Edmunds

    812 posts

    Thanks for the info Bernd.  I’ll let you know what I find.


    Devon,

    Personally I think your solution should be implemented.  I can understand Pascal’s objection but IMHO we’re using PHP not Obj-C or whatever language and this is how things are typically done in PHP so why add some additional restriction on ourselves.  But his objection does have validity, it just boils down to personal coding preference so since he has quite a bit more say with CI we’ll make it work his way 😉  No worries.

  • #717 / Jan 17, 2011 10:01am

    mikkelz

    4 posts

    I just want to give a massive thanks to Ben Edmunds, Phil Sturgeon and anyone else who’s contributed to this awesome library. I’ve been using Ion Auth for a few days now and it’s been brilliant!

    I love the fact that it’s completely separated from any specific way of implementing it and the example code in the views is brilliant to get one started.

  • #718 / Jan 19, 2011 9:43am

    Frank Rocco

    109 posts

    Hello,

    Forgot password not working.
    I am using godaddy.com
    and CI 2.0

    A PHP Error was encountered

    Severity: Warning

    Message: mail() [function.mail]: Bad parameters to mail() function, mail not sent.

    Filename: libraries/Email.php

    Line Number: 1521

    A PHP Error was encountered

    Severity: Warning

    Message: Cannot modify header information - headers already sent by (output started at /home/content/88/5498088/html/ci/system/core/Exceptions.php:171)

    Filename: libraries/Session.php

    Line Number: 670

  • #719 / Jan 19, 2011 10:05am

    Ben Edmunds

    812 posts

    Thanks mikkelz!


    Frank,

    You need to setup your local mail server.

  • #720 / Jan 19, 2011 10:08am

    Frank Rocco

    109 posts

    Hi Ben,

    godaddy is working for sending other emails from within my ci program.

    Not sure what to change.

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

ExpressionEngine News!

#eecms, #events, #releases