Welcome Guest, Not a member yet? Register   Sign In
[TUTORIAL] *UPDATED* Using jQuery and CI for a AJAX Login (v0.2) + example rar
#13

[eluser]dmiden[/eluser]
[quote author="abdee" date="1205072705"]There is something error!!! Sad

why???
Fatal error: Call to a member function userdata() on a non-object in E:\web\xampp\htdocs\aleh\system\application\views\userLogin.php on line 36[/quote]

Check that you have loaded the 'session' library in your system/application/config/autoload.php file.

If not, just add it to the array, e.g.
Code:
/*
| -------------------------------------------------------------------
|  Auto-load Libraries
| -------------------------------------------------------------------
| These are the classes located in the system/libraries folder
| or in your system/application/libraries folder.
|
| Prototype:
|
|    $autoload['libraries'] = array('database', 'session', 'xmlrpc');
*/

$autoload['libraries'] = array('database', 'session', 'xmlrpc');

Notice that 'session' is included.


Messages In This Thread
[TUTORIAL] *UPDATED* Using jQuery and CI for a AJAX Login (v0.2) + example rar - by El Forum - 03-09-2008, 08:06 AM



Theme © iAndrew 2016 - Forum software by © MyBB