Hi
I'm using adodb to connect to my DB (MSSQL2000) and when I write:
function returnSomething
{
$this->set('data',$this->MyModel->findAll());
}
I get the following message from the browser:
Warning: Missing argument 2 for DboAdodb::fields(), called in mySite
\cake\libs\model\datasources\dbo_source.php on line 580 and defined in
mySite\cake\libs\model\dbo\dbo_adodb.php on line 331
Warning: Missing argument 3 for DboAdodb::fields(), called in mySite
\cake\libs\model\datasources\dbo_source.php on line 580 and defined in
mySite\cake\libs\model\dbo\dbo_adodb.php on line 331
Notice: Undefined variable: fields in misSite\cake\libs\model\dbo
\dbo_adodb.php on line 332
Notice: Undefined variable: fields in misSite\cake\libs\model\dbo
\dbo_adodb.php on line 335
Notice: Undefined variable: alias in misSite\cake\libs\model\dbo
\dbo_adodb.php on line 362
Where I can spicified the fields and alias?
Thanx
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake
PHP" 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
-~----------~----~----~----~------~----~------~--~---