Welcome Guest, Not a member yet? Register   Sign In
Connecting to multiple databases ?
#4

[eluser]InsiteFX[/eluser]
Well non-object meaqns it is not seeing the database!

I would verify that the database is being set.
Code:
function __construct() {
        // Call the Model constructor
        parent::__construct();

        $this->db_erp = $this->load->database('sugarcrm', TRUE);

        // test to see if the database is setting!
        var_dump($this->db_erp);
    }

InsiteFX


Messages In This Thread
Connecting to multiple databases ? - by El Forum - 06-07-2011, 09:09 AM
Connecting to multiple databases ? - by El Forum - 06-07-2011, 09:15 AM
Connecting to multiple databases ? - by El Forum - 06-07-2011, 09:24 AM
Connecting to multiple databases ? - by El Forum - 06-07-2011, 09:40 AM
Connecting to multiple databases ? - by El Forum - 06-07-2011, 09:45 AM
Connecting to multiple databases ? - by El Forum - 06-07-2011, 03:07 PM
Connecting to multiple databases ? - by El Forum - 06-08-2011, 04:30 AM



Theme © iAndrew 2016 - Forum software by © MyBB