English (United Kingdom)
Jms Multi Site, formerly joomla multisite.
Create, share multiple joomla sites in few clicks !
Message
  • EU e-Privacy Directive

    This website uses cookies to manage authentication, navigation, and other functions. By using our website, you agree that we can place these types of cookies on your device.

    View e-Privacy Directive Documents

Welcome, Guest
Please Login or Register.    Lost Password?

Forbidden and Permission of configuration.php
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: Forbidden and Permission of configuration.php
#4975
Forbidden and Permission of configuration.php 14 Years, 4 Months ago Karma: 0
I tested my hosting server with the file helloworld.php, and the server
returned to me this message:

The current path is "/usr/local/pem/vhosts/101428/webspace/httpdocs"
Error : Unable to create the file /usr/local/pem/vhosts/101428/webspace/httpdocs/symlink_file4c5ca5a3ef0ff.txt

Probably you will need to used the Joomla FTP Layer and the Symbolic Links will be forbidden

Just this.

And in the mastersite administrator->multisites->settings return:

Unix Symbolic Links: Forbidden
MySQL Version: 5.0.83-community Sharing supported

I think that my server NOT permit the use of symlink, correct ?

So I used the tutorial:
CP-03 How to create a slave site that share the same directory than master website

Then my Slave site was created with[color=#00FF00] [color=#FF0000]success[/color[/color]].

BUT, BEFORE i install joomla(not JMS) in slave Site
(/multisites/slavesite in slavesite.com) i MUST to change the permission of slave folder /multisites/slavesite
because the joomla installation CANĀ“T write the configuration.php, WHY this ?

The next step for me is
How to create a slave site with specific images, media and templates folders.
With Symbolic Links = Forbidden.
Whats the tutorial Must I use ??????

Thank you, Congratulations its very nice Extension....
Xtras
Fresh Boarder
Posts: 7
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#4983
Re: Forbidden and Permission of configuration.php 14 Years, 4 Months ago Karma: 54
YES it seems effectivelly that you hosting provder does not allow using the Symbolic Links.

When using JMS, you don't need to have several Joomla PHP code present.

If the Symbolic Link is not allowed, you have to setup your http server to assign the same directory as the master for all the domain and subdomain.

If you have installed a standalone Joomla and that you have modified the global configuration, Joomla may have changed the permission of the file into read only. This may explain that you don't have the permission to access the file OR you have a different owner for the file.

When Symbolic Link is not allowed, you are in a similar situation than Windows platform.
It become more difficult to have specific images and templates folders as most of the extension hardcode the path /images and /templates in their code.
The procedure to use a specific image and themes folder is more less the same as the CP-05 except that you can not deploy the slave site into a specific directory and that you can try using the {rel_site_dir}/images and {rel_site_dir}/templates.
Most of the templates hardcode the /templates path and you may have to adapt them to use the JPATH_THEMES declared in Joomla.
Concerning the /images directory, this may also be a problem with the extension that does not read the Global media setup present in the global configuration.
So we can just tell you that you will have limitations.
edwin2win
Moderator
Posts: 5370
graph
User Offline Click here to see the profile of this user
Last Edit: 2010/08/07 11:37 By edwin2win.
The administrator has disabled public write access.
 
#5016
Re:Forbidden and Permission of configuration.php 14 Years, 4 Months ago Karma: 0
Hi Im studying hard...

The file configuration.php is a problem of permission. Right ??
Ok, I understood.

But the forbidden symlinks Im not satisfied...
I contacted my hosting provider and i got access to ssh and i tested the creation of a symlink manually. The test resulted that i can create symlinks, but in administrator->multisites->settings return: Forbidden.

Is this a permission problem too??

in phpinfo:
disable_function spassthru, proc_close, proc_get_status, proc_nice, proc_open, proc_terminate, shell_exec, system, apache_note, apache_setenv, closelog, debugger_off, debugger_on, define_syslog_variables, openlog, syslog, popen, pclose, exec, ini_restore, symlink

Can i change this with php.ini or .htaccess???
Xtras
Fresh Boarder
Posts: 7
graphgraph
User Offline Click here to see the profile of this user
Last Edit: 2010/08/11 05:45 By Xtras.
The administrator has disabled public write access.
 
#5019
Re:Forbidden and Permission of configuration.php 14 Years, 4 Months ago Karma: 54
IN JMS, there is a test to try using the Symbolic Link and if it fails, it says forbidden.
To test, JMS use the tmp and logs directories setup in your Global configuration.
Normally the tmp and logs directory should have the permission except if you provide path outside of your website or "null" directory.

Of course if the "symlink" function is disabled from your http server, this mean that its call will fail and may explain why a terminal SSH is able to create a link but not a PHP script.

You can test the Symbolic Link with "hello world" procedure as described in the tutorial video 7.
It does not require JMS to test the Symbolic Links
edwin2win
Moderator
Posts: 5370
graph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
Go to topPage: 1
get the latest posts directly to your desktop
2Win, Multisite(s) are trademarks of Edwin2Win.
Joomla