Duplicator – WordPress Migration Plugin - Version 1.1.26

Version Description

Download this release

Release Info

Developer bobriley
Plugin Icon 128x128 Duplicator – WordPress Migration Plugin
Version 1.1.26
Comparing to
See all releases

Code changes from version 1.1.24 to 1.1.26

define.php CHANGED
@@ -2,7 +2,7 @@
2
  //Prevent directly browsing to the file
3
  if (function_exists('plugin_dir_url'))
4
  {
5
- define('DUPLICATOR_VERSION', '1.1.24');
6
  define('DUPLICATOR_HOMEPAGE', 'http://lifeinthegrid.com/labs/duplicator');
7
  define('DUPLICATOR_PLUGIN_URL', plugin_dir_url(__FILE__));
8
  define('DUPLICATOR_SITE_URL', get_site_url());
2
  //Prevent directly browsing to the file
3
  if (function_exists('plugin_dir_url'))
4
  {
5
+ define('DUPLICATOR_VERSION', '1.1.26');
6
  define('DUPLICATOR_HOMEPAGE', 'http://lifeinthegrid.com/labs/duplicator');
7
  define('DUPLICATOR_PLUGIN_URL', plugin_dir_url(__FILE__));
8
  define('DUPLICATOR_SITE_URL', get_site_url());
duplicator.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Duplicator
4
  Plugin URI: http://www.lifeinthegrid.com/duplicator/
5
  Description: Create a backup of your WordPress files and database. Duplicate and move an entire site from one location to another in a few steps. Create a full snapshot of your site at any point in time.
6
- Version: 1.1.24
7
  Author: LifeInTheGrid
8
  Author URI: http://www.lifeinthegrid.com
9
  Text Domain: duplicator
@@ -12,7 +12,7 @@
12
  */
13
 
14
  /* ================================================================================
15
- Copyright 2011-2013 Cory Lamle
16
 
17
  This program is free software; you can redistribute it and/or modify
18
  it under the terms of the GNU General Public License, version 2, as
3
  Plugin Name: Duplicator
4
  Plugin URI: http://www.lifeinthegrid.com/duplicator/
5
  Description: Create a backup of your WordPress files and database. Duplicate and move an entire site from one location to another in a few steps. Create a full snapshot of your site at any point in time.
6
+ Version: 1.1.26
7
  Author: LifeInTheGrid
8
  Author URI: http://www.lifeinthegrid.com
9
  Text Domain: duplicator
12
  */
13
 
14
  /* ================================================================================
15
+ Copyright 2011-2017 Cory Lamle
16
 
17
  This program is free software; you can redistribute it and/or modify
18
  it under the terms of the GNU General Public License, version 2, as
installer/build/ajax.step1.php CHANGED
@@ -233,9 +233,11 @@ DUPX_ServerConfig::Reset();
233
  if (filesize("{$root_path}/database.sql") > 100000000) {
234
  DUPX_Log::Info("\nWARNING: Database Script is larger than 100MB this may lead to PHP memory allocation issues on some budget hosts.");
235
  }
 
236
  $sql_file = file_get_contents('database.sql', true);
237
- if ($sql_file == false || strlen($sql_file) < 10) {
238
- $sql_file = file_get_contents('installer-data.sql', true);
 
239
  if ($sql_file == false || strlen($sql_file) < 10) {
240
  DUPX_Log::Info("ERROR: Unable to read from the extracted database.sql file .\nValidate the permissions and/or group-owner rights on directory '{$root_path}'\n");
241
  }
@@ -243,18 +245,19 @@ if ($sql_file == false || strlen($sql_file) < 10) {
243
 
244
  //Complex Subject See: http://webcollab.sourceforge.net/unicode.html
245
  //Removes invalid space characters
246
- if ($_POST['dbnbsp']) {
247
- DUPX_Log::Info("ran fix non-breaking space characters\n");
 
248
  $sql_file = preg_replace('/\xC2\xA0/', ' ', $sql_file);
249
  }
250
 
251
  //Write new contents to install-data.sql
252
- @chmod($sql_result_file_path, 0777);
253
  file_put_contents($GLOBALS['SQL_FILE_NAME'], $sql_file);
254
 
255
- $sql_result_file_data = explode(";\n", $sql_file);
256
  $sql_result_file_length = count($sql_result_file_data);
257
- $sql_result_file_path = "{$root_path}/{$GLOBALS['SQL_FILE_NAME']}";
 
258
  $sql_file = null;
259
 
260
  if (!is_readable($sql_result_file_path) || filesize($sql_result_file_path) == 0) {
233
  if (filesize("{$root_path}/database.sql") > 100000000) {
234
  DUPX_Log::Info("\nWARNING: Database Script is larger than 100MB this may lead to PHP memory allocation issues on some budget hosts.");
235
  }
236
+
237
  $sql_file = file_get_contents('database.sql', true);
238
+ if ($sql_file == false || strlen($sql_file) < 10)
239
+ {
240
+ $sql_file = file_get_contents($GLOBALS['SQL_FILE_NAME'], true);
241
  if ($sql_file == false || strlen($sql_file) < 10) {
242
  DUPX_Log::Info("ERROR: Unable to read from the extracted database.sql file .\nValidate the permissions and/or group-owner rights on directory '{$root_path}'\n");
243
  }
245
 
246
  //Complex Subject See: http://webcollab.sourceforge.net/unicode.html
247
  //Removes invalid space characters
248
+ if ($_POST['dbnbsp'])
249
+ {
250
+ DUPX_Log::Info("NOTICE: Ran fix non-breaking space characters\n");
251
  $sql_file = preg_replace('/\xC2\xA0/', ' ', $sql_file);
252
  }
253
 
254
  //Write new contents to install-data.sql
 
255
  file_put_contents($GLOBALS['SQL_FILE_NAME'], $sql_file);
256
 
257
+ $sql_result_file_data = explode(";\n", $sql_file);
258
  $sql_result_file_length = count($sql_result_file_data);
259
+ $sql_result_file_path = "{$root_path}/{$GLOBALS['SQL_FILE_NAME']}";
260
+ @chmod($sql_result_file_path, 0777);
261
  $sql_file = null;
262
 
263
  if (!is_readable($sql_result_file_path) || filesize($sql_result_file_path) == 0) {
installer/build/assets/inc.css.php CHANGED
@@ -54,9 +54,8 @@
54
 
55
  div#progress-area {padding:5px; margin:150px 0 0 0px; text-align:center;}
56
  div#ajaxerr-data {padding:5px; height:350px; width:99%; border:1px solid silver; border-radius:5px; background-color:#efefef; font-size:12px; overflow-y:scroll}
57
- div.title-header {padding:2px; border-bottom:1px solid silver; font-weight:bold; margin-bottom:5px;}
58
  div.hdr-main {font-size:18px; padding:0 0 5px 0; border-bottom:1px solid #999; font-weight:bold; margin:5px 0 10px 0;}
59
- div.hdr-sub {font-size:14px; padding:2px 2px 2px 0; border-bottom:1px solid #dfdfdf; font-weight:bold; margin-bottom:5px;}
60
 
61
  /*BOXES:Expandable sections */
62
  div.dup-box {padding:0px; display:block; background-color:#fff; border:1px solid #e5e5e5; box-shadow:0 1px 1px rgba(0,0,0,.04);}
@@ -90,17 +89,19 @@
90
  div#s1-dbconn-status div.warn-msg {text-align: left; padding:5px; margin:10px 0 10px 0}
91
  div#s1-dbconn-status div.warn-msg b{color:maroon}
92
 
93
- /*Warning Area and Message */
94
- div.dup-step1-gopro {color: black;font-style: italic;margin-top: 11px; text-align:center;margin-top:30px; padding:5px}
95
- div#dup-step1-warning {padding:5px;font-size:11px; color:gray; line-height:12px;font-style:italic; overflow-y:scroll; height:75px; border:1px solid #dfdfdf; background-color:#fff; border-radius:3px}
96
- div#dup-step1-warning-check {padding:5px; font-size:12px; font-weight:normal; font-style:italic;}
97
- div#dup-step1-warning-emptydb {display:none; color:#AF2222; margin:0px 0 0 20px}
98
- div#dup-step1-tryagain {padding-top:50px; text-align:center; width:100%; font-size:16px; color:#444; font-weight:bold;}
 
 
99
 
100
  /*Dialog*/
101
- div#dup-step1-dialog-data {height:90%; font-size:11px; padding:5px; line-height:16px; }
102
- td.dup-step1-dialog-data-details {padding:1px 0 10px 30px; border-radius:4px; line-height:14px; font-size:11px; display:none}
103
- td.dup-step1-dialog-data-details b {width:50px;display:inline-block}
104
  .dup-pass {display:inline-block; color:green;}
105
  .dup-ok {display:inline-block; color:#5860C7;}
106
  .dup-fail {display:inline-block; color:#AF0000;}
@@ -111,10 +112,10 @@
111
 
112
  /* ============================
113
  STEP 2 VIEW */
114
- table.table-inputs-step2{width:100%; border:0px;}
115
- table.table-inputs-step2 td{white-space:nowrap; padding:2px;}
116
- div#dup-step2-adv-opts {margin-top:5px; }
117
- div.dup-step2-allnonelinks {font-size:11px; float:right;}
118
 
119
  /* ============================
120
  STEP 3 VIEW */
@@ -123,9 +124,10 @@
123
  table.s3-report-results,
124
  table.s3-report-errs {border-collapse:collapse; border:1px solid #dfdfdf; }
125
  table.s3-report-errs td {text-align:center; width:33%}
126
- table.s3-report-results th, table.s3-report-errs th {background-color:#efefef; padding:0px; font-size:12px; padding:0px}
127
- table.s3-report-results td, table.s3-report-errs td {padding:0px; white-space:nowrap; border:1px solid #dfdfdf; text-align:center; font-size:11px}
128
  table.s3-report-results td:first-child {text-align:left; font-weight:bold; padding-left:3px}
 
129
 
130
  div.s3-err-msg {padding:8px; display:none; border:1px dashed #999; margin:10px 0 20px 0px; border-radius:5px;}
131
  div.s3-err-msg div.content{padding:5px; font-size:11px; line-height:17px; max-height:125px; overflow-y:scroll; border:1px solid silver; margin:3px; }
@@ -165,7 +167,6 @@
165
  .top_goodPass{background:#ffffe0; border:1px solid #e6db55; display:block;}
166
  .top_strongPass{background:#d3edab; border:1px solid #73bc00; display:block;}
167
 
168
-
169
  /*================================================
170
  PARSLEY:Overrides*/
171
  input.parsley-error, textarea.parsley-error, select.parsley-error {
54
 
55
  div#progress-area {padding:5px; margin:150px 0 0 0px; text-align:center;}
56
  div#ajaxerr-data {padding:5px; height:350px; width:99%; border:1px solid silver; border-radius:5px; background-color:#efefef; font-size:12px; overflow-y:scroll}
 
57
  div.hdr-main {font-size:18px; padding:0 0 5px 0; border-bottom:1px solid #999; font-weight:bold; margin:5px 0 10px 0;}
58
+ div.hdr-sub {font-size:15px; padding:2px 2px 2px 0; border-bottom:1px solid #dfdfdf; font-weight:bold; margin-bottom:5px;}
59
 
60
  /*BOXES:Expandable sections */
61
  div.dup-box {padding:0px; display:block; background-color:#fff; border:1px solid #e5e5e5; box-shadow:0 1px 1px rgba(0,0,0,.04);}
89
  div#s1-dbconn-status div.warn-msg {text-align: left; padding:5px; margin:10px 0 10px 0}
90
  div#s1-dbconn-status div.warn-msg b{color:maroon}
91
 
92
+ /*Advanced Options & Warning Area*/
93
+ div.s1-advopts-section {margin:15px 0 25px 0}
94
+ div.s1-advopts-section label {cursor: pointer}
95
+ div.s1-advopts-help {text-align: center; margin:10px}
96
+ div.dup-s1-gopro {color: black;font-style: italic;margin-top: 11px; text-align:center;margin-top:30px; padding:5px}
97
+ div#dup-s1-warning {padding:5px;font-size:11px; color:gray; line-height:12px;font-style:italic; overflow-y:scroll; height:75px; border:1px solid #dfdfdf; background-color:#fff; border-radius:3px}
98
+ div#dup-s1-warning-check {padding:5px; font-size:12px; font-weight:normal; font-style:italic;}
99
+ div#dup-s1-warning-emptydb {display:none; color:#AF2222; margin:0px 0 0 20px}
100
 
101
  /*Dialog*/
102
+ div#dup-s1-dialog-data {height:90%; font-size:11px; padding:5px; line-height:16px; }
103
+ td.dup-s1-dialog-data-details {padding:1px 0 10px 30px; border-radius:4px; line-height:14px; font-size:11px; display:none}
104
+ td.dup-s1-dialog-data-details b {width:50px;display:inline-block}
105
  .dup-pass {display:inline-block; color:green;}
106
  .dup-ok {display:inline-block; color:#5860C7;}
107
  .dup-fail {display:inline-block; color:#AF0000;}
112
 
113
  /* ============================
114
  STEP 2 VIEW */
115
+ table.table-inputs-s2{width:100%; border:0px;}
116
+ table.table-inputs-s2 td{white-space:nowrap; padding:2px;}
117
+ div#dup-s2-adv-opts {margin-top:5px; }
118
+ div.dup-s2-allnonelinks {font-size:11px; float:right;}
119
 
120
  /* ============================
121
  STEP 3 VIEW */
124
  table.s3-report-results,
125
  table.s3-report-errs {border-collapse:collapse; border:1px solid #dfdfdf; }
126
  table.s3-report-errs td {text-align:center; width:33%}
127
+ table.s3-report-results th, table.s3-report-errs th {background-color:#efefef; padding:0px; font-size:14px; padding:0px}
128
+ table.s3-report-results td, table.s3-report-errs td {padding:0px; white-space:nowrap; border:1px solid #dfdfdf; text-align:center; font-size:12px}
129
  table.s3-report-results td:first-child {text-align:left; font-weight:bold; padding-left:3px}
130
+ div.dup-step3-err-title {width:100%; background-color: #dfdfdf; font-weight: bold; margin:-5px 0 15px 0; padding:3px 0 1px 3px; border-radius: 4px; font-size:14px}
131
 
132
  div.s3-err-msg {padding:8px; display:none; border:1px dashed #999; margin:10px 0 20px 0px; border-radius:5px;}
133
  div.s3-err-msg div.content{padding:5px; font-size:11px; line-height:17px; max-height:125px; overflow-y:scroll; border:1px solid silver; margin:3px; }
167
  .top_goodPass{background:#ffffe0; border:1px solid #e6db55; display:block;}
168
  .top_strongPass{background:#d3edab; border:1px solid #73bc00; display:block;}
169
 
 
170
  /*================================================
171
  PARSLEY:Overrides*/
172
  input.parsley-error, textarea.parsley-error, select.parsley-error {
installer/build/classes/class.conf.srv.php CHANGED
@@ -17,20 +17,21 @@ class DUPX_ServerConfig {
17
  static public function Reset() {
18
 
19
  DUPX_Log::Info("\nWEB SERVER CONFIGURATION FILE RESET:");
 
20
 
21
  //Apache
22
- @copy('.htaccess', '.htaccess.orig');
23
  @unlink('.htaccess');
24
 
25
  //IIS
26
- @copy('web.config', 'web.config.orig');
27
  @unlink('web.config');
28
 
29
  //.user.ini - For WordFence
30
- @copy('.user.ini', '.user.ini.orig');
31
  @unlink('.user.ini');
32
 
33
- DUPX_Log::Info("- Backup of .htaccess/web.config made to .orig");
34
  DUPX_Log::Info("- Reset of .htaccess/web.config files");
35
  $tmp_htaccess = '# RESET FOR DUPLICATOR INSTALLER USEAGE';
36
  file_put_contents('.htaccess', $tmp_htaccess);
17
  static public function Reset() {
18
 
19
  DUPX_Log::Info("\nWEB SERVER CONFIGURATION FILE RESET:");
20
+ $timeStamp = date("ymdHis");
21
 
22
  //Apache
23
+ @copy('.htaccess', ".htaccess.{$timeStamp}.orig");
24
  @unlink('.htaccess');
25
 
26
  //IIS
27
+ @copy('web.config', "web.config.{$timeStamp}.orig");
28
  @unlink('web.config');
29
 
30
  //.user.ini - For WordFence
31
+ @copy('.user.ini', ".user.ini.{$timeStamp}.orig");
32
  @unlink('.user.ini');
33
 
34
+ DUPX_Log::Info("- Backup of .htaccess/web.config made to *.{$timeStamp}.orig");
35
  DUPX_Log::Info("- Reset of .htaccess/web.config files");
36
  $tmp_htaccess = '# RESET FOR DUPLICATOR INSTALLER USEAGE';
37
  file_put_contents('.htaccess', $tmp_htaccess);
installer/build/main.installer.php CHANGED
@@ -166,8 +166,8 @@ $_POST['dbcharset'] = isset($_POST['dbcharset']) ? trim($_POST['dbcharset']) :
166
  $_POST['dbcollate'] = isset($_POST['dbcollate']) ? trim($_POST['dbcollate']) : $GLOBALS['DBCOLLATE_DEFAULT'];
167
 
168
  //GLOBALS
169
- $GLOBALS["SQL_FILE_NAME"] = "installer-data.sql";
170
- $GLOBALS["LOG_FILE_NAME"] = "installer-log.txt";
171
  $GLOBALS['SEPERATOR1'] = str_repeat("********", 10);
172
  $GLOBALS['LOGGING'] = isset($_POST['logging']) ? $_POST['logging'] : 1;
173
  $GLOBALS['CURRENT_ROOT_PATH'] = dirname(__FILE__);
166
  $_POST['dbcollate'] = isset($_POST['dbcollate']) ? trim($_POST['dbcollate']) : $GLOBALS['DBCOLLATE_DEFAULT'];
167
 
168
  //GLOBALS
169
+ $GLOBALS['SQL_FILE_NAME'] = "installer-data.sql";
170
+ $GLOBALS['LOG_FILE_NAME'] = "installer-log.txt";
171
  $GLOBALS['SEPERATOR1'] = str_repeat("********", 10);
172
  $GLOBALS['LOGGING'] = isset($_POST['logging']) ? $_POST['logging'] : 1;
173
  $GLOBALS['CURRENT_ROOT_PATH'] = dirname(__FILE__);
installer/build/view.step1.php CHANGED
@@ -131,8 +131,8 @@
131
 
132
  Duplicator.showDeleteWarning = function () {
133
  ($('#dbaction-empty').prop('checked'))
134
- ? $('#dup-step1-warning-emptydb').show(300)
135
- : $('#dup-step1-warning-emptydb').hide(300);
136
  };
137
 
138
  Duplicator.togglePort = function () {
@@ -144,7 +144,7 @@
144
 
145
  //DOCUMENT LOAD
146
  $(document).ready(function() {
147
- $('#dup-step1-dialog-data').appendTo('#dup-step1-result-container');
148
  $( "input[name='dbaction']").click(Duplicator.showDeleteWarning);
149
  Duplicator.acceptWarning();
150
  Duplicator.showDeleteWarning();
@@ -173,12 +173,6 @@ VIEW: STEP 1- INPUT -->
173
  <input type="hidden" name="action_step" value="1" />
174
  <input type="hidden" name="package_name" value="<?php echo $zip_name ?>" />
175
 
176
- <!--div class="dup-logfile-link">
177
- <select name="logging" id="logging">
178
- <option value="1" selected="selected">Light Logging</option>
179
- <option value="2">Detailed Logging</option>
180
- </select>
181
- </div-->
182
  <div class="hdr-main">
183
  Step 1: Deploy Files &amp; Database
184
  </div>
@@ -192,7 +186,7 @@ VIEW: STEP 1- INPUT -->
192
  <div class="dup-box-arrow"></div>
193
  </div>
194
  <div class="dup-box-panel" style="display:none">
195
- <div id="dup-step1-result-container"></div>
196
  </div>
197
  </div><br/>
198
 
@@ -211,18 +205,17 @@ VIEW: STEP 1- INPUT -->
211
  <!-- CHECKS: PASS -->
212
  <?php else : ?>
213
 
214
-
215
  <div class="dup-box">
216
  <div class="dup-box-title">
217
  <div id="system-circle" class="circle-pass"></div> &nbsp; Requirements: Pass
218
  <div class="dup-box-arrow"></div>
219
  </div>
220
  <div class="dup-box-panel" style="display:none">
221
- <div id="dup-step1-result-container"></div>
222
  </div>
223
  </div><br/>
224
 
225
- <div class="title-header">
226
  MySQL Database
227
  </div>
228
  <table class="s1-opts">
@@ -283,70 +276,88 @@ VIEW: STEP 1- INPUT -->
283
  <!-- !!DO NOT CHANGE/EDIT OR REMOVE THIS SECTION!!
284
  If your interested in Private Label Rights please contact us at the URL below to discuss
285
  customizations to product labeling: http://snapcreek.com -->
286
- <a href="javascript:void(0)" onclick="$('#dup-step1-cpanel').toggle(250)"><b>Need Setup Help...</b></a>
287
  <div id='dup-step1-cpanel' style="display:none">
288
  <div style="padding:10px 0px 0px 10px;line-height:22px">
289
  &raquo; Check out the <a href="https://snapcreek.com/duplicator/docs/faqs-tech/#faq-resource-070-q" target="_blank">video tutorials &amp; guides</a> <br/>
290
- &raquo; Get help from our <a href="https://snapcreek.com/duplicator/docs/faqs-tech/#faq-resource" target="_blank">resources section</a>
291
  </div>
292
  </div><br/><br/>
293
 
294
- <a href="javascript:void(0)" onclick="$('#dup-step1-adv-opts').toggle(250)"><b>Advanced Options...</b></a>
295
  <div id='dup-step1-adv-opts' style="display:none">
296
- <table class="s1-opts">
297
- <tr><td><input type="checkbox" name="zip_manual" id="zip_manual" value="1" /> <label for="zip_manual">Manual package extraction</label></td></tr>
298
- <tr><td><input type="checkbox" name="dbnbsp" id="dbnbsp" value="1" /> <label for="dbnbsp">Fix non-breaking space characters</label></td></tr>
299
- </table>
300
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
301
 
302
- <table class="s1-opts s1-advopts">
303
- <tr>
304
- <td>Logging</td>
305
- <td colspan="2">
306
- <input type="radio" name="logging" id="logging-light" value="1" checked="true"> <label for="logging-light">Light</label> &nbsp;
307
- <input type="radio" name="logging" id="logging-detailed" value="2"> <label for="logging-detailed">Detailed</label> &nbsp;
308
- <input type="radio" name="logging" id="logging-debug" value="3"> <label for="logging-debug">Debug</label>
309
- </td>
310
- </tr>
311
- <tr>
312
- <td>Config Cache</td>
313
- <td style="width:125px"><input type="checkbox" name="cache_wp" id="cache_wp" <?php echo ($GLOBALS['FW_CACHE_WP']) ? "checked='checked'" : ""; ?> /> <label for="cache_wp">Keep Enabled</label></td>
314
- <td><input type="checkbox" name="cache_path" id="cache_path" <?php echo ($GLOBALS['FW_CACHE_PATH']) ? "checked='checked'" : ""; ?> /> <label for="cache_path">Keep Home Path</label></td>
315
- </tr>
316
- <tr>
317
- <td>Config SSL</td>
318
- <td><input type="checkbox" name="ssl_admin" id="ssl_admin" <?php echo ($GLOBALS['FW_SSL_ADMIN']) ? "checked='checked'" : ""; ?> /> <label for="ssl_admin">Enforce on Admin</label></td>
319
- <td><input type="checkbox" name="ssl_login" id="ssl_login" <?php echo ($GLOBALS['FW_SSL_LOGIN']) ? "checked='checked'" : ""; ?> /> <label for="ssl_login">Enforce on Login</label></td>
320
- </tr>
321
- <tr>
322
- <td style="vertical-align:top">MySQL Mode</td>
323
- <td colspan="2">
324
- <input type="radio" name="dbmysqlmode" id="dbmysqlmode_1" checked="true" value="DEFAULT"/> <label for="dbmysqlmode_1">Default</label> &nbsp;
325
- <input type="radio" name="dbmysqlmode" id="dbmysqlmode_2" value="DISABLE"/> <label for="dbmysqlmode_2">Disable</label> &nbsp;
326
- <input type="radio" name="dbmysqlmode" id="dbmysqlmode_3" value="CUSTOM"/> <label for="dbmysqlmode_3">Custom</label> &nbsp;
327
- <div id="dbmysqlmode_3_view" style="display:none; padding:5px">
328
- <input type="text" name="dbmysqlmode_opts" value="" /><br/>
329
- <small>Separate additional <a href="?help#help-mysql-mode" target="_blank">sql modes</a> with commas &amp; no spaces.<br/>
330
- Example: <i>NO_ENGINE_SUBSTITUTION,NO_ZERO_IN_DATE,...</i>.</small>
331
- </div>
332
- </td>
333
- </tr>
334
- </table>
335
 
336
- <table class="s1-opts s1-advopts">
337
- <tr><td style="width:130px">MySQL Charset</td><td><input type="text" name="dbcharset" id="dbcharset" value="<?php echo $_POST['dbcharset'] ?>" /> </td></tr>
338
- <tr><td>MySQL Collation </td><td><input type="text" name="dbcollate" id="dbcollate" value="<?php echo $_POST['dbcollate'] ?>" /> </tr>
339
- </table>
340
- <small><i>For an overview of these settings see the <a href="?help=1" target="_blank">help page</a></i></small><br/>
341
  </div>
342
 
343
 
344
- <div class="dup-step1-gopro">
345
  *Create the database and users <b>from the installer</b> with <a target="_blank" href="https://snapcreek.com/duplicator/?utm_source=duplicator_free&utm_medium=wordpress_plugin&utm_content=free_install_step1&utm_campaign=duplicator_pro">Duplicator Pro!</a> - Requires cPanel.
346
  </div>
347
 
348
  <!-- NOTICES -->
349
- <div id="dup-step1-warning">
350
  <b>WARNINGS &amp; NOTICES</b>
351
  <p>
352
  <b>Disclaimer:</b>
@@ -376,9 +387,9 @@ VIEW: STEP 1- INPUT -->
376
  </p><br/>
377
  </div>
378
 
379
- <div id="dup-step1-warning-check">
380
  <input id="accept-warnings" name="accpet-warnings" type="checkbox" onclick="Duplicator.acceptWarning()" /> <label for="accept-warnings">I have read all warnings &amp; notices</label><br/>
381
- <div id="dup-step1-warning-emptydb">
382
  The remove action will delete <u>all</u> tables and data from the database!
383
  </div>
384
  </div><br/><br/>
@@ -437,8 +448,8 @@ Auto Posts to view.step2.php -->
437
 
438
  <!-- =========================================
439
  PANEL: SERVER CHECKS -->
440
- <div id="dup-step1-dialog" title="System Status" style="display:none">
441
- <div id="dup-step1-dialog-data" style="padding: 0px 10px 10px 10px;">
442
 
443
  <div style="font-size:12px">
444
  <b>Archive Name:</b> <?php echo $zip_name; ?> <br/>
@@ -456,7 +467,7 @@ PANEL: SERVER CHECKS -->
456
  <td class="<?php echo ($req01 == 'Pass') ? 'dup-pass' : 'dup-fail' ?>"><?php echo $req01; ?></td>
457
  </tr>
458
  <tr>
459
- <td colspan="2" id="dup-req-rootdir" class='dup-step1-dialog-data-details'>
460
  <?php
461
  echo "<i>Path: {$GLOBALS['CURRENT_ROOT_PATH']} </i><br/>";
462
  printf("<b>[%s]</b> %s <br/>", $req01a, "Is Writable by PHP");
@@ -469,7 +480,7 @@ PANEL: SERVER CHECKS -->
469
  <td class="<?php echo ($req03 == 'Pass') ? 'dup-pass' : 'dup-fail' ?>"><?php echo $req03; ?></td>
470
  </tr>
471
  <tr>
472
- <td colspan="2" id="dup-req-mysqli" class='dup-step1-dialog-data-details'>
473
  The Duplicator needs the PHP mysqli extension installed to run properly. This is a very common extension and can be easily installed by your
474
  host or server administrator. For more details see the <a href="http://us2.php.net/manual/en/mysqli.installation.php" target="_blank" >online overview</a>.
475
  </td>
@@ -479,7 +490,7 @@ PANEL: SERVER CHECKS -->
479
  <td class="<?php echo ($req02 == 'Pass') ? 'dup-pass' : 'dup-fail' ?>"><?php echo $req02; ?></td>
480
  </tr>
481
  <tr>
482
- <td colspan="2" id="dup-req-safemode" class='dup-step1-dialog-data-details'>
483
  The Duplicator requires that PHP safe mode be turned off. Safe mode is a very uncommon setting and can be easily turned off by your
484
  host or server administrator. For more details see the <a href="http://php.net/manual/en/features.safe-mode.php" target="_blank" >online overview</a>.
485
  </td>
@@ -489,7 +500,7 @@ PANEL: SERVER CHECKS -->
489
  <td class="<?php echo ($req04 == 'Pass') ? 'dup-pass' : 'dup-fail' ?>"><?php echo $req04; ?> </td>
490
  </tr>
491
  <tr>
492
- <td colspan="2" id="dup-req-phpver" class='dup-step1-dialog-data-details'>
493
  This server is currently running PHP version: <b><?php echo phpversion(); ?></b>. The Duplicator requires a version of 5.2.9+ or better.
494
  To upgrade your PHP version contact your host or server administrator.
495
  </td>
131
 
132
  Duplicator.showDeleteWarning = function () {
133
  ($('#dbaction-empty').prop('checked'))
134
+ ? $('#dup-s1-warning-emptydb').show(300)
135
+ : $('#dup-s1-warning-emptydb').hide(300);
136
  };
137
 
138
  Duplicator.togglePort = function () {
144
 
145
  //DOCUMENT LOAD
146
  $(document).ready(function() {
147
+ $('#dup-s1-dialog-data').appendTo('#dup-s1-result-container');
148
  $( "input[name='dbaction']").click(Duplicator.showDeleteWarning);
149
  Duplicator.acceptWarning();
150
  Duplicator.showDeleteWarning();
173
  <input type="hidden" name="action_step" value="1" />
174
  <input type="hidden" name="package_name" value="<?php echo $zip_name ?>" />
175
 
 
 
 
 
 
 
176
  <div class="hdr-main">
177
  Step 1: Deploy Files &amp; Database
178
  </div>
186
  <div class="dup-box-arrow"></div>
187
  </div>
188
  <div class="dup-box-panel" style="display:none">
189
+ <div id="dup-s1-result-container"></div>
190
  </div>
191
  </div><br/>
192
 
205
  <!-- CHECKS: PASS -->
206
  <?php else : ?>
207
 
 
208
  <div class="dup-box">
209
  <div class="dup-box-title">
210
  <div id="system-circle" class="circle-pass"></div> &nbsp; Requirements: Pass
211
  <div class="dup-box-arrow"></div>
212
  </div>
213
  <div class="dup-box-panel" style="display:none">
214
+ <div id="dup-s1-result-container"></div>
215
  </div>
216
  </div><br/>
217
 
218
+ <div class="hdr-sub">
219
  MySQL Database
220
  </div>
221
  <table class="s1-opts">
276
  <!-- !!DO NOT CHANGE/EDIT OR REMOVE THIS SECTION!!
277
  If your interested in Private Label Rights please contact us at the URL below to discuss
278
  customizations to product labeling: http://snapcreek.com -->
279
+ <a href="javascript:void(0)" onclick="$('#dup-step1-cpanel').toggle(250)"><b style="font-size: 14px">Need Setup Help...</b></a>
280
  <div id='dup-step1-cpanel' style="display:none">
281
  <div style="padding:10px 0px 0px 10px;line-height:22px">
282
  &raquo; Check out the <a href="https://snapcreek.com/duplicator/docs/faqs-tech/#faq-resource-070-q" target="_blank">video tutorials &amp; guides</a> <br/>
283
+ &raquo; Get help from our <a href="https://snapcreek.com/duplicator/docs/faqs-tech/" target="_blank">resources section</a>
284
  </div>
285
  </div><br/><br/>
286
 
287
+ <a href="javascript:void(0)" onclick="$('#dup-step1-adv-opts').toggle(250)"><b style="font-size:14px">Advanced Options...</b></a>
288
  <div id='dup-step1-adv-opts' style="display:none">
289
+
290
+ <!-- GENERAL -->
291
+ <div class="s1-advopts-section">
292
+ <div class="hdr-sub">General</div>
293
+ <table class="s1-opts s1-advopts">
294
+ <tr>
295
+ <td>Extraction</td>
296
+ <td colspan="2">
297
+ <input type="checkbox" name="zip_manual" id="zip_manual" value="1" /> <label for="zip_manual">Manual package extraction</label><br/>
298
+ </td>
299
+ </tr>
300
+ <tr>
301
+ <td>Logging</td>
302
+ <td colspan="2">
303
+ <input type="radio" name="logging" id="logging-light" value="1" checked="true"> <label for="logging-light">Light</label> &nbsp;
304
+ <input type="radio" name="logging" id="logging-detailed" value="2"> <label for="logging-detailed">Detailed</label> &nbsp;
305
+ <input type="radio" name="logging" id="logging-debug" value="3"> <label for="logging-debug">Debug</label>
306
+ </td>
307
+ </tr>
308
+ <tr>
309
+ <td>WP-Config Cache</td>
310
+ <td style="width:125px"><input type="checkbox" name="cache_wp" id="cache_wp" <?php echo ($GLOBALS['FW_CACHE_WP']) ? "checked='checked'" : ""; ?> /> <label for="cache_wp">Keep Enabled</label></td>
311
+ <td><input type="checkbox" name="cache_path" id="cache_path" <?php echo ($GLOBALS['FW_CACHE_PATH']) ? "checked='checked'" : ""; ?> /> <label for="cache_path">Keep Home Path</label></td>
312
+ </tr>
313
+ <tr>
314
+ <td>WP-Config SSL</td>
315
+ <td><input type="checkbox" name="ssl_admin" id="ssl_admin" <?php echo ($GLOBALS['FW_SSL_ADMIN']) ? "checked='checked'" : ""; ?> /> <label for="ssl_admin">Enforce on Admin</label></td>
316
+ <td><input type="checkbox" name="ssl_login" id="ssl_login" <?php echo ($GLOBALS['FW_SSL_LOGIN']) ? "checked='checked'" : ""; ?> /> <label for="ssl_login">Enforce on Login</label></td>
317
+ </tr>
318
+ </table>
319
+ </div>
320
 
321
+ <!-- MYSQL -->
322
+ <div class="s1-advopts-section">
323
+ <div class="hdr-sub">MySQL</div>
324
+ <table class="s1-opts s1-advopts">
325
+ <tr>
326
+ <td>Spacing</td>
327
+ <td colspan="2">
328
+ <input type="checkbox" name="dbnbsp" id="dbnbsp" value="1" /> <label for="dbnbsp">Fix non-breaking space characters</label>
329
+ </td>
330
+ </tr>
331
+ <tr>
332
+ <td style="vertical-align:top">Mode</td>
333
+ <td colspan="2">
334
+ <input type="radio" name="dbmysqlmode" id="dbmysqlmode_1" checked="true" value="DEFAULT"/> <label for="dbmysqlmode_1">Default</label> &nbsp;
335
+ <input type="radio" name="dbmysqlmode" id="dbmysqlmode_2" value="DISABLE"/> <label for="dbmysqlmode_2">Disable</label> &nbsp;
336
+ <input type="radio" name="dbmysqlmode" id="dbmysqlmode_3" value="CUSTOM"/> <label for="dbmysqlmode_3">Custom</label> &nbsp;
337
+ <div id="dbmysqlmode_3_view" style="display:none; padding:5px">
338
+ <input type="text" name="dbmysqlmode_opts" value="" /><br/>
339
+ <small>Separate additional <a href="?help#help-mysql-mode" target="_blank">sql modes</a> with commas &amp; no spaces.<br/>
340
+ Example: <i>NO_ENGINE_SUBSTITUTION,NO_ZERO_IN_DATE,...</i>.</small>
341
+ </div>
342
+ </td>
343
+ </tr>
344
+ <tr><td style="width:130px">Charset</td><td><input type="text" name="dbcharset" id="dbcharset" value="<?php echo $_POST['dbcharset'] ?>" /> </td></tr>
345
+ <tr><td>Collation </td><td><input type="text" name="dbcollate" id="dbcollate" value="<?php echo $_POST['dbcollate'] ?>" /> </tr>
346
+ </table>
347
+ </div>
 
 
 
 
 
 
348
 
349
+ <div class="s1-advopts-help">
350
+ <small><i>For an overview of these settings see the <a href="?help=1" target="_blank">help page</a></i></small>
351
+ </div>
 
 
352
  </div>
353
 
354
 
355
+ <div class="dup-s1-gopro">
356
  *Create the database and users <b>from the installer</b> with <a target="_blank" href="https://snapcreek.com/duplicator/?utm_source=duplicator_free&utm_medium=wordpress_plugin&utm_content=free_install_step1&utm_campaign=duplicator_pro">Duplicator Pro!</a> - Requires cPanel.
357
  </div>
358
 
359
  <!-- NOTICES -->
360
+ <div id="dup-s1-warning">
361
  <b>WARNINGS &amp; NOTICES</b>
362
  <p>
363
  <b>Disclaimer:</b>
387
  </p><br/>
388
  </div>
389
 
390
+ <div id="dup-s1-warning-check">
391
  <input id="accept-warnings" name="accpet-warnings" type="checkbox" onclick="Duplicator.acceptWarning()" /> <label for="accept-warnings">I have read all warnings &amp; notices</label><br/>
392
+ <div id="dup-s1-warning-emptydb">
393
  The remove action will delete <u>all</u> tables and data from the database!
394
  </div>
395
  </div><br/><br/>
448
 
449
  <!-- =========================================
450
  PANEL: SERVER CHECKS -->
451
+ <div id="dup-s1-dialog" title="System Status" style="display:none">
452
+ <div id="dup-s1-dialog-data" style="padding: 0px 10px 10px 10px;">
453
 
454
  <div style="font-size:12px">
455
  <b>Archive Name:</b> <?php echo $zip_name; ?> <br/>
467
  <td class="<?php echo ($req01 == 'Pass') ? 'dup-pass' : 'dup-fail' ?>"><?php echo $req01; ?></td>
468
  </tr>
469
  <tr>
470
+ <td colspan="2" id="dup-req-rootdir" class='dup-s1-dialog-data-details'>
471
  <?php
472
  echo "<i>Path: {$GLOBALS['CURRENT_ROOT_PATH']} </i><br/>";
473
  printf("<b>[%s]</b> %s <br/>", $req01a, "Is Writable by PHP");
480
  <td class="<?php echo ($req03 == 'Pass') ? 'dup-pass' : 'dup-fail' ?>"><?php echo $req03; ?></td>
481
  </tr>
482
  <tr>
483
+ <td colspan="2" id="dup-req-mysqli" class='dup-s1-dialog-data-details'>
484
  The Duplicator needs the PHP mysqli extension installed to run properly. This is a very common extension and can be easily installed by your
485
  host or server administrator. For more details see the <a href="http://us2.php.net/manual/en/mysqli.installation.php" target="_blank" >online overview</a>.
486
  </td>
490
  <td class="<?php echo ($req02 == 'Pass') ? 'dup-pass' : 'dup-fail' ?>"><?php echo $req02; ?></td>
491
  </tr>
492
  <tr>
493
+ <td colspan="2" id="dup-req-safemode" class='dup-s1-dialog-data-details'>
494
  The Duplicator requires that PHP safe mode be turned off. Safe mode is a very uncommon setting and can be easily turned off by your
495
  host or server administrator. For more details see the <a href="http://php.net/manual/en/features.safe-mode.php" target="_blank" >online overview</a>.
496
  </td>
500
  <td class="<?php echo ($req04 == 'Pass') ? 'dup-pass' : 'dup-fail' ?>"><?php echo $req04; ?> </td>
501
  </tr>
502
  <tr>
503
+ <td colspan="2" id="dup-req-phpver" class='dup-s1-dialog-data-details'>
504
  This server is currently running PHP version: <b><?php echo phpversion(); ?></b>. The Duplicator requires a version of 5.2.9+ or better.
505
  To upgrade your PHP version contact your host or server administrator.
506
  </td>
installer/build/view.step2.php CHANGED
@@ -144,8 +144,8 @@ VIEW: STEP 2- INPUT -->
144
  Step 2: Update Files &amp; Database
145
  </div><br />
146
 
147
- <div class="title-header">Old Settings</div>
148
- <table class="table-inputs-step2">
149
  <tr valign="top">
150
  <td style="width:80px">URL</td>
151
  <td>
@@ -162,8 +162,8 @@ VIEW: STEP 2- INPUT -->
162
  </tr>
163
  </table>
164
 
165
- <div class="title-header" style="margin-top:8px">New Settings</div>
166
- <table class="table-inputs-step2">
167
  <tr>
168
  <td style="width:80px">URL</td>
169
  <td>
@@ -184,12 +184,12 @@ VIEW: STEP 2- INPUT -->
184
 
185
  <!-- ==========================
186
  ADVANCED OPTIONS -->
187
- <a href="javascript:void(0)" onclick="$('#dup-step2-adv-opts').toggle(0)"><b>Advanced Options...</b></a>
188
- <div id='dup-step2-adv-opts' style="display:none;">
189
 
190
  <br/>
191
  <div class="hdr-sub">Add New Admin Account</div>
192
- <table class="table-inputs-step2" style="margin-top:7px">
193
  <tr><td colspan="2"><i style="color:gray;font-size: 11px">This feature is optional. If the username already exists the account will NOT be created or updated.</i></td></tr>
194
  <tr>
195
  <td>Username </td>
@@ -217,7 +217,7 @@ VIEW: STEP 2- INPUT -->
217
  <tr>
218
  <td style="padding-right:10px">
219
  Scan Tables
220
- <div class="dup-step2-allnonelinks">
221
  <a href="javascript:void(0)" onclick="$('#tables option').prop('selected',true);">[All]</a>
222
  <a href="javascript:void(0)" onclick="$('#tables option').prop('selected',false);">[None]</a>
223
  </div><br style="clear:both" />
@@ -232,7 +232,7 @@ VIEW: STEP 2- INPUT -->
232
  </td>
233
  <td valign="top">
234
  Activate Plugins
235
- <div class="dup-step2-allnonelinks">
236
  <a href="javascript:void(0)" onclick="$('#plugins option').prop('selected',true);">[All]</a>
237
  <a href="javascript:void(0)" onclick="$('#plugins option').prop('selected',false);">[None]</a>
238
  </div><br style="clear:both" />
144
  Step 2: Update Files &amp; Database
145
  </div><br />
146
 
147
+ <div class="hdr-sub">Old Settings</div>
148
+ <table class="table-inputs-s2">
149
  <tr valign="top">
150
  <td style="width:80px">URL</td>
151
  <td>
162
  </tr>
163
  </table>
164
 
165
+ <div class="hdr-sub" style="margin-top:8px">New Settings</div>
166
+ <table class="table-inputs-s2">
167
  <tr>
168
  <td style="width:80px">URL</td>
169
  <td>
184
 
185
  <!-- ==========================
186
  ADVANCED OPTIONS -->
187
+ <a href="javascript:void(0)" onclick="$('#dup-s2-adv-opts').toggle(0)"><b style="font-size:14px">Advanced Options...</b></a>
188
+ <div id='dup-s2-adv-opts' style="display:none;">
189
 
190
  <br/>
191
  <div class="hdr-sub">Add New Admin Account</div>
192
+ <table class="table-inputs-s2" style="margin-top:7px">
193
  <tr><td colspan="2"><i style="color:gray;font-size: 11px">This feature is optional. If the username already exists the account will NOT be created or updated.</i></td></tr>
194
  <tr>
195
  <td>Username </td>
217
  <tr>
218
  <td style="padding-right:10px">
219
  Scan Tables
220
+ <div class="dup-s2-allnonelinks">
221
  <a href="javascript:void(0)" onclick="$('#tables option').prop('selected',true);">[All]</a>
222
  <a href="javascript:void(0)" onclick="$('#tables option').prop('selected',false);">[None]</a>
223
  </div><br style="clear:both" />
232
  </td>
233
  <td valign="top">
234
  Activate Plugins
235
+ <div class="dup-s2-allnonelinks">
236
  <a href="javascript:void(0)" onclick="$('#plugins option').prop('selected',true);">[All]</a>
237
  <a href="javascript:void(0)" onclick="$('#plugins option').prop('selected',false);">[None]</a>
238
  </div><br style="clear:both" />
installer/build/view.step3.php CHANGED
@@ -31,7 +31,7 @@ VIEW: STEP 3- INPUT -->
31
  Step 3: Test Site
32
  </div><br />
33
 
34
- <div class="title-header">
35
  <div class="s3-final-title">FINAL STEPS!</div>
36
  </div>
37
 
@@ -52,8 +52,8 @@ VIEW: STEP 3- INPUT -->
52
  <td><a class="s3-final-btns" href="javascript:void(0)" onclick="$('#dup-step3-install-report').toggle(400)">Show Report</a></td>
53
  <td>
54
  <i id="dup-step3-install-report-count">
55
- <span data-bind="with: status.step1">Deploy Errors: (<span data-bind="text: query_errs"></span>)</span> &nbsp;
56
- <span data-bind="with: status.step2">Update Notices: (<span data-bind="text: err_all"></span>)</span> &nbsp; &nbsp;
57
  <span data-bind="with: status.step2" style="color:#888"><b>General Notices:</b> (<span data-bind="text: warn_all"></span>)</span>
58
  </i>
59
  </td>
@@ -100,7 +100,7 @@ VIEW: STEP 3- INPUT -->
100
  </table>
101
 
102
  <table class='s3-report-errs' style="width:100%; border-top:none">
103
- <tr><th colspan="4">Errors &amp; Warnings <br/> <i style="font-size:10px; font-weight:normal">(click links below to view details)</i></th></tr>
104
  <tr>
105
  <td data-bind="with: status.step1">
106
  <a href="javascript:void(0);" onclick="$('#dup-step3-errs-create').toggle(400)">Step1: Deploy Results (<span data-bind="text: query_errs"></span>)</a><br/>
@@ -117,7 +117,8 @@ VIEW: STEP 3- INPUT -->
117
 
118
 
119
  <div id="dup-step3-errs-create" class="s3-err-msg">
120
- <b data-bind="with: status.step1">STEP 1: DEPLOY ERRORS (<span data-bind="text: query_errs"></span>)</b><br/>
 
121
  <div class="info-error">
122
  Queries that error during the deploy step are logged to the <a href="installer-log.txt" target="_blank">install-log.txt</a> file and marked '**ERROR**'.
123
  <br/><br/>
@@ -136,9 +137,9 @@ VIEW: STEP 3- INPUT -->
136
 
137
 
138
  <div id="dup-step3-errs-upd" class="s3-err-msg">
139
-
140
  <!-- MYSQL QUERY ERRORS -->
141
- <b data-bind="with: status.step2">STEP2: UPDATE ERRORS (<span data-bind="text: errsql_sum"></span>) </b><br/>
142
  <div class="info-error">
143
  Update errors that show here are queries that could not be performed because the database server being used has issues running it. Please validate the query, if
144
  it looks to be of concern please try to run the query manually. In many cases if your site performs well without any issues you can ignore the error.
31
  Step 3: Test Site
32
  </div><br />
33
 
34
+ <div class="hdr-sub">
35
  <div class="s3-final-title">FINAL STEPS!</div>
36
  </div>
37
 
52
  <td><a class="s3-final-btns" href="javascript:void(0)" onclick="$('#dup-step3-install-report').toggle(400)">Show Report</a></td>
53
  <td>
54
  <i id="dup-step3-install-report-count">
55
+ <span data-bind="with: status.step1">Deploy Results: (<span data-bind="text: query_errs"></span>)</span> &nbsp;
56
+ <span data-bind="with: status.step2">Update Results: (<span data-bind="text: err_all"></span>)</span> &nbsp; &nbsp;
57
  <span data-bind="with: status.step2" style="color:#888"><b>General Notices:</b> (<span data-bind="text: warn_all"></span>)</span>
58
  </i>
59
  </td>
100
  </table>
101
 
102
  <table class='s3-report-errs' style="width:100%; border-top:none">
103
+ <tr><th colspan="4">Report Details <br/> <i style="font-size:10px; font-weight:normal">(click links below to view details)</i></th></tr>
104
  <tr>
105
  <td data-bind="with: status.step1">
106
  <a href="javascript:void(0);" onclick="$('#dup-step3-errs-create').toggle(400)">Step1: Deploy Results (<span data-bind="text: query_errs"></span>)</a><br/>
117
 
118
 
119
  <div id="dup-step3-errs-create" class="s3-err-msg">
120
+ <div class="dup-step3-err-title">STEP 1 DEPLOY RESULTS</div>
121
+ <b data-bind="with: status.step1">DEPLOY ERRORS (<span data-bind="text: query_errs"></span>)</b><br/>
122
  <div class="info-error">
123
  Queries that error during the deploy step are logged to the <a href="installer-log.txt" target="_blank">install-log.txt</a> file and marked '**ERROR**'.
124
  <br/><br/>
137
 
138
 
139
  <div id="dup-step3-errs-upd" class="s3-err-msg">
140
+ <div class="dup-step3-err-title">STEP 2 UPDATE RESULTS</div>
141
  <!-- MYSQL QUERY ERRORS -->
142
+ <b data-bind="with: status.step2">UPDATE ERRORS (<span data-bind="text: errsql_sum"></span>) </b><br/>
143
  <div class="info-error">
144
  Update errors that show here are queries that could not be performed because the database server being used has issues running it. Please validate the query, if
145
  it looks to be of concern please try to run the query manually. In many cases if your site performs well without any issues you can ignore the error.
readme.txt CHANGED
@@ -1,19 +1,17 @@
1
  === Duplicator ===
2
  Contributors: corylamleorg, bobriley
3
  Donate link: www.lifeinthegrid.com/partner
4
- Tags: backup, restore, move, migrate, localhost, synchronize, duplicate, clone, automate, niche site
5
  Requires at least: 4.0
6
- Tested up to: 4.6
7
- Stable tag: 1.1.24
8
  License: GPLv2
9
 
10
  Duplicate, clone, backup, move and transfer an entire site from one location to another.
11
 
12
  == Description ==
13
 
14
- > Duplicator gives WordPress administrators the ability to migrate, copy or clone a site from one location to another. The plugin also serves as a simple backup utility.
15
-
16
- Duplicator supports both serialized and base64 serialized string replacement. If you need to move WordPress or backup WordPress this plugin can help simplify the process.
17
 
18
  For complete details visit [snapcreek.com](http://snapcreek.com/).
19
 
@@ -54,7 +52,7 @@ Check out [Duplicator Pro](https://snapcreek.com/duplicator/?utm_source=duplicat
54
  The underlying logic to backup WordPress, move WordPress and transfer WordPress are very complex. It's impossible to know how each system is setup; this is why your feedback is important to us. Thanks for helping us to make WordPress the best blogging platform in the world.
55
 
56
  = Disclaimer =
57
- This plugin does require some technical knowledge. If you plan to move WordPress or backup WordPress please use it at your own risk and do not forget to back up your files and databases beforehand. If you're new to WordPress or have a very limited technical background you may consider seeking out professional help your first time using the plugin. If you need to move or backup WordPress and would like additional help please visit the Duplicator [resources page](http://lifeinthegrid.com/labs/duplicator/) .
58
 
59
 
60
  = Active Contributors =
@@ -75,29 +73,21 @@ The Duplicator requires php 5.3 or higher.
75
 
76
  == Frequently Asked Questions ==
77
 
78
- = I'm having issues getting the plugin to work what should I do? =
79
 
80
- See the [FAQs](https://snapcreek.com/duplicator/docs/faqs-tech) page for a detailed rundown of common issues
81
 
82
  = Are there any videos I can watch? =
83
 
84
- Yes. Please see the [tutorial section](https://snapcreek.com/duplicator/docs/faqs-tech/#faq-resource-070-q) on the user guide for videos.
85
-
86
-
87
- = Where can I get more information and support for this plugin? =
88
-
89
- Visit the [Duplicator Page](http://lifeinthegrid.com/duplicator) at lifeinthegrid.com
90
 
 
91
 
92
- = Can I test this in a non-production environment? =
93
-
94
- Yes. Put WordPress on [your computer](http://lifeinthegrid.com/xampp) by watching the video below.
95
-
96
- http://www.youtube.com/watch?v=-hF7FbTQIkk
97
 
98
- = Is this plugin compatible with WordPress Multi-Site (MU)? =
99
 
100
- No. Hopefully in future versions we will support MU
101
 
102
 
103
  == Screenshots ==
1
  === Duplicator ===
2
  Contributors: corylamleorg, bobriley
3
  Donate link: www.lifeinthegrid.com/partner
4
+ Tags: backup, restore, move, migrate, localhost, synchronize, duplicate, clone, automate, niche site
5
  Requires at least: 4.0
6
+ Tested up to: 4.7
7
+ Stable tag: 1.1.26
8
  License: GPLv2
9
 
10
  Duplicate, clone, backup, move and transfer an entire site from one location to another.
11
 
12
  == Description ==
13
 
14
+ > Duplicator gives WordPress administrators the ability to migrate, copy or clone a site from one location to another. The plugin also serves as a simple backup utility. Duplicator supports both serialized and base64 serialized string replacement. If you need to move WordPress or backup WordPress this plugin can help simplify the process.
 
 
15
 
16
  For complete details visit [snapcreek.com](http://snapcreek.com/).
17
 
52
  The underlying logic to backup WordPress, move WordPress and transfer WordPress are very complex. It's impossible to know how each system is setup; this is why your feedback is important to us. Thanks for helping us to make WordPress the best blogging platform in the world.
53
 
54
  = Disclaimer =
55
+ This plugin does require some technical knowledge. If you plan to move WordPress or backup WordPress please use it at your own risk and do not forget to back up your files and databases beforehand. If you're new to WordPress or have a very limited technical background you may consider seeking out professional help your first time using the plugin. If you need to move or backup WordPress and would like additional help please visit the Duplicator [resources section](https://snapcreek.com/duplicator/docs/faqs-tech/#faq-resource-030-q) .
56
 
57
 
58
  = Active Contributors =
73
 
74
  == Frequently Asked Questions ==
75
 
76
+ = Does Duplicator have a knowledge base or FAQ? =
77
 
78
+ Yes. Please see [all documents](https://snapcreek.com/duplicator/docs/) at snapcreek.com.
79
 
80
  = Are there any videos I can watch? =
81
 
82
+ Yes. Please see the [video section](https://snapcreek.com/duplicator/docs/faqs-tech/#faq-resource-070-q) on the FAQ.
 
 
 
 
 
83
 
84
+ = Is this plugin compatible with WordPress Multi-Site (MU)? =
85
 
86
+ No. However the Pro version can duplicate entire Multisite networks.
 
 
 
 
87
 
88
+ = Where can I get more help and support for this plugin? =
89
 
90
+ Visit the [Duplicator support](https://snapcreek.com/duplicator/docs/faqs-tech/#faq-resource-030-q) section at snapcreek.com
91
 
92
 
93
  == Screenshots ==
views/help/about.php CHANGED
@@ -112,8 +112,8 @@ require_once(DUPLICATOR_PLUGIN_PATH . '/views/inc.header.php');
112
 
113
  <div style='margin: auto; text-align: center; margin-top: 20px'>
114
  <a href="http://lifeinthegrid.com/tools" target="_blank" class="button button-large button-primary">
115
- <i class="fa fa-rocket" style="margin-right:8px"></i><?php _e('Get More Great Tools', 'duplicator') ?>...
116
- </a>
117
  </div>
118
 
119
  </div>
112
 
113
  <div style='margin: auto; text-align: center; margin-top: 20px'>
114
  <a href="http://lifeinthegrid.com/tools" target="_blank" class="button button-large button-primary">
115
+ <i class="fa fa-rocket" style="margin-right:8px"></i><?php _e('Get More Great Tools', 'duplicator') ?>...
116
+ </a>
117
  </div>
118
 
119
  </div>
views/settings/general.php CHANGED
@@ -153,8 +153,22 @@ $mysqlDumpFound = ($mysqlDumpPath) ? true : false;
153
  <?php
154
  _e("This server does not have shell_exec configured to run.", 'duplicator');
155
  echo '<br/>';
156
- _e("Please contact the server administrator to enable this feature.", 'duplicator');
157
  ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
158
  </p>
159
  <?php else : ?>
160
  <input type="radio" name="package_dbmode" value="mysql" id="package_mysqldump" <?php echo ($package_mysqldump) ? 'checked="checked"' : ''; ?> />
@@ -165,12 +179,12 @@ $mysqlDumpFound = ($mysqlDumpPath) ? true : false;
165
  <small>
166
  <i style="cursor: pointer"
167
  data-tooltip-title="<?php _e("Host Recommendation:", 'duplicator'); ?>"
168
- data-tooltip="<?php _e('Duplicator recommends going with the high performance pro plan or better from Bluehost.com', 'duplicator'); ?>">
169
  <i class="fa fa-lightbulb-o" aria-hidden="true"></i>
170
  <?php
171
- printf("%s <a target='_blank' href='//www.bluehost.com/track/snapcreek/?page=wordpress'>%s</a> %s",
172
- __("Duplicator recommends ", 'duplicator'),
173
- __("Bluehost", 'duplicator'),
174
  __("for reliable access to mysqldump", 'duplicator'));
175
  ?>
176
  </i>
153
  <?php
154
  _e("This server does not have shell_exec configured to run.", 'duplicator');
155
  echo '<br/>';
156
+ _e("Contact the server administrator to enable this feature.", 'duplicator');
157
  ?>
158
+ <br/>
159
+ <small>
160
+ <i style="cursor: pointer"
161
+ data-tooltip-title="<?php _e("Host Recommendation:", 'duplicator'); ?>"
162
+ data-tooltip="<?php _e('Duplicator recommends going with the high performance pro plan or better from our recommended list', 'duplicator'); ?>">
163
+ <i class="fa fa-lightbulb-o" aria-hidden="true"></i>
164
+ <?php
165
+ printf("%s <a target='_blank' href='//snapcreek.com/wordpress-hosting/'>%s</a> %s",
166
+ __("Please visit our recommended", 'duplicator'),
167
+ __("host list", 'duplicator'),
168
+ __("for reliable access to mysqldump", 'duplicator'));
169
+ ?>
170
+ </i>
171
+ </small>
172
  </p>
173
  <?php else : ?>
174
  <input type="radio" name="package_dbmode" value="mysql" id="package_mysqldump" <?php echo ($package_mysqldump) ? 'checked="checked"' : ''; ?> />
179
  <small>
180
  <i style="cursor: pointer"
181
  data-tooltip-title="<?php _e("Host Recommendation:", 'duplicator'); ?>"
182
+ data-tooltip="<?php _e('Duplicator recommends going with the high performance pro plan or better from our recommended list', 'duplicator'); ?>">
183
  <i class="fa fa-lightbulb-o" aria-hidden="true"></i>
184
  <?php
185
+ printf("%s <a target='_blank' href='//snapcreek.com/wordpress-hosting/'>%s</a> %s",
186
+ __("Please visit our recommended", 'duplicator'),
187
+ __("host list", 'duplicator'),
188
  __("for reliable access to mysqldump", 'duplicator'));
189
  ?>
190
  </i>
views/tools/logging.php CHANGED
@@ -160,14 +160,14 @@ jQuery(document).ready(function($) {
160
  <i class='fa fa-list-alt'></i> <b><?php echo basename($logurl); ?></b> &nbsp; | &nbsp;
161
  <i style="cursor: pointer"
162
  data-tooltip-title="<?php _e("Host Recommendation:", 'duplicator'); ?>"
163
- data-tooltip="<?php _e('Duplicator recommends going with the high performance pro plan or better from Bluehost.com', 'duplicator'); ?>">
164
  <i class="fa fa-lightbulb-o" aria-hidden="true"></i>
165
- <?php
166
- printf("%s <a target='_blank' href='//www.bluehost.com/track/snapcreek/?page=wordpress'>%s</a> %s",
167
- __("Duplicator recommends ", 'duplicator'),
168
- __("Bluehost", 'duplicator'),
169
- __("for more reliable conversions", 'duplicator'));
170
- ?>
171
  </i>
172
  </div>
173
  <div class="opts"><a href="javascript:void(0)" id="dup-options"><?php _e("Options", 'duplicator') ?> <i class="fa fa-angle-double-right"></i></a> &nbsp;</div>
160
  <i class='fa fa-list-alt'></i> <b><?php echo basename($logurl); ?></b> &nbsp; | &nbsp;
161
  <i style="cursor: pointer"
162
  data-tooltip-title="<?php _e("Host Recommendation:", 'duplicator'); ?>"
163
+ data-tooltip="<?php _e('Duplicator recommends going with the high performance pro plan or better from our recommended list', 'duplicator'); ?>">
164
  <i class="fa fa-lightbulb-o" aria-hidden="true"></i>
165
+ <?php
166
+ printf("%s <a target='_blank' href='//snapcreek.com/wordpress-hosting/'>%s</a> %s",
167
+ __("Consider our recommended", 'duplicator'),
168
+ __("host list", 'duplicator'),
169
+ __("if your unhappy with your current provider", 'duplicator'));
170
+ ?>
171
  </i>
172
  </div>
173
  <div class="opts"><a href="javascript:void(0)" id="dup-options"><?php _e("Options", 'duplicator') ?> <i class="fa fa-angle-double-right"></i></a> &nbsp;</div>