• Resolved dblackard59

    (@dblackard59)


    Hey Thom,
    I keep getting this set of error messages in the web page. I have installed the latest version 1.7.6. I also can confirm that the file-away.php file is in that folder, even gave it 777 permissions. I also added the debug.

    Warning: scandir(/downloads) [function.scandir]: failed to open dir: No such file or directory in /home/redeemer/public_html/sermons/sermons/wp-content/plugins/file-away/includes/file-away.php on line 214

    Warning: scandir() [function.scandir]: (errno 2): No such file or directory in /home/redeemer/public_html/sermons/sermons/wp-content/plugins/file-away/includes/file-away.php on line 214

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

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

    Thanks for any help you can lend.

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

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

    (@thomstark)

    It’s possible you’re not pointing to the directory correctly. Can you tell me a bit about your setup?

    Is your WP Url and your Site URL the same or different? (See Settings/General).

    What does your Base Directory configuration look like?

    When you turned on File Away debug, what directory did it say you were pointing to?

    Is the directory you’re pointing to inside or outside of the WP installation directory?

    Thread Starter dblackard59

    (@dblackard59)

    Man, I thought I was the only one up at this crazy hour. 😉

    Confirmed, the 2 URLs are the same.
    Base Directory, /public_html/sermons/sermons/wp-content/uploads
    Debug, Not sure I am doing this correctly, here is how I thought I read to add it to my shortcode. [fileaway base=3 sub=/downloads debug=on]
    The directory is inside the WP.
    Thanks.

    Plugin Author thomstark

    (@thomstark)

    You don’t need the slash in the sub= attribute. Should be: [fileaway base=3 sub=”downloads”]

    Are there really two directories in a row called sermons? Is that a real path? sermons/sermons/ etc?

    Please email a link to the page if possible. Thanks.

    Plugin Author thomstark

    (@thomstark)

    You’re up and running now. Shortcode was pointing to a bad directory. It happens to the best of us. Peace.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Error messages’ is closed to new replies.