• [fileaway type=”table” paginate=”true” pagesize=”15″ searchlabel=”Search here…” filenamelabel=”File Name” bulkdownload=”on” manager=”on” iconcolor=”red”]

    [fileup matchdrawer=”true” uploadlabel=”Upload Files”]

    nothing happen after i upload some file, even though the check icon appeared PLEASE HELP… is there a problem in my shortcode?

    https://www.ads-software.com/plugins/file-away/

Viewing 8 replies - 16 through 23 (of 23 total)
  • Thread Starter daddytowfer

    (@daddytowfer)

    oh ok, so what should i do to stop it from stripping?

    Thread Starter daddytowfer

    (@daddytowfer)

    so it means it doesnt work on xampp?

    Plugin Author thomstark

    (@thomstark)

    When it goes live will the path still be C:\xampp\htdocs\etc ?

    Thread Starter daddytowfer

    (@daddytowfer)

    no, but why, last last day it work properly, it does upload a file, i try to do the same thing today, but it doesnt upload anymore

    Plugin Author thomstark

    (@thomstark)

    I don’t know why it worked the other day. But it will work when you go live. Meantime:

    Open up wp-content/plugins/file-away/lib/cls/class.fileaway_management.php

    Go to lines 1061-1062

    Replace this:

    $file_name = strip_tags(stripslashes($_FILES['upload_file']['name']));
    $new_name = strip_tags(stripslashes($_POST['new_name']));

    with this:

    $file_name = strip_tags($_FILES['upload_file']['name']);
    $new_name = strip_tags($_POST['new_name']);

    See if that fixes your issue.

    Thread Starter daddytowfer

    (@daddytowfer)

    [fileaway type=”table” makedir=”true” paginate=”true” pagesize=”15″ searchlabel=”Search here…” filenamelabel=”File Name” bulkdownload=”on” manager=”on” iconcolor=”red”]

    [fileup matchdrawer=”true” uploadlabel=”Upload Files”]

    is this right? i already replace
    $file_name = strip_tags($_FILES[‘upload_file’][‘name’]);
    $new_name = strip_tags($_POST[‘new_name’]);

    but still doesnt work? is my shortcode right?

    Plugin Author thomstark

    (@thomstark)

    Your shortcode is fine, assuming you wish to point to your Base 1 path setting. I can’t troubleshoot further without access to your WP admin. Sorry.

    Thread Starter daddytowfer

    (@daddytowfer)

    its ok, i really appreciate all your response, thank you ??

Viewing 8 replies - 16 through 23 (of 23 total)
  • The topic ‘Unable to upload even though check icon appear’ is closed to new replies.