• I am using Contact Form 7 and everything works fine except the uploaded file link in the CFDB admin page.

    I can receive the uploaded image file by email but when I click the uploaded file link at the admin page it does not work.

    I think the link worked one time when I first install the CFDB but after that it never worked.

    Since I uploaded some files with non-latin (Korean) file names, I thoutht it might caused the problem but latin file names not working, either.

    I deleted the database and unstalled the CFDB and CF 7 and reinstalled them again but the uploaded file link still does not work. (The file link in the downloaded csv file does not work either)

    Any help would be appreciated.

    https://wordpress.org/plugins/contact-form-7-to-database-extension/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter ddjckim

    (@ddjckim)

    Plugin Author Michael Simpson

    (@msimpson)

    I tried duplicating the issue. I created a form with CF7 with Korean settings. I named the form 교인등록카드 and included a file-upload field named hw-pic. I made a form submission with a file upload. I went to the admin panel where I see the form submission. I clicked on the file link and it displays the file as expected.

    I tried again, this time uploading the same file renamed 안녕하세요.png. This time, in the admin console the file name appears as just “png” but the link downloads a valid file (still misnamed). That seems to be a different problem from what you are experiencing.

    I wonder if the problem that you are experiencing is related to the form name being in non-latin characters. Please try this experiment: create a similar form with a latin character name and see if the problem persists.

    Also, when you click the link in the admin page, what happens exactly?

    Thread Starter ddjckim

    (@ddjckim)

    I tested as you suggested

    1. I created a form with CF7 with Korean settings and created a form with latin form name “Test Form”.

    2. Then I uploaded a file, using a file upload field and form submission, with Korean file name “고양이.jpg”, but the Korean letters and the dot is truncated and it appear on the admin panel as only “jpg”. When I click on it it downloads to my computer with the file name “jpg” without any extention. I renamed it to “something.jpg” but couldn’t open it. It gave me an error msg of “Either the file is corrupt or too big ….” (I translated the error msg from Korean to English.) Actual uploaded file size is only about 30KB.
    3. This time I uploaded a file with a latin file name, “nabi.jpg”. But when I click on the link It gave me a screen that show a broken link. (Please see the screen with my explanation at below link)

    http://www.hanwoori.org/wp-content/uploads/2015/03/CFDB-Inquiry.jpg

    Thread Starter ddjckim

    (@ddjckim)

    I tried to create a form with CF7 with English settings and did all the same tests as described above. But still the same results…

    Thread Starter ddjckim

    (@ddjckim)

    I know it would be difficult to pin point a solution for my case, but can anyone give me any suggestion?

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

The topic ‘Uploaded file links not working’ is closed to new replies.