Do you have Allow Symlinks enabled on File Away settings?
What type of server are you using? (Windows, Linux?)
Is your Site URL the same as your WordPress URL in WP General Settings, or is it different? If different, what is your Root Directory setting on File Away Settings?
What are some examples of subdirectory names that aren’t working?
The reason the subdirectories are not working is because they are not resolving as real paths for some reason. We need to isolate the cause of that.
Dear Thomstark,
Thanks for the quick answer and for you helping to investigate the issue.
- “Allow Symlinks” is enabled in the Plugin Settings
- The Server is running on Ubuntu (can’t exactly tell which version)
- The Site URL in the General Settings is the same as the actual URL
- I’m going to send you a mail to thom@thomstark.net with some paths as I don’t know if I can put them public here
Cheers
I am having the same issue. When I click on a sub-directory, it just refreshes the page and stays in the same directory. Here is my shortcode:
[fileup sub=”contracts” matchdrawer=”1″ fadein=”opacity” fadetime=”1000″ uploader=”name”]
[fileaway type=”table” sub=”contracts” searchable=”searchme” customdata=”uploader” fadein=”opacity” fadetime=”1000″ manager=”on” drawerid=”1″ directories=”on”]
What type of server? What are your base settings?
[Edit: I was confusing this OP with another one, so I removed some inaccurate info from this comment.]
-
This reply was modified 5 years, 6 months ago by thomstark.
You can send info to the above email if you prefer.
Are you on an intranet or is it a public-facing website?
It must be said that I am a beginner. So I don’t know the answers to any of your questions. But I will email you in case I give away data that should not be posted here.
Here was the fix for @julecasa :
He was using fa-userid in the Base setting and there was a bug when File Away verifies the user-id.
To fix, open up wp-content/plugins/file-away/lib/inc/inc.open-drawer.php
Change line 30 from :
if($fa_userid_used && strpos($dir, $fa_userid) === false) $dir = $start;
to:
if($fa_userid_used && strpos($dir, (string)$fa_userid) === false) $dir = $start;
This fix will be included in the next update.
@fschoenfeldt , can you let me know if this was your issue as well?
Thank you @thomstark and @julecasa for participating solving this issue.
@thomstark: the class.fileaway_utility.php fix you sent me via E-Mail didn’t work. The fix inc.open-drawer.php:30 fix doesn’t work either.
I still have to comment out inc.open-drawer.php:24 to get directories working.
Any update on this @thomstark ?I sent you a mail on June 6th. The fix you suggested is only a temporary solution which will be deleted once the plugin is updated.
Maybe you just set a switch in the plugin settings that triggers that line of code on/off.