• Good evening.

    I have a bit of a issue with out contact form 7 file upload on our site.

    It won’t let certain pixel size jpg be uploaded. There is not issue with jpeg, pdf, pad. Just JPG files. Although I can up load a jpg file with say 1200 x 1800 pixle but it won’t upload a 900 x 1200 pixle photo.

    I’ve not set up any limits so I’m really confused at what the issue is.

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

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author Takayuki Miyoshi

    (@takayukister)

    See Editing form template

    What content do you have in the Form tab panel?

    Thread Starter spencerlees

    (@spencerlees)

    Thank you for your reply. Here is the details from my form. I believe there to be a PHP error but im not sure how to check.

    <label> Your name *
    [text* your-name] </label>

    <label> Your email *
    [email* your-email] </label>

    <label> Contact Number *
    [tel* your-Contact] </label>

    <label> Relation To Child *
    [text* your-relation] </label>

    <label> New (First Application) or Replacement (Lost/Damaged) Travel Pass
    [checkbox* New_Replacment use_label_element exclusive “New” “Replacement”]
    [group Pass_ID]
    <label> Do You Have A Pass ID (Written On Notice Given By Driver)
    [checkbox* Pass_ID use_label_element exclusive “Yes” “No”][/group]
    [group Pass_ID_Number]
    <label> Pass ID
    [text* Pass_ID_Number] [/group]

    <label> Childs Name *
    [text* your-child]

    <label> Childs Year Group *
    [checkbox* YearGroup use_label_element “Year 7” “Year 8” “Year 9” “Year 10” “Year 11”]

    <label> Child Photo (Passport Size or Photo) *
    [file* FileUpload limit:25000000 filetypes:pdf|jpg|jpeg|webp|dng|png]

    [acceptance Confirm] Confirm you have read the School Bus Behavior Code (Link Above) [/acceptance]

    [submit “Submit Application”]

    We have had the same problem since Version 5.3.2
    One of the team accidently updates the plugin and it is offline again for days until someone notices

    Plugin Author Takayuki Miyoshi

    (@takayukister)

    Do you get any response message after you submit the form?

    Thread Starter spencerlees

    (@spencerlees)

    I get the following message displayed to the user when clicking submit.

    There was an error uploading the file.

    It seems to be if a picture dimensions are too small or too big. But I’ve not added any restrictions.

    Plugin Author Takayuki Miyoshi

    (@takayukister)

    That message indicates that some sort of PHP error occurred. You should be able to find some clue in the PHP error logs on the server.

    Thread Starter spencerlees

    (@spencerlees)

    Where do I find the php logs thanks

    Plugin Author Takayuki Miyoshi

    (@takayukister)

    The administrator of the site or host support should know that.

    Thread Starter spencerlees

    (@spencerlees)

    I dont know if this helps but this is what only shows up in the log.

    149.255.62.12 - - [29/Sep/2021:11:38:02 +0100] "POST /wp-cron.php?doing_wp_cron=1632911881.9539549350738525390625 HTTP/1.1" 200 4977 "https://sixtysixty.co.uk/wp-cron.php?doing_wp_cron=1632911881.9539549350738525390625" "WordPress/5.8.1; https://sixtysixty.co.uk"
    94.3.94.81 - - [29/Sep/2021:11:38:00 +0100] "POST /wp-json/contact-form-7/v1/contact-forms/356/feedback HTTP/1.1" 200 1499 "https://sixtysixty.co.uk/cyfarthfa-high-school-pass-application/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.82 Safari/537.36"
    94.3.94.81 - - [29/Sep/2021:11:38:12 +0100] "POST /roundcube/?_task=mail&_action=refresh HTTP/1.1" 200 2082 "https://webmail.sixtysixty.co.uk/roundcube/?_task=mail&_mbox=INBOX" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.82 Safari/537.36"
    94.3.94.81 - - [29/Sep/2021:11:38:28 +0100] "POST /wp-admin/admin-ajax.php HTTP/1.1" 200 952 "https://sixtysixty.co.uk/wp-admin/admin.php?page=flamingo_inbound&post=730&action=edit" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.82 Safari/537.36"
Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘File Upload not working’ is closed to new replies.