folder pb for new site 11 Years, 5 Months ago
|
Karma: 0
|
Hi,
I'm using jms for the first time, creating a fresh site for a different domain than master domain website.
When I create a freshSlaveDomain, I have an error message :
Directory [{home_dir}/domains/{site_id-2}.[b]mydomain.com[/b]{public_dir}] does not exist
I have create
domains/mydomain.com
domains/com.mydomain.com
domains/mydomain.com/public_html
domains/com.mydomain.com/public_html
same error....
Thanks for help
(joomla 2.5.11)
|
|
|
|
|
Re: folder pb for new site 11 Years, 5 Months ago
|
Karma: 54
|
Which is the value that you enter in the site ID ?
When you use the rule "freshSlaveDomain", it is assume that the Site ID = domain.com
So enter a domain name.
{home_dir} and {public_dir} are the parameter defined in the "settings" menu.
I suppose that you are not using a cPanel, Plesk and that the JMS install didn't discovered you home directory.
So verify the "home directory" and the "public directory" value present in the settings menu.
In general, on cPanel, the "home directory" = /home/account
and the "public directory" = /public_html
This depends on your current installation and environment.
Concerning the {site_id-2}, this correspond to the second parameter (separated by a dot) present in the site ID.
so when you enter domain.com
{site_id-1} = com
{site_id-2} = domain
In your case, I suspect that you have entered as site ID = a single word.
|
|
|
|
|
Re: folder pb for new site 11 Years, 5 Months ago
|
Karma: 0
|
Hi!
Thanks for your help.
1/ Domain : site ID was domain name without .com, I've put now domain.com
2/ exact : I don't use plesk or cpanel.
I've put home directory "/home/site/www" and "/httpdocs"
-> No error message
Thanks a lot for your help and detailed explications !!
|
|
|
|
|
Re: folder pb for new site 11 Years, 5 Months ago
|
Karma: 54
|
I suspect that you have an error on the deployment directory or that you don't have the permission to write in it.
Try to enable the joomla debug in the configuration to see if you get an error message and a path to something like a "can not create folder" or similar.
Unfortunatelly, when there is an error on folder, joomla does not report any error and does not provide the file/folder name that has an error.
The only solution to know which is the file/folder that cause the error is to add a trace into the core of joomla.
|
|
|
|
|
|