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: 1
TOPIC: Unable to create target folder
#9584
Unable to create target folder 12 Years, 1 Month ago Karma: 0
Hi there,

I am using latest joomla 1.5 with latest JMS Multisite and Virtuemart

I tested many configurations of the template trying to create the slave and always got this message:


-1 - An error has occurred.

Unable to create target folder

Then I have tried creating a simple configuration slave site, not using template. At first time it gave me the same error. Then i turned ON the ftp option on global configuration.

I could then create the slave successfuly.

However everytime I need to create the slave site using the template it did not work. I see on the multisite folder that the slave folder is created always, but there is nothing inside it.

Unix Symbolic Links: Allowed
MySQL Version: 5.1.61-rel13.2 Sharing supported

I am trying to follow the documentation and the tutorial, but does not seems to help on this issue.

I understand I need to create a template because I need the option of sharing virtuemart tables except the vendor.

I only need to create 1 slave site. There is no need for more sites.

Please I need a help on the template and site configuration.

I took a look on the access rights, besides i have not much experience on that.

Many thanks,

Eduardo Elias
eduardoelias
Fresh Boarder
Posts: 4
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#9589
Re: Unable to create target folder 12 Years, 1 Month ago Karma: 54
Did you first tested that you can create a slave site into a subdirectory of your master.

For example, use the following parameters as show in several video
domain = {site_url}/multisites/{site_id}
Deploy folder = {site_dir}

If you are able to use the JMS directory, retry with another location inside your master
For example
domain = {site_url}/{site_id}
Deploy folder = {root}/{site_id}
Create directory = ON

After that, you can try create a website into another directory than you master.
In this case, some server are configured with the open_basedir to does not accept to access the directory outside.

To check your files/folders permission, I suggest that you start creating a fresh slave site like illustrated in my example.
Once you have verified your server permission and this is OK, create the JMS Template rule to define the sharing.
edwin2win
Moderator
Posts: 5370
graph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#9612
Re: Unable to create target folder 12 Years, 1 Month ago Karma: 0
I have done all that sucessfully.

Bu when creating a template for share virtuemart with no vendor, it creates the folder inside multisite folder and stop with the same message:

-1 - An error has occurred.

Unable to create target folder

I have no clue on what could it be.

Please, my side is delayed a lot because this problem.

Thanks
eduardoelias
Fresh Boarder
Posts: 4
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#9621
Re: Unable to create target folder 12 Years, 1 Month ago Karma: 0
I made changes and could create the site.

However it created 2 sites at once:

1
wholesaleGRIPS
GOLFslinger.com www.wholesalegrips.com
www.octopusgolf.com localhost shootpar_joomla wsg_ shootpar_joomla Confirmed
2
wholesalegrips
GOLFslinger.com localhost shootpar_joomla wsg_ shootpar_joomla

this is what I see in Manage Sites.

At multisites folder 2 folders were created:

- wholesaleGRIPS: with config_multisites.php and index.php file.
- wholesalegrips: with a full copy of the master site

I have choose to share DB but no vendor for virtuemart. Taking a look on the phpMyAdmin I saw ALL the tables replicated.

this is the template:
$templates['Virtuemart'] = array(
'fromSiteID' => ':master_db:',
'groupName' => '',
'sku' => '',
'title' => 'wholesaleGRIPS.com',
'description' => '',
'validity' => '0',
'validity_unit' => 'days',
'maxsite' => '0',
'expireurl' => '',
'toDomains' => array( 'www.wholesalegrips.com', 'www.OctopusGOLF.com'),
'toSiteID' => '{site_prefix}',
'shareDB' => '',
'adminUserID' => '62',
'adminUserLogin' => '',
'adminUserName' => '',
'adminUserEmail' => '',
'adminUserPsw' => '',
'toPrefix' => 'wsg_',
'deploy_dir' => '/home/shootpar/public_html/multisites/wholesalegrips',
'deploy_create' => 'on',
'toFTP_enable' => '[unselected]',
'toFTP_user' => 'admin',
'toFTP_psw' => 'sh00tpar',
'symboliclinks' => array( '.smileys' => array( 'action' => 'SL'),
'administrator' => array( 'action' => 'SL'),
'cache' => array( 'action' => 'mkdir', 'readOnly' => '1'),
'cgi-bin' => array( 'action' => 'SL'),
'components' => 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'),
'media' => array( 'action' => 'SL'),
'modules' => array( 'action' => 'SL'),
'multisites' => array( 'action' => 'SL'),
'plugins' => array( 'action' => 'SL'),
'templates' => array( 'action' => 'copy'),
'tmp' => array( 'action' => 'mkdir', 'readOnly' => '1'),
'u62' => array( 'action' => 'SL'),
'xmlrpc' => array( 'action' => 'SL'),
'.ftpquota' => array( 'action' => 'SL'),
'.htaccess' => array( 'action' => 'SL'),
'CHANGELOG.txt' => array( 'action' => 'SL'),
'README.txt' => array( 'action' => 'SL'),
'data.php' => array( 'action' => 'SL'),
'error_log' => array( 'action' => 'SL'),
'htaccess.txt' => array( 'action' => 'SL'),
'php_errorlog' => array( 'action' => 'SL'),
'robots.txt' => array( 'action' => 'SL'),
'sitemap.xml' => array( 'action' => 'SL'),
'index.php' => array( 'action' => 'redirect', 'readOnly' => '1'),
'index2.php' => array( 'action' => 'redirect', 'readOnly' => '1')),
'dbsharing' => array( 'dbsh_UserSharing' => 'Joomla', 'dbsh_VirtueMart' => 'noVendor'));

What I need:

- Fully share website (same source for both, only template differences)
- All database shared including users, only vendor is site specific
- why the 2 sites created at once? Should not be only one?

Many thanks,

Eduardo
eduardoelias
Fresh Boarder
Posts: 4
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#9622
Re: Unable to create target folder 12 Years, 1 Month ago Karma: 54
You probably have a problem of permission or ownership of the files and folders that would explain that a folder can not be created.

Verify the ownership of the files and folders.

I suspect that some files are owned by an FTP account and other are owned by your server (ie apache, ..)
edwin2win
Moderator
Posts: 5370
graph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#9623
Re: Unable to create target folder 12 Years, 1 Month ago Karma: 54
Concerning the "2 sites" issue, I have noticed that you have uppercase letter in your directory name.
One contain uppercase letters and the other one is in lower case.

Becarefull that URL and file directories are case sensitives.
It is recommended to always using lowercase.

In your case, you used the directory where JMS saves the slave site definition.
So one is used by JMS to save its data.
And the otherone is the one that you put in your deploy folder to deploy the website.

So verify your Site ID, URL and deploy folder to use lowercase.
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