The shortcode works fine. It’s not outputting anything either because there are no files in the directory or the directory doesn’t exist. Read the documentation.
Add debug=on to your shortcode to verify where it’s pointing.
Thread Starter
IsSeN
(@issen)
Hi Thom
Meanwhile I got things running. However it seems something is still wrong.
Now I have a fileaway table, that displays the files from a folder correctly (2 images). However, when I click one of the images, there’s no file behind it.
It doesn’t seem to be a theme problem, as the default twentyfourteen theme has the same problem.
I assume the filepath is correct, else Fileaway wouldn’t be able to output the table with the files.
Any idea’s?
You could try providing some info for me to troubleshoot with. Are there Unicode characters in the filenames? What are the filenames? Did you copy the link url to check it? Etc etc
If you have Unicode characters in the filenames you need to enable Unicode with unicode=”true”
Thread Starter
IsSeN
(@issen)
The problem is the filepath which is incorrect. I use file away in a network setup.
1) My website is http://mydomain.com/wordpress
2) I add Fileaway and network activate the plugin.
3) I create a subsite http://mydomain.com/wordpress/mysubsite. WordPress doesn’t make a subfolder for this website on the FTP.
4) I configure my file away and add a folder on my ftp, on the same level then wp-content, wp-admin, etc. The path to this folder is http://mydomain.com/wordpress/myfolder. Fileaway recognizes this folder and displays the content of the folder as it should.
However, when I look to the url of the images, fileaway outputs the following URL: http://mydomain.com/wordpress/mysubsite/myfolder, and automatically adding a subfolder for the website. Now, the path to my folder is no longer correct.
Is there any way to fix this?
Would you be able to give me temporary admin access so I can take a look? You seem to have a unique setup. If I can take a look, I’ll come up with a way to accommodate setups like yours.
I’d really like to get this figured out for you if you have a few minutes. For your main parent site, in General Settings, is the Site URL the same as, or different from, the WordPress URL?
In other words, when someone is browsing your main site, do they go to http://www.mydomain.com or do they go to http://www.mydomain.com/wordpress?
Thread Starter
IsSeN
(@issen)
They go to mydomain.com/wordpress. The situation might be more complex than that as the wordpress installation is not hosted in de root directory.
http://mydomain.com/subfolder/subfolder/wpnetwork (general site)
http://mydomain.com/subfolder/subfolder/wpnetwork/subsite1/ (subsite 1)
http://mydomain.com/subfolder/subfolder/wpnetwork/subsite2/ (subsite 2)
Thread Starter
IsSeN
(@issen)
I will provide you all the details of my current wordpress setup.
Got it. You can delete your email address now.
OK. I’ve edited your current installation with a new feature, a Base URL setting on the Basic Config tag. And it will be included in the next release and you won’t have to change anything when you update.
Thread Starter
IsSeN
(@issen)
Thanks for the great support.