Hello,
I get the following message when attempting to connect to DB2
Your database configuration file is present.
Fatal error: Call to a member function isConnected() on a non-object
in C:\Program Files\Apache Software Foundation\Apache2.2\htdocs
\uigr2\cake\libs\view\pages\home.ctp on line 84
I have the datasource registered as a System DNS and can successfully
connect outside of cake with:
$dbconn = db2_connect($dbname, $username, $password);
I have tried both of these configurations:
var $default = array(
'driver' => 'odbc',
'persistent' => false,
'host' => 'localhost',
'login' => 'mdstest',
'password' => 'xxxxxxx',
'database' => 'UIGR_DB',
'prefix' => '',
'schema' => 'MDSTEST',
'encoding' => 'utf8',
);
var $default = array(
'driver' => 'db2',
'persistent' => false,
'host' => 'localhost',
'login' => 'mdstest',
'password' => 'xxxxxxx',
'database' => 'UIGR_DB',
'prefix' => '',
'schema' => 'MDSTEST',
'encoding' => 'utf8',
);
Any advice?
Thanks!
Check out the new CakePHP Questions site http://cakeqs.org and help others with
their CakePHP related questions.
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected] For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en