2013-08-22 36 views
0

我最近尝试备份我的制作网站并将内容上传到本地运行的barbones drupal安装。当我做恢复,我得到约15秒以下错误进入更新:Drupal - 备份和迁移模块MySQL错误

PDOException: SQLSTATE[23000]: Integrity constraint violation: 1217 Cannot delete or 

update a parent row: a foreign key constraint fails in 

backup_migrate_destination_db_mysql->_restore_db_from_file() (line 201 of /Applications 

/XAMPP/xamppfiles/htdocs/devProject/sites/all/modules/backup_migrate/includes 

/destinations.db.mysql.inc). 

我查线201,它是模块的过程,其中从备份一行在时间的mysql:$stmt->execute();

我运行的模块版本是:Backup and Migrate 2 for Drupal 7.x

我的导入失败后,我得到PHP错误,杀死我的本地站点。

+0

该错误那种感觉就像你没有足够的内存分配做进口和备份通过故障部件的方式。你配置你的本地php.ini来增加php内存吗?您可能希望从全新安装开始,然后重试。你能分享你的PHP配置的内存位? – RyanParsley

+0

您可能会在[SE的Drupal站点](http://drupal.stackexchange.com)获得更好的结果。 – EmmyS

回答

0

您可能需要手动删除所有表和phpmyadmin的什么