click here.'; $GLOBALS['ZIP_ARC_CHUNK_EXTRACT_NOTICES'] = array( 'This server looks to be under load or throttled, the extraction process may take some time', 'This host is currently experiencing very slow I/O. You can continue to wait or try a manual extraction.', 'This host I/O is currently having issues. It is recommended to try a manual extraction.', ); foreach ($GLOBALS['ZIP_ARC_CHUNK_EXTRACT_NOTICES'] as $key => $val) { $GLOBALS['ZIP_ARC_CHUNK_EXTRACT_NOTICES'][$key] = $val . $additional_msg; } $GLOBALS['FW_USECDN'] = false; $GLOBALS['NOW_TIME'] = @date("His"); self::initErrDefines(); } protected static function initErrDefines() { define('ERR_CONFIG_FOUND', 'A wp-config.php already exists in this location. ' . 'This error prevents users from accidentally overwriting a WordPress site or trying to install on top of an existing one. ' . 'When the archive file is extracted it can overwrite existing items if they have the same name. ' . 'If you have already manually extracted the installer then choose #1 other-wise consider these options: ' . '
  1. Click > Try Again > Options > choose "Manual Archive Extraction".
  2. ' . '
  3. Delete the wp-config.php file and try again.
  4. ' . '
  5. Empty the root directory except for the package and installer and try again.
'); define('ERR_ZIPNOTFOUND', 'The packaged zip file was not found or has become unreadable. ' . 'Be sure the zip package is in the same directory as the installer file. ' . 'If you are trying to reinstall a package you can copy the package from the source site, ' . ' back up to your root which is the same location as your installer file.'); define('ERR_SHELLEXEC_ZIPOPEN', 'Failed to extract the archive using shell_exec unzip'); define( 'ERR_ZIPOPEN', 'Failed to open the zip archive file. Please be sure the archive is completely downloaded before running the installer. ' . 'Try to extract the archive manually to make sure the file is not corrupted.' ); define( 'ERR_ZIPEXTRACTION', 'Errors extracting the zip file. Portions or part of the zip archive did not extract correctly.' . ' Try to extract the archive manually with a client side program like unzip/win-zip/winrar to make sure the file is not corrupted.' . ' If the file extracts correctly then there is an invalid file or directory that PHP is unable to extract.' . 'This can happen if you are moving from one operating system to another where certain naming ' . 'conventions work on one environment and not another.

Workarounds:
1. ' . 'Create a new package and be sure to exclude any directories that have name checks or files in them.' . 'This warning will be displayed on the scan results under "Name Checks".
2. Manually extract the zip file with a client side program.' . 'Then under options in step 1 of the installer select the "Manual Archive Extraction" option and perform the install.' ); define( 'ERR_ZIPMANUAL', 'When choosing "Manual Archive Extraction", the contents of the package must already be extracted for the process to continue.' . 'Please manually extract the package into the current directory before continuing in manual extraction mode.' ); define( 'ERR_MAKELOG', 'PHP is having issues writing to the log file ' . DUPX_INIT . '\dup-installer-log__[HASH].txt .' . 'In order for the Duplicator to proceed to validate your owner/group and permission settings for PHP on this path. ' . 'Try temporarily setting you permissions to 777 to see if the issue gets resolved. ' . 'If you are on a shared hosting environment please contact your hosting company and tell ' . 'them you are getting errors writing files to the path above when using PHP.' ); define( 'ERR_ZIPARCHIVE', 'In order to extract the archive.zip file, the PHP ZipArchive module must be installed.' . 'Please read the FAQ for more details. You can still install this package but you will need to select the ' . '"Manual Archive Extraction" options found under Options. ' . 'Please read the online user guide for details in performing a manual archive extraction.' ); define( 'ERR_MYSQLI_SUPPORT', 'In order to complete an install the mysqli extension for PHP is required.' . 'If you are on a hosted server please contact your host and request that mysqli be enabled.' . ' For more information visit: http://php.net/manual/en/mysqli.installation.php' ); define( 'ERR_DBCONNECT', 'DATABASE CONNECTION FAILED!
' ); define( 'ERR_DBCONNECT_CREATE', 'DATABASE CREATION FAILURE!
Unable to create database "%s". ' . 'Check to make sure the user has "Create" privileges. ' . 'Some hosts will restrict the creation of a database only through the cpanel. ' . 'Try creating the database manually to proceed with the installation. ' . 'If the database already exists select the action "Connect and Remove All Data" which will remove all existing tables.' ); define('ERR_DROP_TABLE_TRYCLEAN', 'TABLE CLEAN FAILURE' . 'Unable to remove TABLE "%s" from database "%s".
' . 'Please remove all tables from this database and try the installation again. ' . 'If no tables show in the database, then Drop the database and re-create it.
' . 'ERROR MESSAGE: %s'); define('ERR_DROP_PROCEDURE_TRYCLEAN', 'PROCEDURE CLEAN FAILURE. ' . 'Please remove all procedures from this database and try the installation again. ' . 'If no procedures show in the database, then Drop the database and re-create it.
' . 'ERROR MESSAGE: %s

'); define('ERR_DROP_FUNCTION_TRYCLEAN', 'FUNCTION CLEAN FAILURE. ' . 'Please remove all functions from this database and try the installation again. ' . 'If no functions show in the database, then Drop the database and re-create it.
' . 'ERROR MESSAGE: %s

'); define('ERR_DROP_VIEW_TRYCLEAN', 'VIEW CLEAN FAILURE. ' . 'Please remove all views from this database and try the installation again. ' . 'If no views show in the database, then Drop the database and re-create it.
' . 'ERROR MESSAGE: %s

'); define( 'ERR_DBCREATE', 'The database "%s" does not exist.
Change the action to create in order ' . 'to "Create New Database" to create the database. ' . 'Some hosting providers do not allow database creation except through their control panels. ' . ' In this case, you will need to log in to your hosting providers control panel and create the database manually. ' . 'Please contact your hosting provider for further details on how to create the database.' ); define( 'ERR_DBEMPTY', 'The database "%s" already exists and has "%s" tables. ' . ' When using the "Create New Database" action the database should not exist. ' . ' Select the action "Connect and Remove All Data" or "Connect and Backup Any Existing Data" ' . 'to remove or backup the existing tables or choose a database name that does not already exist. ' . 'Some hosting providers do not allow table removal or renaming from scripts. ' . 'In this case, you will need to log in to your hosting providers\' control panel and remove or rename the tables manually. ' . ' Please contact your hosting provider for further details. Always backup all your data before proceeding!' ); define('ERR_CPNL_API', 'The cPanel API had the following issues when trying to communicate on this host:
%s'); } }