Support Home Page › Forums › General › Symbolic Link
- This topic has 7 replies, 2 voices, and was last updated 13 years, 3 months ago by Michael Gilkes.
-
AuthorPosts
-
June 8, 2011 at 5:02 pm #111toomanyloginsParticipant
Hello,
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.
Thanks
Paul
paul
June 8, 2011
Reply
@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.
June 8, 2011 at 5:04 pm #1139toomanyloginsParticipantHello Michael,
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.
Regards
Paul
June 10, 2011 at 11:15 am #1140toomanyloginsParticipantHello Michael,
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?
June 10, 2011 at 11:16 am #1141toomanyloginsParticipantShould have mentioned the alias is the folder “pdf” from qms.complete…. to regualtions.comple….
June 10, 2011 at 2:54 pm #1142Michael GilkesKeymaster@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.
June 13, 2011 at 1:32 pm #1143toomanyloginsParticipantHello Michael,
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.
http://qms.completepicture.co.uk/latest-news/mcs-reference-documents
I cant leave this link live for long and will revet to local folder later tomorrow
June 13, 2011 at 4:52 pm #1144toomanyloginsParticipantFixed it had to set the open base dir param on the server.
June 13, 2011 at 9:01 pm #1145Michael GilkesKeymaster@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!
-
AuthorPosts
- The topic ‘Symbolic Link’ is closed to new replies.