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?

Does not copy ( symlinks ) the file structure
(1 viewing) (1) Guest
Go to bottomPage: 12
TOPIC: Does not copy ( symlinks ) the file structure
#11121
Does not copy ( symlinks ) the file structure 11 Years, 10 Months ago Karma: 0
Hello!

Bought a full version 1.3 Multi Sites at Joomla 2.5 , but there were problems.

I want to create a copy of the site with symlinks, the master site example.com, a new domain has the form example2.com.

The template is created as follows:

CommonID - I enter id template
List of domain names - here am making one domain example2.com
Template site - this specifies the master site
To site ID - id introduce the new site of the future
Share the whole site: - tried both parametrs


(New DB server: New DB Name: New DB User: New DB Password: New DB Prefix: New Site Name )

fill the data of the new database (copied all of the tables, everything normal).

New Site Name - here I enter example2.com

Folders and files - Everything's ignore, leaving only a copy of: administrator, images, modules, templates

Sharing - put Virtuemart

When creating a site from a template database is copied, and the files that are to be a copy, copies only the directory

/var/www/vhosts/example/www/example/multisites/template name/

and that no symbolic links, although it should be copied to the directory

/var/www/vhosts/example/www/example2/

I had an older version of the component is for Joomla 1.5 and everything worked.

Now - no, maybe I'm doing something wrong?

Help please.
benshee
Fresh Boarder
Posts: 6
graphgraph
User Offline Click here to see the profile of this user
Last Edit: 2013/02/15 15:07 By benshee.
The administrator has disabled public write access.
 
#11125
Re: Does not copy ( symlinks ) the file structure 11 Years, 10 Months ago Karma: 54
1) If you select "share whole site", you don't need to setup the sharing tabs as the "share whole site" consists in using the same DB with same table prefix as the website selected as template.

In case where you want to share some extension, you need to let the "share whole site" to off.

2) If in "folders and files" you set the action to "ignore", this is normal that you don't have any symbolic link as you set "ignore".
The action tells to JMS what to do when a directory (or file) is not present in a slave site. When it does not exists and the action is "ignore" then you don't have the directory (or file).
If you use the action "copy" then you have a physical copy of the directory (or file).

For the "/images" and "/templates" directory, you have to use the "special copy" to get a symbolic link.

For the "/templates" directory, if you want a physical directory and sub-directories as symbolic link, you have to combine the "special copy" with the parameter in the "common tabs" / template directory = {deploy_dir}/templates.

See the tutorial video CP-05 for a speciific /images and /tempaltes directories
www.jms2win.com/en/tutorial#jms12x-CP-05

See also the tutorial video 0.d - slide 34 that show the variant of the /templates directory (full sharing, full copy, partial sharing).
www.jms2win.com/en/tutorial#jms12x-0b
edwin2win
Moderator
Posts: 5370
graph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#11127
Re: Does not copy ( symlinks ) the file structure 11 Years, 10 Months ago Karma: 0
I do not even see Special copy in drop down meny. There is only in templates and images.

Also i do not see anywhere deploy_dir for the whole site as it in the video.
benshee
Fresh Boarder
Posts: 6
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#11136
Re: Does not copy ( symlinks ) the file structure 11 Years, 10 Months ago Karma: 54
Give screenshot because I suspect that you are not in the correct screen and setting.
They should be there or perhaps that you don't have the Symbolic Link allowed on your environment.
See tutorial video 4 to 7 to verify if the Symbolic Link is allowed.
edwin2win
Moderator
Posts: 5370
graph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#11140
Re: Does not copy ( symlinks ) the file structure 11 Years, 10 Months ago Karma: 0
Thank you!

Problem solved. Symbolic Link were not allowed.

I changed the open_basedir parameter on my server and the Symbolic Links are now allowed.
benshee
Fresh Boarder
Posts: 6
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#11161
Re:Does not copy ( symlinks ) the file structure 11 Years, 9 Months ago Karma: 0
Hello!

There was one more problem, at duplication of the second site, gives out here such error of mysql


Error(1) [1142] query [CREATE OR REPLACE VIEW headrush_users AS SELECT * FROM 'fightwear4'.'u1weg_users']. DB Error: ANY command denied to user 'h_root' @ for table '%' 'u1weg_users' SQL=CREATE OR REPLACE VIEW headrush_users AS SELECT * FROM 'fightwear4'.'u1weg_users'

and just the same mistake according to all tables + copies only the following folders in the necessary directory: cache, logs, tmp, configuration.php
and everything, has to after all copy still templates, but copying doesn't happen. All settings of a template look as follows:


$templates['site.com'] = array(
'fromSiteID' => ':master_db:',
'validity_unit' => 'days',
'toDomains' => array( 'site.com', 'www.site.com'),
'toSiteID' => 'site.com',
'adminUserID' => '42',
'toDBHost' => 'localhost',
'toDBName' => 'name',
'toDBUser' => 'user',
'toDBPsw' => 'pass',
'toPrefix' => 'pref_',
'toSiteName' => 'site',
'setDefaultJLang' => 'en-GB',
'setDefaultTemplate' => 'beez5',
'deploy_dir' => '/var/www/vhosts/site1.com/www/site.com/',
'toFTP_enable' => '1',
'toFTP_host' => 'myhost',
'toFTP_user' => 'user',
'toFTP_psw' => 'pass',
'toFTP_rootpath' => '/var/www/vhosts/site1.com/www/site.com/',
'symboliclinks' => array( 'administrator' => array( 'action' => 'SL'),
'cache' => array( 'action' => 'mkdir', 'readOnly' => '1'),
'cli' => array( 'action' => 'SL'),
'components' => array( 'action' => 'SL'),
'fancyapps-fancyBox-3a66a9b' => array( 'action' => 'SL'),
'images' => array( 'action' => 'special'),
'includes' => array( 'action' => 'SL'),
'installation' => array( 'action' => 'dirlinks'),
'language' => array( 'action' => 'SL'),
'libraries' => array( 'action' => 'SL'),
'logs' => array( 'action' => 'mkdir', 'readOnly' => '1'),
'market' => array( 'action' => 'SL'),
'media' => array( 'action' => 'SL'),
'modules' => array( 'action' => 'copy'),
'multisites' => array( 'action' => 'SL'),
'picture_library' => array( 'action' => 'SL'),
'plesk-stat' => array( 'action' => 'SL'),
'plugins' => array( 'action' => 'SL'),
'templates' => array( 'action' => 'copy'),
'tmp' => array( 'action' => 'mkdir', 'readOnly' => '1'),
'zipimport' => array( 'action' => 'SL'),
'.htaccess' => array( 'action' => 'SL'),
'1.php' => array( 'action' => 'SL'),
'LICENSE.txt' => array( 'action' => 'SL'),
'README.txt' => array( 'action' => 'SL'),
'analyticstracking.php' => array( 'action' => 'SL'),
'beckap_12_01_2013.zip' => array( 'action' => 'SL'),
'blago.html' => array( 'action' => 'SL'),
'brends.php' => array( 'action' => 'SL'),
'brends_adminka.php' => array( 'action' => 'SL'),
'defines.php' => array( 'action' => 'SL'),
'fancybox_setings.js' => array( 'action' => 'SL'),
'favicon.ico' => array( 'action' => 'SL'),
'fightmap.png' => array( 'action' => 'SL'),
'fw_backap.zip' => array( 'action' => 'SL'),
'htaccess.txt' => array( 'action' => 'SL'),
'jsys.php' => array( 'action' => 'SL'),
'robots.txt' => array( 'action' => 'SL'),
'sea.html' => array( 'action' => 'SL'),
'test.php' => array( 'action' => 'SL'),
'titles_and_desc.php' => array( 'action' => 'SL'),
'web.config.txt' => array( 'action' => 'SL'),
'yandex_66e030b87f64a020.html' => array( 'action' => 'SL'),
'index.php' => array( 'action' => 'redirect', 'readOnly' => '1'),
'index2.php' => array( 'action' => 'redirect', 'readOnly' => '1')),
'dbsharing' => array( 'dbsh_UserSharing' => 'Joomla', 'dbsh_VirtueMart' => 'on'));


Help please..
benshee
Fresh Boarder
Posts: 6
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