Hello, my friend,
We have a test installation with this case here http://aidevdir.nevma.gr/wordpress/ and it seems that the plugin works fine there. So there must be some difference or variation in your installation that we should figure out.
Are you using the latest version of the plugin? Have you tried re-saving the plugin settings?
Also, could you send me the result of the Print debug and Print diagnostics buttons in the plugin settings page?
Cheers,
Takis
Hello Takis,
Seems not quite the same as my case.
Wordpress is installed in a subdirectory. But the site address is not.
E.g. General Settings:
WordPress Address: example.com/wordpress
Site Address: example.com (without the /wordpress)
✔ PHP GD library is installed.
✔ Image cache directory has been created.
/home/dev/sites/staging.xxx.nl/public/cms/wp-content/cache/adaptive-images => drwxr-xr-x
✔ Installation .htaccess file is setup OK.
/home/dev/sites/staging.xxx.nl/public/.htaccess => -rw-r--r--
❖ Adaptive images settings dump:
array(14) {
["resolutions"]=>
array(4) {
[0]=>
int(1680)
[1]=>
int(1024)
[2]=>
int(640)
[3]=>
int(480)
}
["hidpi"]=>
bool(true)
["cdn-support"]=>
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(80)
["sharpen-images"]=>
bool(true)
["watch-cache"]=>
bool(true)
["browser-cache"]=>
float(180)
["landscape"]=>
bool(false)
["version"]=>
string(6) "0.6.64"
["sanitized"]=>
bool(true)
["wp-content-dir"]=>
string(52) "/home/dev/sites/staging.xxx.nl/public/cms/wp-content"
["wp-content-url"]=>
string(37) "https://staging.xxx.nl/cms/wp-content"
}
Web Server
Apache/2.4.18 (Ubuntu)
Document Root
/home/dev/sites/staging.xxx.nl/public
PHP
7.1.13-1+ubuntu16.04.1+deb.sury.org+1
PHP Time Limit
30
PHP Memory Limit
256M
PHP Post Max Size
10M
PHP Upload Max Size
10M
PHP Max Input Vars
1000
PHP Display Errors
No
PHP Error Log
MySQL
5.7.21-0ubuntu0.16.04.1
MySQL Ext/mysqli
Yes
MySQL Table Prefix
wp_
MySQL DB Charset
utf8mb4
WP
4.9.2
WP Multisite
No
WP Debug Mode
No
WP Site url
https://staging.xxx.nl/cms
WP WP Home url
https://staging.xxx.nl
WP Permalinks
/%postname%/
WP home path
/home/dev/sites/staging.xxx.nl/public/
WP content dir
/home/dev/sites/staging.xxx.nl/public/cms/wp-content
WP plugin dir
/home/dev/sites/staging.xxx.nl/public/cms/wp-content/plugins
WP content url
https://staging.xxx.nl/cms/wp-content
WP plugin url
https://staging.xxx.nl/cms/wp-content/plugins
WP Locale
nl_NL
WP Memory Limit
40M
WP Max Upload Size
10mb
WP Active plugins
Adaptive Images for WordPress v.0.6.64 by Nevma
Regards,
John
Hello, again,
I see what you mean. Actually I do have a test installation with the same setup here http://aidevsdir.nevma.gr/. WordPress is installed in a subdirectory but this is not reflected in the blog url. Actually I suppose that you have followed the instructions described here https://codex.ww.wp.xz.cn/Giving_WordPress_Its_Own_Directory in method I, right?
If this is so, then could you please think of any other peculiarities that your installation may have? Because, as I mentioned before, I cannot yet reproduce the error when I reproduce the circumstances.
Cheers,
Takis
Hi Takis,
I do use method as described. I will hunt the issue coming week and report back.
Regards John
Hello, John, thank you for the update.
I am really interested to find out about edge cases, so I would love it if you can keep me posted.
Thanks!