• Resolved Flyingslide

    (@admindesigns)


    Hello!

    I want to thank you for sharing all of the hardwork you have put in to this plugin. I just downloaded and installed it, set a base directory, and added a “fileup” shortcode to a post. Uploader shows up fine, browses to the correct directory, and gives me a green checkmark upon hitting upload. No errors to be seen. However, nothing actually appears in the upload directory.

    It is creating the new folder and adding a new index.php but nothing beyond that. The directory browser shows files i’ve manually uploaded just fine. I’m using just a local xampp server and don’t appear to be having any other upload issues.

    Thank you ahead ahead of time for any help you might be able to give. Cheers mate

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author thomstark

    (@thomstark)

    Hi.

    The reason why it’s not working is you’re using xampp, as discussed in the FAQ and on the main Plugin Requirements page.

    Open up wp-content/plugins/file-away/lib/cls/class.fileaway_management.php and make the following changes:

    Lines 1063-1064:
    replace:

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

    with:

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

    Line 1086:
    delete this line: $location = stripslashes($location);

    Line 1101:
    replace:
    $overwrite = $li && stripslashes($_POST['overwrite']) == 'true' ? true : false;
    with:
    $overwrite = $li && $_POST['overwrite'] == 'true' ? true : false;

    Thread Starter Flyingslide

    (@admindesigns)

    That’s some unbelievable response time my friend. Solution worked. I’m pretty new to WordPress and and consequently its plugins so I forget to things still like the FAQ. Apologies for having to repeat yourself. Cheers

    Plugin Author thomstark

    (@thomstark)

    No problem at all!

    Happy to help.

    Happy uploading.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Upload Problems’ is closed to new replies.