Welcome Guest, Not a member yet? Register   Sign In
Call to a member function Create() on a non-object
#1

[eluser]Ludatha[/eluser]
Hey I am new to CI and I want to change my current site to use it.
I have downloaded the library SimpleLoginSecure and cannot seem to get it working.

This is my complete code.
Code:
<?php
class Profile extends Controller {    
    function index()
    {
        $this->load->library('SimpleLoginSecure');
        $this->SimpleLoginSecure->Create('usernamehere', 'passwordhere');
    }
}
?>

Errors:

A PHP Error was encountered
Severity: Notice
Message: Undefined property: Profile::$SimpleLoginSecure
Filename: controllers/profile.php
Line Number: 6

Fatal error: Call to a member function Create() on a non-object in D:\wamp3\www\php\system\application\controllers\profile.php on line 6

When things go wrong it is generally something obvious so I apologise if it is.

- Adam


Messages In This Thread
Call to a member function Create() on a non-object - by El Forum - 05-25-2009, 11:20 AM
Call to a member function Create() on a non-object - by El Forum - 05-25-2009, 11:26 AM
Call to a member function Create() on a non-object - by El Forum - 05-25-2009, 11:38 AM
Call to a member function Create() on a non-object - by El Forum - 05-25-2009, 11:44 AM
Call to a member function Create() on a non-object - by El Forum - 05-25-2009, 11:49 AM
Call to a member function Create() on a non-object - by El Forum - 05-25-2009, 12:05 PM
Call to a member function Create() on a non-object - by El Forum - 05-25-2009, 01:04 PM
Call to a member function Create() on a non-object - by El Forum - 05-25-2009, 01:07 PM
Call to a member function Create() on a non-object - by El Forum - 05-25-2009, 01:15 PM
Call to a member function Create() on a non-object - by El Forum - 05-25-2009, 01:17 PM



Theme © iAndrew 2016 - Forum software by © MyBB