Hi,
1. This should work with a new site named “fr”. Are you sure you just wrote “fr” in the textbox, and not copied the whole adresse of the network (“le-vieux-manoir.owlseye.net/fr”) ? You have to write only the slug of the new site, not the complete address.
2. The dashes in the name of the site could be a problem. I’ve made a patch that is not yet in the current version (will be in the 1.3.0). Could you test it ?
Just replace the file lib/data.php in the directory of the plugin by this one on github :
https://github.com/pierre-dargham/multisite-clone-duplicator/blob/master/lib/data.php
Best regards,
Pierre
I’m having this problem as well but I have no dash and have only written in the slug of the new site.
To all : If you create a new site manually with this slug, does-it work ?
@kellymarie2001 : can you tell me the slug of the new site you are tring to create ?
Oh gosh I can’t even remember what the issue was – we had a fixed a while back! Thanks!
I wonder if the original problem might be related to the combination of a subdomain “le-vieux-manoir.” and a subdirectory “/fr”?
However, I receive an error when attempting to duplicate a subdirectory site from a subdirectory site. This is after updating the lib/data.php file. In the following command, it is not clear to me what the string ‘site_ar’ refers to. Here is the error message:
Duplication failed :
ERROR SQL ON : CREATE TABLE IF NOT EXISTS wp_20_commentmeta LIKE site_ar.wp_14_commentmeta
WPDB ERROR : SELECT command denied to user ‘skserver1’@’boscustweb4104.eigbox.net’ for table ‘wp_14_commentmeta’
Looks like the backticks were removed by the editor in my previous message. Here is the error message again, with apostrophes in the place of backticks:
ERROR SQL ON : CREATE TABLE IF NOT EXISTS 'wp_20_commentmeta' LIKE 'site_ar'.'wp_14_commentmeta'
And here I will try doubling up the backticks to see if they come through:
ERROR SQL ON : CREATE TABLE IF NOT EXISTS wp_20_commentmeta LIKE site_ar.wp_14_commentmeta
Well, let us see if the blockquote leaves the backticks in place:
ERROR SQL ON : CREATE TABLE IF NOT EXISTS wp_20_commentmeta LIKE site_ar.wp_14_commentmeta