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錯誤,殺死我的本地站點。
該錯誤那種感覺就像你沒有足夠的內存分配做進口和備份通過故障部件的方式。你配置你的本地php.ini來增加php內存嗎?您可能希望從全新安裝開始,然後重試。你能分享你的PHP配置的內存位? – RyanParsley
您可能會在[SE的Drupal站點](http://drupal.stackexchange.com)獲得更好的結果。 – EmmyS