Title: Import broken &#8211; with JavaScript error
Last modified: July 28, 2021

---

# Import broken – with JavaScript error

 *  Resolved [catacaustic](https://wordpress.org/support/users/catacaustic/)
 * (@catacaustic)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/import-broken-with-javascript-error/)
 * I cannot upload a file from my PC to my website. This is occuring because of 
   a JavaScript error in the uploader. See screenshot for more details [https://imgur.com/UxLdpm8](https://imgur.com/UxLdpm8)
 * I have increased the file upload and timeout limits as has been suggested in 
   the last support topics, and this has not helped. For reference the file is 597MB,
   and all upload/file size limits are set to 1000mb (verified on the uploader).
 * This JavaScript error comes up in multiple browsers, so it’s not browser-dependant.

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

 *  Plugin Author [Yani](https://wordpress.org/support/users/yaniiliev/)
 * (@yaniiliev)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/import-broken-with-javascript-error/#post-14711750)
 * Yes, the issue is related to a limit on the hosting provider.
    The easiest way
   to figure out the problem is to request error logs from your hosting provider
   for your website, then examine them around the time when you tried to upload 
   the file. You will see what limit you have encountered and increasing it will
   solve the issue. The settings in PHP (but not all) that you likely need to adjust
   are:
    - `upload_max_filesize` – set this to a value > than your backup
    - `post_max_size` – set this to a value > than your backup
    - `memory_limit` – set this to a value > than your backup
    - `max_execution_time` – set this to 0 (infinite)
 *  -  This reply was modified 4 years, 10 months ago by [Yani](https://wordpress.org/support/users/yaniiliev/).
 *  [michelledinan](https://wordpress.org/support/users/michelledinan/)
 * (@michelledinan)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/import-broken-with-javascript-error/#post-14714034)
 * Hey, I’ve been keeping my eye on this forum for a few days as I’m getting exactly
   the same problem – file seems to upload to 100% and then hangs. Looking in the
   console there is a JavaScript error. I have previously upped all the limits as
   well. I checked the server log and it just says ‘403’ (forbidden).

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

The topic ‘Import broken – with JavaScript error’ is closed to new replies.

 * ![](https://ps.w.org/all-in-one-wp-migration/assets/icon-256x256.png?rev=2458334)
 * [All-in-One WP Migration and Backup](https://wordpress.org/plugins/all-in-one-wp-migration/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/all-in-one-wp-migration/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/all-in-one-wp-migration/)
 * [Active Topics](https://wordpress.org/support/plugin/all-in-one-wp-migration/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/all-in-one-wp-migration/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/all-in-one-wp-migration/reviews/)

 * 2 replies
 * 3 participants
 * Last reply from: [michelledinan](https://wordpress.org/support/users/michelledinan/)
 * Last activity: [4 years, 10 months ago](https://wordpress.org/support/topic/import-broken-with-javascript-error/#post-14714034)
 * Status: resolved