Welcome Guest, Not a member yet? Register   Sign In
error with loading model
#7

[eluser]gtech[/eluser]
the problem you are having is that errors and menu are not standard CI libraries, CI cannot find the errors library and that is why you are seeing that error message.

have you created the libraries in the ..\system\application\libraries directory?

Code:
//this is the problem line
$this->load->library('errors');

* although loading a view in a model is a tad unauthodox it will still work (I just tested it). *


Messages In This Thread
error with loading model - by El Forum - 06-18-2009, 05:01 AM
error with loading model - by El Forum - 06-18-2009, 05:11 AM
error with loading model - by El Forum - 06-18-2009, 05:23 AM
error with loading model - by El Forum - 06-18-2009, 05:36 AM
error with loading model - by El Forum - 06-18-2009, 01:38 PM
error with loading model - by El Forum - 06-18-2009, 01:44 PM
error with loading model - by El Forum - 06-18-2009, 07:08 PM
error with loading model - by El Forum - 06-23-2009, 08:19 PM



Theme © iAndrew 2016 - Forum software by © MyBB