Page tree
Skip to end of metadata
Go to start of metadata

Archives

You are using phpFox version earlier than 4.6.0? Please refer instruction for this article here.

Step 1: Edit the file safe_mode.php 

You need to update a source code file of the app if you want to restore your site in Safe Mode.

You can find the file at:

[PATH_OF_YOUR_SITE]/PF.Site/Apps/phpFox_Backup_Restore/safe_mode.php

At the beginning of the file, you can see something like this:

<?php
//Set to true to enable safe mode
define('BACKUP_SAFE_MODE', false);
//DO NOT change below this line
//----------------------------//

The one thing you need to do is change the definition of this constant to true.

<?php
//Set to true to enable safe mode
define('BACKUP_SAFE_MODE', true);
//DO NOT change below this line
//----------------------------//

Save your change and go to next step.

Step 2: Access the Restore Page in Safe Mode

The link for this page is something like this

[YOUR_SITE_DOMAIN]/PF.Site/Apps/phpFox_Backup_Restore/safe_mode.php

Access the page via this link, you can see all the available backup packages. Select one and click to restore button will help to revert your site to the state of the package.

  • No labels