I have been trying for 2 weeks to figure out how to get Mediawiki 1.22.5
to properly handle images: still no real progress; Here is the message
I'm getting now. I think these are all related to some permissions
issue, but I have tried everything I know of & I have researched the web
extensively & tried many 'possible' solutions. Here is the situation:
/var/www/ is owned by root:root permissions 0755
/var/www/mywiki is owned by myusername:myusername  permissions 0755
/var/www/mywiki/images is owned by myusername:myusername permissions
0777
 
I am currently running this on Debian linux stable; when I load up a
webpage I get a mixed array of images issues: as in some images load and
display and others don't.

error message from web page:

> Error creating thumbnail: convert.im6: no decode delegate for this
> image format `/tmp/magick-3PI8Zdf7' @
> error/constitute.c/ReadImage/544.
> convert.im6: no images defined
> `/var/www/mywiki/images/tmp/transform_4a98a4281d46-1.png' @
> error/convert.c/ConvertImageCommand/3044.

error message from Apache2 error.log:

[Mon Apr 21 20:19:39 2014] [crit] [client 127.0.0.1] (13)Permission denied: 
/var/www/mywiki/images/thumb/2/2e/Engineered_monoclonal_antibodies.svg/.htaccess
 pcfg_openfile: unable to check htaccess file, ensure it is readable, referer: 
http://www.physicswiki.net/index.php?title=Bispecific_monoclonal_antibody
[Mon Apr 21 20:19:39 2014] [crit] [client 127.0.0.1] (13)Permission denied: 
/var/www/mywiki/images/thumb/2/2e/Engineered_monoclonal_antibodies.svg/.htaccess
 pcfg_openfile: unable to check htaccess file, ensure it is readable, referer: 
http://www.physicswiki.net/index.php?title=Bispecific_monoclonal_antibody
[Mon Apr 21 20:19:39 2014] [crit] [client 127.0.0.1] (13)Permission denied: 
/var/www/mywiki/images/thumb/2/2e/Engineered_monoclonal_antibodies.svg/.htaccess
 pcfg_openfile: unable to check htaccess file, ensure it is readable, referer: 
http://www.physicswiki.net/index.php?title=Bispecific_monoclonal_antibody
[Mon Apr 21 20:19:39 2014] [crit] [client 127.0.0.1] (13)Permission denied: 
/var/www/mywiki/images/thumb/2/2e/Engineered_monoclonal_antibodies.svg/.htaccess
 pcfg_openfile: unable to check htaccess file, ensure it is readable, referer: 
http://www.physicswiki.net/index.php?title=Bispecific_monoclonal_antibody

the .htaccess file mentioned has this content; & is permission 0777

> # Protect against bug 28235
> <IfModule rewrite_module>
>       RewriteEngine On
>       RewriteCond %{QUERY_STRING} \.[^\\/:*?\x22<>|%]+(#|\?|$) [nocase]
>       RewriteRule . - [forbidden]
> </IfModule>
> 

The file in question is on wikimedia commons & I have InstantCommons = true;

in my LocalSettings.php file

thanks
john


_______________________________________________
MediaWiki-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Reply via email to