[Mediawiki-l] getThumbUrlFromCache could not write to thumb path

Enrique enrique at banmet.cu
Fri Jun 19 16:55:17 UTC 2009


configuring $wgForeignFileRepos
      * MediaWiki version: 1.15.0
      * PHP version: 5.2.6-1+lenny3 with Suhosin-Patch 0.9.6.2 (cli)
      * MySQL version: 14.12 Distrib 5.0.51a, for debian-linux-gnu
        (i486) using readline 5.2
      * URL: (local Intranet)

Hello all i'm trying set $wgForeignFileRepos to see remotes images on my
local wikipedia adding the follows lines to my LocalSettings.php: To
CURL request:

$wgHTTPTimeout = 3000; $wgHTTPProxy = "http://myProxyIp:Port";

$wgForeignFileRepos[] = array(

'class'                   => 'ForeignAPIRepo',
  'name'                    => 'shared',
  'apibase'                 => 'http://commons.wikimedia.org/w/api.php',
  'fetchDescription'        => false, 
  'descriptionCacheExpiry'  => 43200, 
  'apiThumbCacheExpiry'     => 43200, 

);;

but i don't see images in articles only show me an empty box in the
place of image and the rigth description , in debug log i see:


        Http::request: GET
        http://commons.wikimedia.org/w/api.php?titles=Image%
        3ACommons-logo.svg&iiprop=timestamp%7Cuser%7Ccomment%7Curl%
        7Csize%7Csha1%7Cmetadata%
        7Cmime&prop=imageinfo&format=json&action=query

FileCache MISS for Commons-logo.svg Http::request: GET
http://commons.wikimedia.org/w/api.php?titles=Image%
3ACommons-logo.svg&iiprop=url&iiurlwidth=15&iiurlheight=-1&prop=imageinfo&format=json&action=query ForeignAPIRepo::getThumbUrl got remote thumb http://upload.wikimedia.org/wikipedia/commons/thumb/4/4a/Commons-logo.svg/15px-Commons-logo.svg.png ForeignAPIRepo::getThumbUrlFromCache could not write to thumb path Http::request: GET http://commons.wikimedia.org/w/api.php?titles=Image%3AWikibooks-logo.svg&iiprop=timestamp%7Cuser%7Ccomment%7Curl%7Csize%7Csha1%7Cmetadata%7Cmime&prop=imageinfo&format=json&action=query FileCache MISS for Wikibooks-logo.svg Http::request: GET http://commons.wikimedia.org/w/api.php?titles=Image%3AWikibooks-logo.svg&iiprop=url&iiurlwidth=15&iiurlheight=-1&prop=imageinfo&format=json&action=query ForeignAPIRepo::getThumbUrl got remote thumb http://upload.wikimedia.org/wikipedia/commons/thumb/f/fa/Wikibooks-logo.svg/15px-Wikibooks-logo.svg.png ForeignAPIRepo::getThumbUrlFromCache could not write to thumb path)

I have enable uploads to my local wiki and the permissions over image
directory are 777 by now my math formula are working fine. in
images/tumb are many folders with image names but empty. whats more i
need to complet this please?






More information about the MediaWiki-l mailing list