Title: Import Error
Last modified: March 20, 2018

---

# Import Error

 *  Resolved [Ianb](https://wordpress.org/support/users/neiliid/)
 * (@neiliid)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/import-error-36/)
 * When trying to run an import using the duplicator installer, I encounter a 500
   error. The error log reports:
 * PHP Parse error: syntax error, unexpected ‘case’ (T_CASE), expecting end of file
   in /home/website/public_html/installer.php on line 977
 * The line refers to “case 2”. Not too sure what to change in the installer to 
   get it to work.

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [Cory Lamle](https://wordpress.org/support/users/corylamleorg/)
 * (@corylamleorg)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/import-error-36/#post-10096204)
 * Hey [@neiliid](https://wordpress.org/support/users/neiliid/),
 * It looks like the installer may have gotten corrupted at build or maybe during
   the download. There should be another copy of it inside the archive.zip file.
   Its named installer-backup.php try and see if that one will work.
 * Hope that helps~
 *  Thread Starter [Ianb](https://wordpress.org/support/users/neiliid/)
 * (@neiliid)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/import-error-36/#post-10149333)
 * Thanks for the help on this, there were three issues to resolve:
 * 1. Mod rewrite needed to be enabled
    2. The extraction needed to be manual 3.
   As noted in original reply, the installer was corrupt, the packaged installer
   was needed.
 * Sorted these out and the installation worked flawlessly. Used the WP plugin Velvet
   Blue to update URLs in the database once restored.
 * CHeers
 * Neil
 *  [Cory Lamle](https://wordpress.org/support/users/corylamleorg/)
 * (@corylamleorg)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/import-error-36/#post-10151553)
 * Thanks for the update!

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Import Error’ is closed to new replies.

 * ![](https://ps.w.org/duplicator/assets/icon-256x256.png?rev=2906985)
 * [Duplicator - Backups & Migration Plugin - Cloud Backups, Scheduled Backups, & More](https://wordpress.org/plugins/duplicator/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/duplicator/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/duplicator/)
 * [Active Topics](https://wordpress.org/support/plugin/duplicator/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/duplicator/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/duplicator/reviews/)

## Tags

 * [installer](https://wordpress.org/support/topic-tag/installer/)

 * 3 replies
 * 2 participants
 * Last reply from: [Cory Lamle](https://wordpress.org/support/users/corylamleorg/)
 * Last activity: [8 years, 1 month ago](https://wordpress.org/support/topic/import-error-36/#post-10151553)
 * Status: resolved