Title: Error messages
Last modified: August 21, 2016

---

# Error messages

 *  Resolved [dblackard59](https://wordpress.org/support/users/dblackard59/)
 * (@dblackard59)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/error-messages-37/)
 * 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/](https://wordpress.org/plugins/file-away/)

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

 *  Plugin Author [thomstark](https://wordpress.org/support/users/thomstark/)
 * (@thomstark)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/error-messages-37/#post-4760019)
 * 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](https://wordpress.org/support/users/dblackard59/)
 * (@dblackard59)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/error-messages-37/#post-4760037)
 * 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](https://wordpress.org/support/users/thomstark/)
 * (@thomstark)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/error-messages-37/#post-4760043)
 * 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](https://wordpress.org/support/users/thomstark/)
 * (@thomstark)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/error-messages-37/#post-4760073)
 * 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.

 * ![](https://s.w.org/plugins/geopattern-icon/file-away_e3e2e1.svg)
 * [File Away](https://wordpress.org/plugins/file-away/)
 * [Support Threads](https://wordpress.org/support/plugin/file-away/)
 * [Active Topics](https://wordpress.org/support/plugin/file-away/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/file-away/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/file-away/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [thomstark](https://wordpress.org/support/users/thomstark/)
 * Last activity: [12 years, 1 month ago](https://wordpress.org/support/topic/error-messages-37/#post-4760073)
 * Status: resolved