der-lukas
Forum Replies Created
-
Forum: Plugins
In reply to: [Adaptive Images for WordPress] All images broken!Is BP Buddypress? No, I don’t have it installed!
Yes I can do that, oh I might have a guess what the issue is! Maybe you use functions like exec() or something, which are forbidden as I saw yesterday in my phpinfo, because another plugin (EWWW Image Optimizer) gave me a error message that it doesnt have the exec() permission!
Could that be an issue? I’ll send you a list of the forbidden commands!
Forum: Plugins
In reply to: [Adaptive Images for WordPress] All images broken!Hey! The new version doesn’t work either…
Installation, activation etc works and no errors are shown, but all my images don’t work anymore…
Weird behaviour! I think it can’t write to the cache-folder for some reason…
Forum: Plugins
In reply to: [Adaptive Images for WordPress] All images broken!Changed the permissions of the files suggested, in the error message – still getting the same error message (with updated permission).
When I clicked “Cleanup Image Cache”, I got this message:
… Permission denied in /www/htdocs/w00f205a/2015/wp-content/plugins/adaptive-images/adaptive-images-actions.php on line 79
Wow, something is really messed up with my permissions… Weird thing is that everything worked before I installed the plugin… Still all images dont show up anymore – even if I try to open them directly through their url…
EDIT: .htaccess and plugin files work now that I changed permissions from 644 to 666…
But my images still ALL don’t work…
EDIT2: Okay, now that the permissions work, the images come back as soon as I deactivate the plugin…
Forum: Plugins
In reply to: [Adaptive Images for WordPress] All images broken!Hey!
Yup, the new if-statement works!
I still seem to have some issues with write permissions… I’m gonna try all the manual adjustments proposed in the error message below and will get back to you!
Adaptive Images — Settings updated.
The settings have been saved in the database.
The .htaccess file could not be updated. This probably means a filesystem error or a permissions problem: /www/htdocs/w00f205a/2015/.htaccess => -rw-r–r–.
Consider adding this code to your .htaccess file manually:
# BEGIN Adaptive Images
#=======================<IfModule mod_rewrite.c>
RewriteEngine On
# Watched directories
RewriteCond %{REQUEST_URI} /2015/wp-content/uploads [OR]
RewriteCond %{REQUEST_URI} /2015/wp-content/themes# Redirect images through the adaptive images script
RewriteRule \.(?:jpe?g|gif|png)$ 2015/wp-content/plugins/adaptive-images/adaptive-images/ai-main.php [L]</IfModule>
# END Adaptive Images
User settings file could not be updated. This probably means a filesystem error or a permissions problem./www/htdocs/w00f205a/2015/wp-content/plugins/adaptive-images/adaptive-images/ai-user-settings.php => -rw-r–r–.
The plugin will still be able to function but with its default settings until this problem is resolved.PS: What would be nice for people who are trying to fix the permission errors, would be if you would not only show which permissions are currently set on the files and folders, which are not writeable, but would suggest which permissions should be set!
I’m gonna try setting the files to 755…
Forum: Plugins
In reply to: [Adaptive Images for WordPress] All images broken!Now I reinstalled the plugin so I could give you more infos…
This is the error I get when I save the settings:
Notice: Undefined index: sanitized in /www/htdocs/w00f205a/2015/wp-content/plugins/adaptive-images/adaptive-images-admin.php on line 653
Warning: Cannot modify header information – headers already sent by (output started at /www/htdocs/w00f205a/2015/wp-content/plugins/adaptive-images/adaptive-images-admin.php:653) in /www/htdocs/w00f205a/2015/wp-includes/pluggable.php on line 1196
This is the debug-info:
✔ PHP GD library is installed.
✖ Image cache directory has not been created.
It seems that the directory is not writeable. This is probably a filesystem permissions issue.
Consider adding manually the image cache directory: “/wp-content/cache/adaptive-images”./www/htdocs/w00f205a/2015/wp-content/cache => drwxr-xr-x
✖ Installation .htaccess file is not properly setup.
The .htaccess file is not writeable so it might have not been updated./www/htdocs/w00f205a/2015/.htaccess => -rw-r–r–
❖ Adaptive images settings dump:
array(9) {
[“resolutions”]=>
array(3) {
[0]=>
int(1024)
[1]=>
int(640)
[2]=>
int(480)
}
[“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(65)
[“sharpen-images”]=>
bool(true)
[“watch-cache”]=>
bool(true)
[“browser-cache”]=>
float(180)
[“version”]=>
string(6) “0.3.52”
[“sanitized”]=>
bool(true)
}