Welcome Guest, Not a member yet? Register   Sign In
_assign_libraries error when adding to the database
#7

[eluser]jedd[/eluser]
Yes - removing the _assign_libraries() call from the core Loader class is likely to break other things.

The problem here is that you're experiencing a unique problem. This is why we tend to think it's something you've changed or done, rather than something wrong with the CI files.

Hmm, I was about to suggest you go through the same process again, only this time checking each time you add a new file, or at least confirming the basic system is working, but re-scanning your original question again I see that this bit might be a problem:

Code:
// controller ...
    function enviar(){
        $this->load->model('pedidos');

Code:
// model ...
class Pedidos_model extends Model{

In your controller, you really need to load the name of your model - in this case Pedidos_model and not the name of your controller (pedidos).

Try changing your controller to:
Code:
$this->load->model('Pedidos_model');


Messages In This Thread
_assign_libraries error when adding to the database - by El Forum - 10-09-2009, 07:52 PM
_assign_libraries error when adding to the database - by El Forum - 10-10-2009, 01:54 AM
_assign_libraries error when adding to the database - by El Forum - 10-10-2009, 06:11 PM
_assign_libraries error when adding to the database - by El Forum - 10-10-2009, 07:05 PM
_assign_libraries error when adding to the database - by El Forum - 10-10-2009, 07:24 PM
_assign_libraries error when adding to the database - by El Forum - 10-11-2009, 04:43 PM
_assign_libraries error when adding to the database - by El Forum - 10-12-2009, 02:50 PM
_assign_libraries error when adding to the database - by El Forum - 10-25-2009, 02:54 PM
_assign_libraries error when adding to the database - by El Forum - 05-10-2010, 03:59 AM



Theme © iAndrew 2016 - Forum software by © MyBB