sql - Class 'Category' not found in C:\xampp\htdocs\tg\system\core\Loader.php on line 303 -
i have xampp folder in c drive can use mysql , admin , can function related db .. have problem in running folder i.e, tg data website present in.
when try run website gives me error:
fatal error: class 'category' not found in c:\xampp\htdocs\tg\system\core\loader.php on line 303
what can reduce this? have on short open tag , again try open local host tg can not open it.
did update base_url() in codeigniter/config/config.php ?
look for
$config['base_url'] = 'http://localhost/your_codeigniter_directory/';
and change
$config['base_url'] = 'http://www.yourdomain.com/your_codeigniter_directory/';
your error shows application still in xampp no?
ReplyDeleteYou must change the parameter in the PHP.INI short_open_tag to On. Then restart apache.
this happens since the code is used <? instead of <? php