Advanced File Field now working on WP engine

Support MB Frontend Submission Advanced File Field now working on WP engineResolved

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #20426
    JasonJason
    Participant

    I'm trying to use the Advanced File upload field on a form on this page:
    http://quapawcasino.wpengine.com/job-application/

    I'm seeing this error in the console:

    (index):102 Uncaught TypeError: Cannot set property 'value' of null
    at window.onload ((index):102)
    /wp-admin/admin-ajax.php:1 Failed to load resource: the server responded with a status of 400 (Bad Request)
    (index):1 Access to XMLHttpRequest at 'https://quapawcasino.wpengine.com/wp-admin/async-upload.php' (redirected from 'http://quapawcasino.wpengine.com/wp-admin/async-upload.php') from origin 'http://quapawcasino.wpengine.com' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: Redirect is not allowed for a preflight request.
    /wp-admin/async-upload.php:1 Failed to load resource: net::ERR_FAILED
    /wp-admin/admin-ajax.php:1 Failed to load resource: the server responded with a status of 400 (Bad Request)

    I contacted wp engine support with this error. They said:
    A request beginning in ' would result in a bad request on our platform.
    Look like its trying to request 'https://quapawcasino.wpengine.com/wp-admin/async-upload.php'

    #20427
    JasonJason
    Participant

    Also, is there a way to secure the PDF files that are uploaded. So, the PDF files are not indexed by search engines. And only WordPress administrators can download the PDF files.

    #20431
    Long NguyenLong Nguyen
    Moderator

    Hi,

    Regarding the error, there is a problem with your SSL, please follow this guide to know how to fix this issue https://www.wpbeginner.com/wp-tutorials/how-to-fix-common-ssl-issues-in-wordpress-beginners-guide/. All links of the side have to load under HTTPS method https://quapawcasino.wpengine.com/wp-admin/.

    Regarding securing PDF files, this guide might help you to protect PDF files https://oceanwp.org/blog/7-ways-to-protect-wordpress-pdf-files/.

    #20432
    JasonJason
    Participant

    Is there a way to upload the files to google drive, instead of the WP media library?

    #20435
    Long NguyenLong Nguyen
    Moderator

    Hi,

    Some third-party plugins help you to upload the file to Google Drive directly, please follow these links.
    https://www.iptanus.com/wordpress-plugins/wordpress-file-upload/
    https://www.gravityforms.com/upload-google-drive-wordpress-forms/
    https://wpforms.com/how-to-create-a-wordpress-google-drive-upload-form/

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.