scvroin Posted May 29, 2010 Posted May 29, 2010 Hello, I wanted to create a symlink using php, but I have this error: No such file or directory in /home/scvroinh/public_html/jobeet/createsymlinks.php <?php $target1 = '/home/scvroinh/public_html/scvroin/jobeet/lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/web/'; $link1 = 'sfDoctrinePlugin'; $target1 = '/home/scvroinh/public_html/scvroin/jobeet/plugins/sfFormExtraPlugin/web/'; $link1 = 'sfFormExtraPlugin'; symlink($target1, $link1); symlink($target2,$link2); ?> I try to see if I could put in great shared host like heliohost, the symfony example: jobeet Jobeet on heliohost and it works except the assets in the admin part: Jobeet Admin at heliohost user and pass: fabien Thank you
Byron Posted May 29, 2010 Posted May 29, 2010 I've never used symlink() but just looking at your code, shouldn't you be defining a variable that says: $target2 and $link2 also make sure your paths are correct.
scvroin Posted May 29, 2010 Author Posted May 29, 2010 I've never used symlink() but just looking at your code, shouldn't you be defining a variable that says: $target2 and $link2 also make sure your paths are correct. Thank you very much, now is working as expected.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now