WordPress installs themes, plug-ins online, or contains pictures in articles that are quickly published.
Installing Theme: Frontier 1.0.2
The installation package is being downloaded from http://wordpress.org/themes/download/frontier.1.0.2.zip.
Warning: touch() [function.touch]: Utime failed: Result too large in D:\wwwroot\ftp119517\Web\wp-admin\includes\file.php on line 179
Unzipping the installation package ____________.
Unable to install this package. PCLZIP_ERR_MISSING_FILE(-4): Missing archive file’C: WINDOWS TEMP/frontier.tmp’
This is because the’C: WINDOWS TEMP’directory in the space does not set IIS access rights, and requires the space quotient to set directory access rights for you. Generally, this requirement is unreasonable, so we can only change the temporary upload directory of WordPress. The practice is as follows
Firstly, we use FTP software to create a new “tmp” directory in the’wp-content’directory of web space, and then add the following red part in the wp-config.php file:
*! Please stop editing. Please keep this document. Enjoy your use! * /
/ ** Absolute path to the WordPress directory. * /
if ( !defined(‘ABSPATH’) )
define(‘ABSPATH’, dirname(__FILE__) . ‘/’);
/ ** Temporary directory of WordPress. * /
define(‘WP_TEMP_DIR’, ABSPATH . ‘wp-content/tmp’);
/ ** Set WordPress variables and include files. * /
require_once(ABSPATH . ‘wp-settings.php’);
Redefine the temporary directory location.