Call to a member function ... on a non-object |
[eluser]soluicius[/eluser]
Hello, I followed this tutorial( https://tutsplus.com/course/codeigniter-best-practices/ - 04-Using Third Party Libraries) but i'm stuck while securing the pages. I think spark doesn't load ion_auth model I get this error: Code: A PHP Error was encountered Here is my controller: 1) user.php Code: <?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); 2) welcome.php Code: <?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); and in autoload.php i have: Code: $autoload['sparks'] = array('ion_auth'); |
Messages In This Thread |
Call to a member function ... on a non-object - by El Forum - 04-14-2012, 07:33 AM
Call to a member function ... on a non-object - by El Forum - 04-14-2012, 08:14 AM
Call to a member function ... on a non-object - by El Forum - 04-14-2012, 08:20 AM
Call to a member function ... on a non-object - by El Forum - 04-14-2012, 08:32 AM
Call to a member function ... on a non-object - by El Forum - 10-06-2012, 03:30 AM
Call to a member function ... on a non-object - by El Forum - 10-06-2012, 04:14 AM
Call to a member function ... on a non-object - by El Forum - 10-06-2012, 06:03 AM
Call to a member function ... on a non-object - by El Forum - 10-06-2012, 08:23 AM
Call to a member function ... on a non-object - by El Forum - 03-12-2014, 01:38 PM
|