CodeIgniter Forums
Problem with Openid.php library - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21)
+--- Thread: Problem with Openid.php library (/showthread.php?tid=32289)



Problem with Openid.php library - El Forum - 07-19-2010

[eluser]DJMOHNL[/eluser]
The attached file is the exact file library Openid.php i am using.

I have a problem with redirecting when user link is '' or isnt correct filled in.
When i dowloaded the library from the wiki it showed "Authentication error; not a valid OpenID." wich is
Code:
$this->lang->line('openid_auth_error');

I have done some changes to the _set_message() function in the file and now it shows a blank page ?!? What i want it to do is:
Code:
redirect('');
but how do i do this?

Can someone help me out here ? i might be helpfull to others too...

i tried:
Code:
$CI->redirect(''); //tested, doesnt work, why ?
redirect(''); // tested, doenst work. why ?

the file exits or dies (exit; or die()Wink somewhere, i cant find it... why ?

thanks a 100 times


Problem with Openid.php library - El Forum - 07-20-2010

[eluser]DJMOHNL[/eluser]
FIXED followed the tutorial