Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ошибка деинсталляции модуля "Вики" #955

Closed
davetoxa opened this issue May 7, 2013 · 1 comment
Closed

Ошибка деинсталляции модуля "Вики" #955

davetoxa opened this issue May 7, 2013 · 1 comment

Comments

@davetoxa
Copy link
Contributor

davetoxa commented May 7, 2013

Во время установки возникла ошибка: > drop table {{wiki_wiki_link}} ... done (time: 0.183s) > drop table {{wiki_wiki_page_revision}} ...Exception: CDbCommand не удалось исполнить SQL-запрос: SQLSTATE[23000]: Integrity constraint violation: 1217 Cannot delete or update a parent row: a foreign key constraint fails (C:\wamp\www\yupe\framework\yiilite.php:8893)
#0 C:\wamp\www\yupe\framework\yiilite.php(9331): CDbCommand->execute()
#1 C:\wamp\www\yupe\framework\db\CDbMigration.php(253): CDbCommand->dropTable('{{wiki_wiki_pag...')
#2 C:\wamp\www\yupe\protected\modules\yupe\components\YDbMigration.php(209): CDbMigration->dropTable('{{wiki_wiki_pag...')
#3 C:\wamp\www\yupe\protected\modules\yeeki\install\migrations\m000000_000000_yeeki_base.php(89): YDbMigration->dropTableWithForeignKeys('{{wiki_wiki_pag...')
#4 C:\wamp\www\yupe\framework\db\CDbMigration.php(77): m000000_000000_yeeki_base->safeDown()
#5 C:\wamp\www\yupe\protected\modules\yupe\components\migrator\Migrator.php(289): CDbMigration->down()
#6 C:\wamp\www\yupe\protected\modules\yupe\components\YWebModule.php(476): Migrator->migrateDown('yeeki', 'm000000_000000_...')
#7 C:\wamp\www\yupe\protected\modules\yupe\components\YWebModule.php(423): YWebModule->uninstallDB()

@im-kulikov
Copy link
Contributor

У меня уже есть решение, оно касательно метода мигратора, чуть позже солью

@ghost ghost assigned im-kulikov May 7, 2013
im-kulikov added a commit that referenced this issue May 7, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants