• Resolved WebWizards

    (@webwizardsdev)


    Hi there,
    We’re plugin developers and we encountered an incompatibility issue with one of our plugins and Gtranslate,

    In the original site language, the file upload will work fine,

    However, in the translated version, the following error will be shown:
    “Please choose a file”

    The code we are using is:

    // Throws a message if no file is selected
    if ( ! $_FILES['b2bking_csvorder']['name'] ) {
    	wc_add_notice( 'Please choose a file', 'error' );
    }

    Any idea why this could be? Could it be that the translation plugin tries to translate ‘name’ ? Any suggestions would be helpful, thank you.

Viewing 1 replies (of 1 total)
  • Plugin Author edo888

    (@edo888)

    Hi,

    I believe our common customer/user is using our paid version. So, please ask them contact our live chat for a solution.

    There is nothing wrong with your plugin if the user is having troubles uploading a file using sub-directory URL structure.

    Thanks! ??

Viewing 1 replies (of 1 total)
  • The topic ‘File upload not working in translated site’ is closed to new replies.