Welcome Guest, Not a member yet? Register   Sign In
try help me with this error
#1

[eluser]ejanmapet[/eluser]
i have try 2 follow login form tutorial..but i've got this error

Fatal error: Class 'Base_Model' not found in C:\wamp\www\try\system\application\models\Users_model.php on line 3

and this is the code i'm using in model

this is user_model file

<?php if (!defined('BASEPATH')) exit('No direct script access allowed');

class Users_model extends Base_Model
{
function Users_model()
{
parent::Base_model('users');
}
}
?>

this is base_model file

class Base_model extends Model //required by all models
{
var $table, $resultset, $select;

function Base_model($table = NULL)
{
parent::Model();
$this->table = $table;
$this->resultset = array();
$this->select = '*';

log_message('debug', "Base_model initialised as {$this->table}");
}

can i get some idea y i got this bug..really appreciate...thanks..


Messages In This Thread
try help me with this error - by El Forum - 04-10-2008, 08:48 PM
try help me with this error - by El Forum - 04-10-2008, 09:00 PM
try help me with this error - by El Forum - 04-10-2008, 09:10 PM
try help me with this error - by El Forum - 04-11-2008, 06:08 AM
try help me with this error - by El Forum - 04-11-2008, 11:13 AM
try help me with this error - by El Forum - 04-11-2008, 11:29 AM
try help me with this error - by El Forum - 04-11-2008, 11:42 AM



Theme © iAndrew 2016 - Forum software by © MyBB