• After February 23rd 2021, file uploads have stopped uploading. Here are the details:

    -Client uploads file and submits form.
    -Email shows correct file name of submitted file.
    -Advanced Contact form 7 DB shows garbled string of numbers instead of file link in the table view.
    -Clicking the edit button shows a download link.
    -Clicking the download link downloads an HTML file that redirects to the homepage.
    -The folder /uploads/advanced-cf7-database/ in ftp has correct permissions, but no files upload to it.

    I had to download an additional CF7 database, and that one is uploading the files correctly, so the issue is with this plugin.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi, in my website also facing this issue after latest version plugin update, did u find any alternative export form submission with attachment link.

    If you haven’t already seen it, there’s a fix to this in a thread started by: Crescendo
    Subject: Uploaded files trough CF7 not working anymore in ACF7DB

    Edit the file in the below location:
    /wp-content/plugins/advanced-cf7-db/includes/vsz-cf7-db-function.php

    Add the below to Line 132:
    if (gettype($v) == ‘array’) {$v = reset($v);}

    So lines Lines 131, 132 and 133 should be:
    //Get file name
    if (gettype($v) == ‘array’) { $v = reset($v); }
    $file_name = basename($v);

    I have tried this method but it still doesn’t work.
    -I have tried to deactivate and reactivate the plugin.
    -In the mail that is received, the file is attached correctly.
    -The uploads/advanced-cf7-upload folder has 777 permissions, but does not save attachments.

    I have wordpress verion 5.7.1
    The old forms I understand that the link cannot be recovered because it has never been saved in the corresponding folder, but the new ones are not saved either.

    • This reply was modified 3 years, 10 months ago by jlalonsoredon.

    Hello @dandylee
    I am also facing the same issue, but I have seen that you keep replying to the same comment.

    Edit the file in the below location:
    /wp-content/plugins/advanced-cf7-db/includes/vsz-cf7-db-function.php
    
    Add the below to Line 132:
    if (gettype($v) == ‘array’) {$v = reset($v);}
    
    So lines Lines 131, 132 and 133 should be:
    //Get file name
    if (gettype($v) == ‘array’) { $v = reset($v); }
    $file_name = basename($v);

    It is not working brother. Please try to get output. I really appreciate it. ??

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘File uploads no longer work’ is closed to new replies.