Welcome Guest, Not a member yet? Register   Sign In
site stops working after adding database,ion_auth,session , and email libraries
#1

[eluser]dinisptc[/eluser]
site stops working after adding database,ion_auth,session , and email libraries

the auto load

$autoload['packages'] = array(APPPATH.'third_party/ion_auth');

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

the path of ion auth
/var/www/site/application/third_party/ion_auth

$autoload['helper'] = array('html','url','form');

$autoload['model'] = array('ion_auth_model');

the site doesn't show any error its just empty

thanks
pedro
#2

[eluser]dinisptc[/eluser]
the problem is that the database is not working
when i add the database to the libraries
$autoload['libraries'] = array('session','email','database');
there is no error message and the site just stops working

iam using mysql workbench

this the config of the database


$db['default']['hostname'] = 'localhost';
$db['default']['username'] = 'root';
$db['default']['password'] = 'root';
$db['default']['database'] = 'dbteste';
$db['default']['dbdriver'] = 'mysql';
$db['default']['dbprefix'] = '';
$db['default']['pconnect'] = TRUE;
$db['default']['db_debug'] = TRUE;
$db['default']['cache_on'] = FALSE;
$db['default']['cachedir'] = '';
$db['default']['char_set'] = 'utf8';
$db['default']['dbcollat'] = 'utf8_general_ci';
$db['default']['swap_pre'] = '';
$db['default']['autoinit'] = TRUE;
$db['default']['stricton'] = FALSE;


thanks
pedro




Theme © iAndrew 2016 - Forum software by © MyBB