CodeIgniter Forums
Error Not Showing Autoload.php - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Development (https://forum.codeigniter.com/forumdisplay.php?fid=6)
+--- Forum: CodeIgniter 2.x (https://forum.codeigniter.com/forumdisplay.php?fid=18)
+--- Thread: Error Not Showing Autoload.php (/showthread.php?tid=1290)



Error Not Showing Autoload.php - wolfgang1983 - 02-25-2015

When I load my I auto load my library user_auth if file not there does not throw any errors example could not find user_auth.

I thought it should throw error if file not there in autoload.php


Any suggestions.


RE: Error Not Showing Autoload.php - Rufnex - 02-26-2015

If you include a libary in the autoload config

$autoload['libraries'] = array(...);

And the file issnt there you should get an error.


RE: Error Not Showing Autoload.php - wolfgang1983 - 02-26-2015

(02-26-2015, 12:59 AM)Rufnex Wrote: If you include a libary in the autoload config

$autoload['libraries'] = array(...);

And the file issnt there you should get an error.

I don't get error very strang


RE: Error Not Showing Autoload.php - Rufnex - 02-26-2015

Do you load the library somewhere inside your controllers or models?


RE: Error Not Showing Autoload.php - wolfgang1983 - 02-26-2015

(02-26-2015, 02:50 AM)Rufnex Wrote: Do you load the library somewhere inside your controllers or models?

Will go and check, I did a fresh install and shows error so some thing I must have done wrong on other one.

Will let you know later.


RE: Error Not Showing Autoload.php - wolfgang1983 - 02-26-2015

(02-26-2015, 02:50 AM)Rufnex Wrote: Do you load the library somewhere inside your controllers or models?

Hi just let you know it was a error in install process that was causing my autoload not to pick up errors.


RE: Error Not Showing Autoload.php - Rufnex - 02-26-2015

Sometimes things going strange ;o)