{"id":954,"date":"2017-01-25T14:42:43","date_gmt":"2017-01-25T19:42:43","guid":{"rendered":"http:\/\/easy-admin.ca\/?p=954"},"modified":"2017-08-21T10:11:40","modified_gmt":"2017-08-21T14:11:40","slug":"having-a-hard-time-restoring-your-site-using-xcloner","status":"publish","type":"post","link":"https:\/\/easy-admin.ca\/index.php\/2017\/01\/25\/having-a-hard-time-restoring-your-site-using-xcloner\/","title":{"rendered":"Having a hard time restoring your site using XCloner?"},"content":{"rendered":"<p>Good day to all ~<br \/>\n<em><strong>p.s :<\/strong> This only apply if you are already running &#8220;WordFence&#8221; on your WordPress website,,, and then ,,, &#8230;,,, \ud83d\ude09<\/em><\/p>\n<p><strong>~ maybe you have to update first WordFence plugin on a old wordpress installation!? Was like 11 updates on this thing!@ will dig this!<\/strong><\/p>\n<p>We had a serious problem with restoring a crashed website that was using the plugin <strong>&#8220;Wordfence&#8221;<\/strong>. We are using the <strong>&#8220;XCloner&#8221;<\/strong> pluging for many years now to restore all our wordpress websites. After noticing that the customer website was not loading anymore, We started to investigate the problem(s)?&gt;<\/p>\n<p>The reason was caused by Wordfence itself!?<\/p>\n<p><strong>Fatal error: Unknown: Failed opening required<\/strong><br \/>\n,,&#8230; &#8230; when opening the website!@<\/p>\n<p>Restoration was not possible anymore using XCloner because of the..,,,<br \/>\n<em>famous Internal 500 error!<\/em><\/p>\n<p><strong>Here is what..,,, We did to make this work&#8230;,<\/strong><\/p>\n<ol>\n<li>Upload your XCloner backup in your root<\/li>\n<li>Upload the restoration files XCloner.php and TAR.php in the same folder<\/li>\n<li>On your server create a fresh database &amp; user with all previledge<\/li>\n<\/ol>\n<p><em><strong>This is the tricky part!<\/strong><\/em><\/p>\n<p><strong>Open a browser to point to this page<\/strong><\/p>\n<p>http:\/\/www.yourdomain.xxx\/XCloner.php<\/p>\n<p><em>This will start the restoration page of XCloner plugin&#8230;<\/em><\/p>\n<p><strong>Okay here are the steps<\/strong><\/p>\n<ol>\n<li>Select the database file to restore<\/li>\n<li>Enter your database credential and password<\/li>\n<\/ol>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-955 size-full\" src=\"https:\/\/easy-admin.ca\/wp-content\/uploads\/2017\/01\/xcloner-01.jpg\" alt=\"\" width=\"367\" height=\"398\" srcset=\"https:\/\/easy-admin.ca\/wp-content\/uploads\/2017\/01\/xcloner-01.jpg 367w, https:\/\/easy-admin.ca\/wp-content\/uploads\/2017\/01\/xcloner-01-277x300.jpg 277w\" sizes=\"auto, (max-width: 367px) 100vw, 367px\" \/><\/p>\n<ol>\n<li>Start the first step of the restoration of XCloner<\/li>\n<li><span style=\"color: #ff0000;\"><strong>DO NOT PRESS IMPORT DATABASE YET!<br \/>\n&amp; DONT CLOSE THE BROWSER WINDOW@ \ud83d\ude09<br \/>\n<\/strong><\/span><\/li>\n<li>Log into your FTP server and locate those files &gt; <strong>user.ini<\/strong> and <strong>.htaccess<\/strong><\/li>\n<li><strong>user.ini<\/strong> file must be empty of all contents!!! do not delete delete the file,,,..\u00a0 just save it!!!<\/li>\n<\/ol>\n<pre><span style=\"color: #ff0000;\"><code>; Wordfence WAF\r\nauto_prepend_file = '\/public_html\/wordfence-waf.php'\r\n; END Wordfence WAF<\/code><\/span><\/pre>\n<pre><code><span style=\"color: #ff0000;\"># Wordfence WAF\r\n&lt;IfModule mod_php5.c&gt;\r\n\tphp_value auto_prepend_file '\/public_html\/wordfence-waf.php'<\/span>\r\n&lt;\/IfModule&gt;\r\n&lt;\/Files&gt;<\/code><\/pre>\n<pre><strong>.htaccess<\/strong> you need to remove anything related to Wordfence<\/pre>\n<p><span style=\"color: #ff0000;\"><em><strong>Re-upload both files using your FTP Client<\/strong><\/em><\/span><\/p>\n<p>Now go back to your XCloner restoration webpage..,,,<\/p>\n<p><strong>&#8220;Please click here to continue with database import&#8230;&#8221;<\/strong><\/p>\n<p><strong><span style=\"color: #ff0000;\">*** MAKE SURE THAT USERS.INI file is empty before the next step!<br \/>\n<em><span style=\"color: #000000;\">Refresh your ftp folder!<\/span><\/em><\/span><\/strong><br \/>\n<span style=\"color: #ff0000;\"><strong>Also make sure<\/strong> that there is nothing related to Wordfence in your .htaccess<\/span><\/p>\n<p>Click Continue to trigger the database restoration!<\/p>\n<p><a href=\"http:\/\/easy-admin.ca\/my_uploads\/2017\/01\/xcloner_restore-database.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-963 size-full\" src=\"https:\/\/easy-admin.ca\/wp-content\/uploads\/2017\/01\/xcloner_restore-database.png\" alt=\"\" width=\"638\" height=\"314\" srcset=\"https:\/\/easy-admin.ca\/wp-content\/uploads\/2017\/01\/xcloner_restore-database.png 638w, https:\/\/easy-admin.ca\/wp-content\/uploads\/2017\/01\/xcloner_restore-database-300x148.png 300w\" sizes=\"auto, (max-width: 638px) 100vw, 638px\" \/><\/a><\/p>\n<p>After the restoration you will be able to connect to your wordpress dashboard and un-install Wordfence #@!%f%^<\/p>\n<p>You should make now a fresh backup of your wordpress site.<\/p>\n<p><em>~ Up to you if you wish to re-install WordFence!<\/em><\/p>\n<p><em><strong>Here you go!<\/strong><\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Good day to all ~ p.s : This only apply if you are already running &#8220;WordFence&#8221; on your WordPress website,,, and then ,,, &#8230;,,, \ud83d\ude09 ~ maybe you have to update first WordFence plugin on a old wordpress installation!? Was like 11 updates on this thing!@ will dig this! We had a serious problem with &hellip; <a href=\"https:\/\/easy-admin.ca\/index.php\/2017\/01\/25\/having-a-hard-time-restoring-your-site-using-xcloner\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Having a hard time restoring your site using XCloner?<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":958,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-954","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-general"],"_links":{"self":[{"href":"https:\/\/easy-admin.ca\/index.php\/wp-json\/wp\/v2\/posts\/954","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/easy-admin.ca\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/easy-admin.ca\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/easy-admin.ca\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/easy-admin.ca\/index.php\/wp-json\/wp\/v2\/comments?post=954"}],"version-history":[{"count":0,"href":"https:\/\/easy-admin.ca\/index.php\/wp-json\/wp\/v2\/posts\/954\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/easy-admin.ca\/index.php\/wp-json\/wp\/v2\/media\/958"}],"wp:attachment":[{"href":"https:\/\/easy-admin.ca\/index.php\/wp-json\/wp\/v2\/media?parent=954"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/easy-admin.ca\/index.php\/wp-json\/wp\/v2\/categories?post=954"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/easy-admin.ca\/index.php\/wp-json\/wp\/v2\/tags?post=954"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}