• Resolved Kiwi1919

    (@kiwi1919)


    Hi,

    I’ve just started using File Away and it’s great! On one WP install I have it running just fine but on another I cannot get it to run.

    I am wondering if it because of the way WP was installed in this case. the path to WP is public_html/c/wp

    Anyway I get the following errors on the page where I have the [fileaway] code. I get this error in debug mode as well:

    Warning: scandir(Dump): failed to open dir: No such file or directory in /home/classtwa/public_html/c/wp/wp-content/plugins/file-away/includes/file-away.php on line 211

    Warning: scandir(): (errno 2): No such file or directory in /home/classtwa/public_html/c/wp/wp-content/plugins/file-away/includes/file-away.php on line 211

    Warning: natcasesort() expects parameter 1 to be array, boolean given in /home/classtwa/public_html/c/wp/wp-content/plugins/file-away/includes/file-away.php on line 212

    Warning: Invalid argument supplied for foreach() in /home/classtwa/public_html/c/wp/wp-content/plugins/file-away/includes/file-away.php on line 213

    Warning: asort() expects parameter 1 to be array, null given in /home/classtwa/public_html/c/wp/wp-content/plugins/file-away/includes/file-away.php on line 226

    Warning: Invalid argument supplied for foreach() in /home/classtwa/public_html/c/wp/wp-content/plugins/file-away/includes/file-away.php on line 227

    https://wordpress.org/plugins/file-away/

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

    (@thomstark)

    In WP General Settings is your Site URL the same as your WordPress url?

    Plugin Author thomstark

    (@thomstark)

    And what version of File Away are you running?

    Thread Starter Kiwi1919

    (@kiwi1919)

    Hi Thom,

    Site URL is the same as the WordPress URL. File Away is Version 1.7.1

    Plugin Author thomstark

    (@thomstark)

    Would be willing to grant me temporary admin access to take a look? My email is tmstark@gmail.com

    Plugin Author thomstark

    (@thomstark)

    If not let me know and we can try and troubleshoot via email.

    Plugin Author thomstark

    (@thomstark)

    Your problem was the directory you were pointing to is not inside your WordPress installation directory. I changed your Base 1 setting to: ../DirectoryName and now it is pointing to the correct place. But note that Directory Tree mode and Manager Mode will not work properly if the folders are not inside the WP installation directory. If all you’re doing is displaying one directory, though, it will work fine.

    Thread Starter Kiwi1919

    (@kiwi1919)

    Hi Thom,

    Thanks so much for setting me straight and for the great plug in!

    Thread Starter Kiwi1919

    (@kiwi1919)

    Hi Thom,

    Sorry, one more issue has cropped up from this. I changed my file directory so that it is inside the WordPress installation and that’s all working fine so I added a second file folder inside the first and it shows OK but if I click on the folder it takes me back to the home page?

    Plugin Author thomstark

    (@thomstark)

    Oh yeah. I see what the issue is. Just a minute (I’m going back on your site to fix.)

    Plugin Author thomstark

    (@thomstark)

    The directory tree navigation was not compatible with permalinks. I’ve uploaded version 1.7.2, resolving this issue.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Another Scandir Error’ is closed to new replies.