Can you use a symbolic link as a source folder. I am getting error
JFolder::folder: Path is not a folder:
I am trying to share files among a couple of sub domains.
June 8, 2011
@paul. Well, as you can see it uses JFolder::folder function, which part of the Joomla framework. It uses the php function readdir. So, it all depends on what these functions allow. I haven’t tested it on symbolic links.
Thanks for the reply. It seems jfolder does support sym links. If you Google there are a number of references. I cant get it to work. I have sym links working for the images directory without a problem. I would appreciate any help you can give we have over 600mb of files to share across the sub domains and keep synchronised.
I am still struggling with this. The permissions seem okay, here is the URL which uses the alias
and here is the real url
Both opne the same file. However I cannot get the folder to list on the qms.completepicture site?
Should have mentioned the alias is the folder “pdf” from qms.complete…. to regualtions.comple….
@toomanylogins. Ok, I clicked on your symbolic link and it appears to work. The question is what do you mean exactly by it’s not working? is it possible for you to provide a link to the page with the problem so that I can see it myself? If you want some privacy, you can send the link to my email. Otherwise, just provide it in your next post, especially if the page is a public page.
I’ll help you as best I can to solve this issue.
If I make http://qms.completepicture.co.uk/images/stories/pdf ie mages/stories/pdf the target folder in easy folder listing pro I do not get a folder listing. If I set the target to a local folder it is working okay. Therefore the problem must be the symbolic link.
You can check here to see the problem.
I cant leave this link live for long and will revet to local folder later tomorrow
Fixed it had to set the open base dir param on the server.
@toomanylogins. Awesome! I was out all day today with no Web access. Sorry that I couldn’t get back to you sooner. However, thanks for sharing that the issue was the value of the PHP open_basedir directive. Could you tell us what you did to fix it. For example, what did you have to set the value to, and what was the value before?
Your response may help others greatly!
The topic ‘Symbolic Link’ is closed to new replies.