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: 12
TOPIC: Error when creating slave site
#5786
Error when creating slave site 14 Years, 1 Month ago Karma: 0
I have created a template to replicate the master site.

Using a separate DB

using {rel_site_dir}/images
and {rel_site_dir}/images/stories
and {site_dir}/templates

when I run the create site I get this error message

Unable to create the symbolic link [multisites] -> [/home/content/my_file_structure/html/my_domain/multisites].

Any idea what I did wrong?

Thanks,

Tony
tchager
Junior Boarder
Posts: 21
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#5787
Re:Error when creating slave site 14 Years, 1 Month ago Karma: 0
I corrected the error message by taking out the rel_ from the {rel_site_dir}

the slave site seems to have created correctly and when I view the site it seems to be displaying from it's own set of templates, all my directories that I ask for got created yet when I replace the "logo" file in the template image directory, it does not replace on the site when I view it. What is the correct file structure for the new template directories?

../images/logo.png does not seem to work as it does in the master site.
tchager
Junior Boarder
Posts: 21
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#5788
Re:Error when creating slave site 14 Years, 1 Month ago Karma: 54
the error message that you reported seems to show that it was not possible to create a symbolic link on the "/multisites" directory.

Check the deploy directory.

When the "template folder" is not defined and the action is "copy" in the JMS Template, this copy the "/template" directory that is the result that you got.
If you want to share the "/templates" directory, verify the JMS templates rules and verify that you have selecte the "special copy" method corresponding to the "/templates" directory.

See also the tutorial video 0.b slide 34 that show the different possible choices.
See also the tutorial video CP-05 tjat show how to create a specific directory for the images and templates folder. This should help you doing the reverse to share the directories.
www.jms2win.com/tutorial#jms12x-0b
www.jms2win.com/tutorial#jms12x-CP-05
edwin2win
Moderator
Posts: 5370
graph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#5810
Re:Error when creating slave site 14 Years, 1 Month ago Karma: 0
Apparently I am missing something within the tutorials and manuals, I have watched them multiple times, read them multiple times and still don't get the same results you explain.

My set up is as follows:

Linux shared hosting on godaddy
symbolic links are allowed

I have created a master site using a master DB
I created a template and included the following parameters:
the deploy directory is my master directory path with mulitisites/{site_id} attached at the end
I have created a slave DB and include all the parameters within the template
I set the DB table prefix to be {site_id}_
I have tried multiple choices in the templates and images blanks including:
/templates
{site_dir}/templates
{deploy_dir}/templates

several of these choices along with the folder tab being done multiple ways has actually created the correct file structure yet still does not allow me to place a logo file in the directory and display it on the site. It appears that even though the slave site is created with it's own directory structure when I look at the file structure in Godaddy that the template is still looking at the image directory of the master site. I have tried "copy" "special copy" "symbolic link" to no avail.

Apparently I must be missing something but can not seem to figure out what it is.
tchager
Junior Boarder
Posts: 21
graphgraph
User Offline Click here to see the profile of this user
Last Edit: 2010/11/08 22:21 By tchager.
The administrator has disabled public write access.
 
#5816
Re:Error when creating slave site 14 Years, 1 Month ago Karma: 54
On godaddy shared linux hosting delux plan or unlimited plan, everything should be OK.

The error is that you provide "{site_dir}" in multsites/
{site_dir} is the full path of your server.

Try using exactly the parameter provided in the tutorial video 9
www.jms2win.com/tutorial#jms12x-9

Sample values:

* Site ID = slave1
* Domain name = {site_url}/multisites/{site_id}
* Deploy directory = {site_dir}

Copy / Past the value WITHOUT any changes.

This should give you your first slave site.

If you want to have a specific templates directory, follow the tutorial CP-05
www.jms2win.com/tutorial#jms12x-CP-05

In your specific case (godaddy), create a JMS Template with the same parameters than the one in above.

- Template ID = SpecificThemes
- Domain name = {site_url}/multisites/{site_id}
- Deploy directory = {site_dir}
- Themes folder = {deploy_dir}/templates

Folders and Files tab
- Select "templates" action = "special copy"

Now you can create a slave site using the rule "SpecificThemes"

Your major problem is that you make confusion with {site_dir} and {site_id}

DIR = Directory
ID = Identifier
edwin2win
Moderator
Posts: 5370
graph
User Offline Click here to see the profile of this user
Last Edit: 2010/11/08 19:34 By edwin2win.
The administrator has disabled public write access.
 
#5821
Re:Error when creating slave site 14 Years, 1 Month ago Karma: 0
Sorry, yes I did mistype that in my reply, I meant multisites/{site_id} is what is actually created .
tchager
Junior Boarder
Posts: 21
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
Go to topPage: 12
get the latest posts directly to your desktop
2Win, Multisite(s) are trademarks of Edwin2Win.
Joomla