"yii framework: the table for active record class cannot be found in the database" Code Answer

2

it turns out the data was not imported to the named database. instead it was imported to the user's database. in this case 'postgres'. the fix in this case is to re-import the data to the correct location, or change the yii config (our decision). new connection settings:

'db'=>array('connectionstring' => 'pgsql:dbname=postgres', 'emulateprepare' => true, 'username' => 'postgres','password' => '',)
By Guy on March 28 2022

Answers related to “yii framework: the table for active record class cannot be found in the database”

Only authorized users can answer the Search term. Please sign in first, or register a free account.