Support » Plugin: Contact Form 7 » File Upload not working on Mobile Devices

  • Resolved josh4762

    (@josh4762)


    I love cf7 and have used it dozens, if not hundreds of times without issue. But now have come across an issue that I can’t seem to solve for the life of me.

    File uploads to not seem to work from Smart Phones and other mobile devices, I simply receive the error below:

    “There was an error uploading the file”

    The upload works correctly on desktops / laptops.

    Initially I thought it might be the file name as they can be strange when generated by a phone such as “2016-08-09 05.09.14.jpg”, but I was able to upload the exact same files on desktop.

    Any help or advice would be greatly appreciated.

    https://wordpress.org/plugins/contact-form-7/

Viewing 1 replies (of 1 total)
  • Thread Starter josh4762

    (@josh4762)

    Since phones take large (file size) photos, it seems it was the php_value upload_max_filesize that needed updating in .htaccess.

    For anyone else with the same prob, I added:

    php_value upload_max_filesize 64M
    php_value post_max_size 64M
    php_value max_execution_time 300
    php_value max_input_time 300

Viewing 1 replies (of 1 total)
  • The topic ‘File Upload not working on Mobile Devices’ is closed to new replies.