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?
Go to bottomPage: 123
TOPIC: What is created into subfolder
#2030
What is created into subfolder 14 Years, 7 Months ago Karma: 0
When I create a subdomain associated with a folder, I found the whole directory of public_html copied into the subfolder whereas I expect to see only the Joomla files. Any advice ?

Thanks,

LK
Loki
Fresh Boarder
Posts: 13
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#2034
Re:What is created into subfolder 14 Years, 7 Months ago Karma: 54
Create a JMS template to control which files and folders must be created.
See tutorial video CP-04
When you replicate a website or create a fresh slave site without a JMS templates, this replicate the whole master directory structure and files.
edwin2win
Moderator
Posts: 5370
graph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#2074
Re:What is created into subfolder 14 Years, 7 Months ago Karma: 0
There are a few points still not clear to me.

I want to create 15 subdomains of the main domain such as slave1.master.com
These slaves will have independent content and templates but will share some components with the main site, authentification will be performed using jfusion with smf forum as "master".

1. I create a template
id: submonster
List of domain names:
http://{site_id}.master.com
www.master.com/{site_id}

Replicate the tables from an existing DB prefix into a new tables prefix of a new DB
Do I need to replicate the database at this stage or can I just populate it later using "tools" ?

Deployment folder: {root}/{site_id}
I want the subdomains to correspond to subfolders of my main domains because I will add other scripts than joomla

I also want to have media and image as subfolders of each subdomain

Path to Media folder: "{site_dir}/media" or "media" or "{rel_site_dir}/media"?
Path to Image folder:"{site_dir}/image" or "image" or "{rel_site_dir}/image"?
Templates (themes) folder:{site_dir}/templates or {deploy_dir}/templates

FOLDER AND FILES
I do not see the use of having links to the master directory so I keep only the minimum: cache, logs, tmp.

SHARING
I guess I can have independent connection to SMF to manage my users


2 - I create the subdomain
Site ID (*): slave1
List of domain names (*):slave1.master.com

Why do I have to reenter the URL ? Isn't it provided by the template ?

Replicate the tables from an existing DB prefix into a new tables prefix using the same DB

OK, here its very fuzzy, since I want to copy only a few folders I use from template: submonster but keep all things related to database blank since I will be creating the database when installing the slave.

The following infos appear already in green.

Template Deployed directory:
{root}/{site_id}

Template Themes folder:
{site_dir}/templates

3 - I create the slave site - seems to work fine xcept that when I go to the URL, I have errors ....

Warning: require_once(/home//public_html/test6/includes/defines.php) [function.require-once]: failed to open stream: No such file or directory in /home/.../public_html/test6/index.php(11) : eval()'d code on line 21

Fatal error: require_once() [function.require]: Failed opening required '/home/.../public_html/test6/includes/defines.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/.../public_html/test6/index.php(11) : eval()'d code on line 21

There might be some error somewhere in the template creatio.

Thanks,

LK
Loki
Fresh Boarder
Posts: 13
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#2077
Re:What is created into subfolder 14 Years, 7 Months ago Karma: 54
1) Read the (i)nfo incone concerning the parameters.
media folder = images
image foler = imgaes/stories
template folder = {deploy_dir}/templates
Have a look in the video CP-05
www.jms2win.com/tutorial#jms12x-CP-05


Concerning JomSocial, you can define its sharing in JMS templates - otherwise it will not be shared.
See video 16
www.jms2win.com/tutorial#jms12x-16

SMF is a forum that is managed outside joomla.
So you need a bridge to synchronise the users.
JMS does not provide anything for this extension.
If you want to share the forum between websites, you can perhaps have a look to kunena forum.

2) If you have selected the template, you don't need to re-enter all the parameters that you have already defined in the JMS template.
So it is not required to re-enter the domain if you have defined a rule.

If you want to see how to use the template, you can have a look in the video
www.jms2win.com/tutorial#jms12x-13

Your template folder is WRONG and inconsisten with deploy directory
{root}/{site_id}/templates

3) Check that you have the permission to access the master website from the slave site.
Failed to open could be due to permission issue.

We suggest that you first review the video present in the tutorial.
If you want that we configure your server, this is also possible with our billable support that you can order on
www.jms2win.com/download?page=shop.produ...35&category_id=1
edwin2win
Moderator
Posts: 5370
graph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#2079
Re:What is created into subfolder 14 Years, 7 Months ago Karma: 0
The folder with the links get created but with error message.

* Unable to create the symbolic link [home] -> [/home/monstr/public_html/home].
* Unable to create the symbolic link [images] -> [/home/monstr/public_html/images].
* Unable to create the symbolic link [public_html] -> [/home/monstr/public_html/public_html].
* Unable to create the symbolic link [templates] -> [/home/monstr/public_html/templates].

and I cant access the install folder ...

Warning: require_once(/home/monstr/public_html/test1/includes/defines.php) [function.require-once]: failed to open stream: No such file or directory in /home/monstr/public_html/test1/index.php(11) : eval()'d code on line 21

Fatal error: require_once() [function.require]: Failed opening required '/home/monstr/public_html/test1/includes/defines.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/monstr/public_html/test1/index.php(11) : eval()'d code on line 21
Loki
Fresh Boarder
Posts: 13
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#2080
Re:What is created into subfolder 14 Years, 7 Months ago Karma: 0
When I disable the FTP layer, the folder also get populated with the additional missing folders home
images
public_html
templates

they belong to apache (not the user)

and I still get the same messahe when trying to access the site
Loki
Fresh Boarder
Posts: 13
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
Go to topPage: 123
get the latest posts directly to your desktop
2Win, Multisite(s) are trademarks of Edwin2Win.
Joomla