Symbolic Link

Home \ forums/topic \ Symbolic Link

Support Home Page Forums General Symbolic Link

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #111
    toomanylogins
    Participant

    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.

    #1139
    toomanylogins
    Participant

    Hello 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

    #1140
    toomanylogins
    Participant

    Hello Michael,

    I am still struggling with this. The permissions seem okay, here is the URL which uses the alias

    http://qms.completepicture.co.uk/images/stories/pdf/Building%20Regulations/2007-%20Technical%20Handbook%20Domestic.pdf

    and here is the real url

    http://regulations.completepicture.co.uk/pdf/Building%20Regulations/2007-%20Technical%20Handbook%20Domestic.pdf

    Both opne the same file. However I cannot get the folder to list on the qms.completepicture site?

    #1141
    toomanylogins
    Participant

    Should have mentioned the alias is the folder “pdf” from qms.complete…. to regualtions.comple….

    #1142
    Michael Gilkes
    Keymaster

    @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.

    #1143
    toomanylogins
    Participant

    Hello 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

    #1144
    toomanylogins
    Participant

    Fixed it had to set the open base dir param on the server.

    #1145
    Michael Gilkes
    Keymaster

    @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!

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Symbolic Link’ is closed to new replies.