having trouble implimenting ion auth into my web application. |
[eluser]bradyrose[/eluser]
Hello, i am having some problems getting ion auth to function in my web application, you can see the errors i am receiving here: http://www.cashforbtc.com/index.php/pages/view/login2 If someone does not immediately know what mistake i am making, I will update this thread with my controller/ view, etc. I'm pretty sure im just missing something.
[eluser]solid9[/eluser]
The problem is very basic. You forgot to pass the variables into array through view properly.
[eluser]bradyrose[/eluser]
here is what i have in my view, I guessed that this is likely something simple, but i am still uncertain how I would go about passing such variables. Code: <?php
[eluser]bradyrose[/eluser]
this is my pages controller, also amoung my controllers is the one you install with ion auth: Code: <?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
[eluser]solid9[/eluser]
In your controller Pages, Index Method do this, Code: <?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); or you can try like this, Code: <?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); It's untested so just post if you encounter error. |
Welcome Guest, Not a member yet? Register Sign In |