Title: Doesn&#8217;t display files
Last modified: May 2, 2019

---

# Doesn’t display files

 *  Resolved [silenttt](https://wordpress.org/support/users/silenttt/)
 * (@silenttt)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/doesnt-display-files/)
 * Hi,
 * I am a beginner. I have found this plugin today and installed it on wordpress
   4.9
    According to the instruction I set up new directory. Then I added shortcode[
   fileaway] to my page paragraph. Unfortunately it doesn’t display anything. Should
   I do something else to run it?
 * Thanks in advance

Viewing 15 replies - 1 through 15 (of 19 total)

1 [2](https://wordpress.org/support/topic/doesnt-display-files/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/doesnt-display-files/page/2/?output_format=md)

 *  Plugin Author [thomstark](https://wordpress.org/support/users/thomstark/)
 * (@thomstark)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/doesnt-display-files/#post-11490807)
 * Are there files in your directory? If no files, then you need to use `[fileaway
   directories="true"]`
 * If you don’t have directories enabled, and there are no files in the directory,
   then [fileaway] will output nothing.
 *  Thread Starter [silenttt](https://wordpress.org/support/users/silenttt/)
 * (@silenttt)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/doesnt-display-files/#post-11490825)
 * Hi Thom,
 * still doesn’t work. It even doesn’t return an error, just blank page with title.
   
   May it be my php version? I use php 7
    -  This reply was modified 7 years, 1 month ago by [silenttt](https://wordpress.org/support/users/silenttt/).
 *  Plugin Author [thomstark](https://wordpress.org/support/users/thomstark/)
 * (@thomstark)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/doesnt-display-files/#post-11490829)
 * It’s not the php version.
 * Please provide your shortcode and your Base directory setting.
 * Please tell me about your WP installation setup.
 * Is wordpress installed in a subdirectory of your domain root, or in the primary
   directory?
 * Please tell me what type of server you are using.
 *  Thread Starter [silenttt](https://wordpress.org/support/users/silenttt/)
 * (@silenttt)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/doesnt-display-files/#post-11490847)
 * I just have installed it on localhost wordpress via xampp, as I want to check
   it before the implementation on the server.
    (‘DB_CHARSET’, ‘utf8mb4’); Screenshots:
   [https://prnt.sc/njp469](https://prnt.sc/njp469) [https://prnt.sc/njp4fx](https://prnt.sc/njp4fx)
 *  Plugin Author [thomstark](https://wordpress.org/support/users/thomstark/)
 * (@thomstark)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/doesnt-display-files/#post-11490852)
 * OK. Does “Directory” exist? Use this shortcode instead:
 * `[fileaway directories="true" makedir="true"]`
 *  Thread Starter [silenttt](https://wordpress.org/support/users/silenttt/)
 * (@silenttt)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/doesnt-display-files/#post-11490859)
 * It creates a directory with some index file. I have uploaded some jpgs there 
   but still doesn’t show anything
 *  Plugin Author [thomstark](https://wordpress.org/support/users/thomstark/)
 * (@thomstark)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/doesnt-display-files/#post-11490872)
 * So initially you were pointing to a directory that didn’t exist.
 * Now File Away has created it for you, and you say you have since uploaded some
   image files and they are still not showing.
 * Give me an example of a filename you uploaded to `C:\xampp\htdocs\wordpress4\
   Directory`
 * Also try this shortcode: `[fileaway directories="true" makedir="true" debug="
   true"]`
 * then tell me what it says
 *  Thread Starter [silenttt](https://wordpress.org/support/users/silenttt/)
 * (@silenttt)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/doesnt-display-files/#post-11490885)
 * I have uploaded 2.jpg
    I have tried the shortcut and it still doesn’t work [https://prnt.sc/njpad7](https://prnt.sc/njpad7)
 *  Plugin Author [thomstark](https://wordpress.org/support/users/thomstark/)
 * (@thomstark)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/doesnt-display-files/#post-11490891)
 * Sorry, try:
 * `[fileaway directories="true" makedir="true" debug="on"]`
 *  Thread Starter [silenttt](https://wordpress.org/support/users/silenttt/)
 * (@silenttt)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/doesnt-display-files/#post-11490895)
 * I see the following
    [https://prnt.sc/njpcoi](https://prnt.sc/njpcoi)
 *  Plugin Author [thomstark](https://wordpress.org/support/users/thomstark/)
 * (@thomstark)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/doesnt-display-files/#post-11490901)
 * Open up `wp-content/plugins/file-away/lib/cls/class.fileaway.php`
 * Go to line 31 and add two forward slashes `//` to the beginning of the line that
   says:
 * `if(!fileaway_utility::realpath($dir,$rootpath,$chosenpath)) return;`
 * So it should now look like this:
 * `//if(!fileaway_utility::realpath($dir,$rootpath,$chosenpath)) return;`
 * Save the file.
 * Remove `debug="on"` from your shortcode, so your shortcode should now be: `[fileaway
   directories="true" makedir="true"]`.
 * Reload your page.
 * Tell me if it works.
 *  Thread Starter [silenttt](https://wordpress.org/support/users/silenttt/)
 * (@silenttt)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/doesnt-display-files/#post-11490913)
 * Works! [https://prnt.sc/njpf42](https://prnt.sc/njpf42)
 * Thank you, Thom
 * You mentioned on forum that you are working on new plugin. When do you plan to
   upload new plugin?
 *  Plugin Author [thomstark](https://wordpress.org/support/users/thomstark/)
 * (@thomstark)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/doesnt-display-files/#post-11490915)
 * OK. That’s not a fix. That’s bad news. It means the directory isn’t validating
   as a realpath. I am installing xampp on my pc right now to see if I can duplicate
   your issue or if it is unique to your setup.
 *  Thread Starter [silenttt](https://wordpress.org/support/users/silenttt/)
 * (@silenttt)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/doesnt-display-files/#post-11490916)
 * I had the same problem when I installed it in the morning on wordpress 5 on IIS.
   
   I will check it tomorrow and let you know
 *  Plugin Author [thomstark](https://wordpress.org/support/users/thomstark/)
 * (@thomstark)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/doesnt-display-files/#post-11490924)
 * I have duplicated the issue on my install of xampp. I will find a fix and push
   a new version when I do. I will comment back here when it is available for update.

Viewing 15 replies - 1 through 15 (of 19 total)

1 [2](https://wordpress.org/support/topic/doesnt-display-files/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/doesnt-display-files/page/2/?output_format=md)

The topic ‘Doesn’t display files’ 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/)

 * 19 replies
 * 2 participants
 * Last reply from: [thomstark](https://wordpress.org/support/users/thomstark/)
 * Last activity: [7 years, 1 month ago](https://wordpress.org/support/topic/doesnt-display-files/page/2/#post-11494114)
 * Status: resolved