I need help. I’ave already added the prefixes. After entering databases info on Step 1, I get the following error on the 2nd step:
CDbException
The table “{{core_website}}” for active record class “Mage1Website” cannot be found in the database.
/home/lp3ikpichhu7/public_html/pub/ub-tool/yii-1.1.19/db/ar/CActiveRecord.php(2390)
2378 2379 /** 2380 * Constructor. 2381 * @param CActiveRecord $model the model instance 2382 * @throws CDbException if specified table for active record class cannot be found in the database 2383 */ 2384 public function __construct($model) 2385 { 2386 $this->_modelClassName=get_class($model); 2387 2388 $tableName=$model->tableName(); 2389 if(($table=$model->getDbConnection()->getSchema()->getTable($tableName))===null) 2390 throw new CDbException(Yii::t('yii','The table "{table}" for active record class "{class}" cannot be found in the database.', 2391 array('{class}'=>$this->_modelClassName,'{table}'=>$tableName))); 2392 2393 if(($modelPk=$model->primaryKey())!==null || $table->primaryKey===null) 2394 { 2395 $table->primaryKey=$modelPk; 2396 if(is_string($table->primaryKey) && isset($table->columns[$table->primaryKey])) 2397 $table->columns[$table->primaryKey]->isPrimaryKey=true; 2398 elseif(is_array($table->primaryKey)) 2399 { 2400 foreach($table->primaryKey as $name) 2401 { 2402 if(isset($table->columns[$name]))
3 answers
Hi there,
CDbException
The table “{{core_website}}” for active record class “Mage1Website” cannot be found in the
Does your M1 database have a database prefix? If it does, you need to declare the prefix in Step #1 of our migration tool.
Please check it again. And contact me if you need further assistance.
Regards,
Mall.
Thank you -- I was able to fix it. 🙂
I’m posting another question separately.
Hi there,
Glad you figured it out. Please give our technical team sometime to follow up on your 2nd question.
Thanks,
Ubertheme team