• when I try to upload an image it gets stuck when processing… when I reload the page the image has been uploaded, I have tried to deactivate all plugins and use the default theme but it still gets stuck, when I look in the console it says “SCRIPT5022: SyntaxError touch-keyboard-navigation.js (189,2)” when I try to upload.

    do anybody have a solution to this problem.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Ultimate Member Support

    (@ultimatemembersupport)

    Hi @fatdane,

    This issue can be due to your server settings.
    Can you please check our doc on how to troubleshoot image uploads and see if it helps.

    Regards.

    If the file gets uploaded but hangs on processing, the problem is the directory seperator on windows. As a quick fix you should change in the file \plugins\ultimate-member\includes\core\class-uploader.php on line 162 the $this->core_upload_dir to $this->core_upload_url.

    if the position is different in other versions, function is:

    public function get_upload_base_url() {
    $wp_baseurl = $this->wp_upload_dir['baseurl'];
    
    $this->upload_baseurl = set_url_scheme( $wp_baseurl . $this->core_upload_url );	// MS: core_upload_dir->core_upload_url
    
    return $this->upload_baseurl;
    }
    

    regards,
    Michael

    • This reply was modified 7 years, 5 months ago by ikarus76. Reason: code tags fixed

    @ikarus76 you are fabulous! Thank you so much for sharing this fix – it works perfectly now!

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

The topic ‘image upload stuck’ is closed to new replies.