• Resolved steveathermans

    (@steveathermans)


    Hi Thom,

    I know you are working on a fix for windows servers and PHP 7 issue and I am not sure if this has anything to do with this directly.

    I am unable to upload files using the uploader module. I get a checkmark but nothing appears in the directory.

    Please advise if there is anything I can do at this time to fix this issue?

    Thanks

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

    (@thomstark)

    Hi. Are you on a windows server?

    Thread Starter steveathermans

    (@steveathermans)

    Yes I am ISS and PHP 7.0.11

    Plugin Author thomstark

    (@thomstark)

    See the FAQ. There are stripslashes functions in the filemaway_management class that erase windows server backslashes from the directory path. Your file is uploaded, but to a really long directory name that would have been the whole path of the target directory.

    I have a new version that I think (hope) will solve that issue, but I’m waiting on WordPress to approve it.

    tl;dr = it’s not a PHP 7 issue. I have other support tickets here that explain how to manually remove the stripslashes if you’re so inclined, in the meantime, and can find that ticket.

    Thread Starter steveathermans

    (@steveathermans)

    Ok I will see if I can work it, I am not a dev person but I can usually fumble my way through things.

    Thread Starter steveathermans

    (@steveathermans)

    Thom, can you point me to the thread?

    Thread Starter steveathermans

    (@steveathermans)

    Hi Thom I found the thread I believe.

    https://www.ads-software.com/support/topic/unable-to-upload-even-though-check-icon-appear/page/2/

    I changed the lines of code but it did not work.

    Plugin Author thomstark

    (@thomstark)

    I found one here: https://www.ads-software.com/support/topic/upload-problems-14/

    You can ignore the Line 1101 one. That is not actually path related and doesn’t need to be changed.

    Plugin Author thomstark

    (@thomstark)

    Just saw you already found an example.

    This works for most folks on Windows. If it’s not the stripslashes then it might be server related.

    Are you able to find the uploaded files anywhere on your server? If you’re getting the green checkmark, no errors are occurring on the File Away side of things.

    Thread Starter steveathermans

    (@steveathermans)

    Yes I do get a green checkmark, and like I said nothing is added to the server, the file I upload does not exist on the server anywhere. I have been manually uploading files for my colleges so I know I can write files to the server.

    I have a hard time excepting its server related because we have been using fileaway for a few years now and it functioned correctly. Maybe something did change however so I will see what my IT can find.

    Thom, are you saying that the fix you have submitted to wordpress is the stripslash? So in other words we will still not have a functioning file system?

    Thread Starter steveathermans

    (@steveathermans)

    Hi Thom,

    It seems that the third change I made has fixed the issue ??
    The thread I was using originally did not say anything about removing Line 1086.

    I removed this line and seemed to have fixed my problem.
    Thanks Thom, and great plugin!

    Steve

    Plugin Author thomstark

    (@thomstark)

    Glad you got it fixed

    Thread Starter steveathermans

    (@steveathermans)

    Cheers

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