I can’t install the plug-in
-
Hello, Takis Bouyouris!
I have 2 days trying to configure the plugin in WordPress 4.6.1 or 4.4.5 on XAMPP, but i couldn’t.
I created folder d:\xampp\htdocs\wp445\wp-content\cache\adaptive-images\ (uncheck read-only from Windows)
Cache directory is empty.How to specify the path in .htaccess ?
Is it necessary to insert script in header.php or anymore?mod_rewrite is working.
Plugin’s .htaccess
<IfModule mod_rewrite.c>
RewriteEngine On
# Watched directories
RewriteCond %{REQUEST_URI} /wp445/wp-content/uploads [OR]
RewriteCond %{REQUEST_URI} /wp445/wp-content/themes# Redirect images through the adaptive images script
RewriteRule \.(?:jpe?g|gif|png)$ /wp445/D:\xampp\htdocs\wp445\wp-content\plugins\adaptive-images/adaptive-images-script.php [L]</IfModule>
My corrected .htaccess
<IfModule mod_rewrite.c>
RewriteEngine On
# Watched directories
RewriteCond %{REQUEST_URI} /wp-content/uploads [OR]
RewriteCond %{REQUEST_URI} /wp-content/themes# Redirect images through the adaptive images script
RewriteRule \.(?:jpe?g|gif|png)$ /wp-content/plugins/adaptive-images/adaptive-images-script.php [L]
</IfModule>
# END Adaptive ImagesWeb Server Apache/2.4.17 (Win32) OpenSSL/1.0.2d PHP/5.6.23
Document Root D:/xampp/htdocs
PHP 5.6.23
PHP Time Limit 0
PHP Memory Limit 256M
PHP Post Max Size 32M
PHP Upload Max Size 32M
PHP Max Input Vars 1000
PHP Display Errors Yes
PHP Error Log D:\xampp\php\logs\php_error_log
MySQL 5.5.5-10.1.13-MariaDB
MySQL Ext/mysqli Yes
MySQL Table Prefix wp_
MySQL DB Charset utf8
WP 4.4.5
WP Multisite No
WP Debug Mode No
WP Site url https://localhost/wp445
WP WP Home url https://localhost/wp445
WP Permalinks /%postname%/
WP home path D:/xampp/htdocs/wp445/
WP content dir D:\xampp\htdocs\wp445/wp-content
WP plugin dir D:\xampp\htdocs\wp445/wp-content/plugins
WP content url https://localhost/wp445/wp-content
WP plugin url https://localhost/wp445/wp-content/plugins
WP Locale ru_RU
WP Memory Limit 40M
WP Max Upload Size 32mb
WP Active plugins Adaptive Images for WordPress v.0.6.60 by Nevma; All-in-One WP Migration v.5.52 by ServMask; Duplicate Post v.2.6 by Enrico Battocchi
WP MU pluginsDebug info
? PHP GD library is installed.
? Image cache directory has been created. D:\xampp\htdocs\wp445/wp-content/cache/adaptive-images => drwxrwxrwx
? Installation .htaccess file is setup OK. D:/xampp/htdocs/wp445/.htaccess => -rw-rw-rw-
? Adaptive images settings dump:
array(12) {
[“resolutions”]=>
array(3) {
[0]=>
int(1024)
[1]=>
int(640)
[2]=>
int(480)
}
[“landscape”]=>
bool(true)
[“hidpi”]=>
bool(true)
[“cache-directory”]=>
string(21) “cache/adaptive-images”
[“watched-directories”]=>
array(2) {
[0]=>
string(18) “wp-content/uploads”
[1]=>
string(17) “wp-content/themes”
}
[“jpeg-quality”]=>
int(75)
[“sharpen-images”]=>
bool(true)
[“watch-cache”]=>
bool(true)
[“browser-cache”]=>
float(0.25)
[“cdn-support”]=>
bool(false)
[“version”]=>
string(6) “0.6.60”
[“sanitized”]=>
bool(true)
}
- The topic ‘I can’t install the plug-in’ is closed to new replies.