• Resolved thomcrielaard

    (@thomcrielaard)


    I am trying to upload my local wordpress site to a temporary remote site, so my client will be able to view the site whilst I’m designing it. When I try to upload the site I get the following error within my JS console (and the upload just stays on 0.0 percent):

    JQMIGRATE: Migrate is installed, version 3.3.2
    /wp-admin/admin-ajax.php?action=ai1wm_import&ai1wm_import=1:1 Failed to load resource: the server responded with a status of 413 ()
    import.min.js?v=7.40&ver=5.7:1128 Uncaught Error: error
        at Object.error (import.min.js?v=7.40&ver=5.7:1128)
        at c (load-scripts.php?c=0&load[chunk_0]=jquery-core,jquery-migrate,utils&ver=5.7:2)
        at Object.fireWith [as rejectWith] (load-scripts.php?c=0&load[chunk_0]=jquery-core,jquery-migrate,utils&ver=5.7:2)
        at l (load-scripts.php?c=0&load[chunk_0]=jquery-core,jquery-migrate,utils&ver=5.7:2)
        at XMLHttpRequest.<anonymous> (load-scripts.php?c=0&load[chunk_0]=jquery-core,jquery-migrate,utils&ver=5.7:2)
    /wp-admin/admin-ajax.php?action=ai1wm_import&ai1wm_import=1:1 Failed to load resource: the server responded with a status of 413 ()
    import.min.js?v=7.40&ver=5.7:1128 Uncaught Error: error
        at Object.error (import.min.js?v=7.40&ver=5.7:1128)
        at c (load-scripts.php?c=0&load[chunk_0]=jquery-core,jquery-migrate,utils&ver=5.7:2)
        at Object.fireWith [as rejectWith] (load-scripts.php?c=0&load[chunk_0]=jquery-core,jquery-migrate,utils&ver=5.7:2)
        at l (load-scripts.php?c=0&load[chunk_0]=jquery-core,jquery-migrate,utils&ver=5.7:2)
        at XMLHttpRequest.<anonymous> (load-scripts.php?c=0&load[chunk_0]=jquery-core,jquery-migrate,utils&ver=5.7:2)

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Yani Iliev

    (@yaniiliev)

    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 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)

    Also, please read these two guides:

    Thread Starter thomcrielaard

    (@thomcrielaard)

    Hi Yani,

    Thank you for taking the time to respond to my ticket. Unfortunaly, none of these settings has had any effect on uploading the file. I have requested my hosting provider to send me the logs, is it okay for me to share them with you once I have received them?

    Thanks in advance,

    Thom

    Plugin Author Yani Iliev

    (@yaniiliev)

    The logs contain sensitive information. Do not post them here.
    The guide above is for you to explore and to try to solve the issue on your own.
    If it is difficult, you should consider hiring someone so that you can give them direct access to the site for a far more efficient fix than we can provide here.

    Please try https://jobs.wordpress.net/ and do not accept any hire offers posted to these forums.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Error when uploading file’ is closed to new replies.