Thursday, April 1, 2010

$useTable doesnt work...

Hi,

i get this error:

Error: Database table aliases for model Alias was not found.

But I uses the var $useTable.

My Model:

?php
    
class Alias extends AppModel
    
{
        
        var 
$useTable "virtual_aliases";
        
        
//Relation to the other Tables
        
var $belongsTo "Domain";

    }
?>


Is here a problem with this Model, or come the problem from a related Model?

I should use 1.2 instead of 1.3 RC2?

thanks a lot and have a nice day
Daniel

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 cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en

No comments: