Hi all
my error occurs when enable the directive
$wgForeignFileRepos[] = array(
   'class'                   => 'ForeignAPIRepo',
   'name'                    => 'shared',
   'hashLevels'              => '2',
   'hasSharedCache'          => $wgCacheSharedUploads,
   'apibase'                 => 'http://commons.wikimedia.org/w/api.php',
   'fetchDescription'        => false, // Optional
   'descriptionCacheExpiry'  => 432000, // 12*5 hours, optional
   'apiThumbCacheExpiry'     => 86400000, // 12 hours, optional, but 
required for local thumb caching
);
HTTP: GET: 
http://commons.wikimedia.org/w/api.php?titles=File%3AThe+devil+wears+prada+logotipo.jpg&iiprop=timestamp%7Cuser%7Ccomment%7Curl%7Csize%7Csha1%7Cmetadata%7Cmime&prop=imageinfo&format=json&action=query&redirects=true
Class PEAR_Error not found; skipped loading

I installed mediawiki software via svn on centos I installed all php modules 
and peral too
--------------------------------------------------
From: "Enrique" <[email protected]>
Sent: Thursday, September 16, 2010 8:33 AM
To: "MediaWiki announcements and site admin list" 
<[email protected]>
Subject: Re: [Mediawiki-l] blank page

> Yes I done. I have installed php-pear. I really I have changed the server
> ip address father this change many pages has gone and show as blank
> now I disable many options on LocalSetting.php.
> and notice the error is produced when I enable the following directives:
>
> $wgHTTPProxy = true;
> $wgHTTPTimeout = 3000;
> $wgHTTPProxy = "http://172.16.99.2:8080";;
> on the error log of httpd daemon I see this error
> [Thu Sep 16 08:10:01 2010] [error] [client 192.168.157.100] PHP Fatal 
> error:
> Cannot use object of type stdClass as array in
> /var/www/wikipedia/includes/filerepo/ForeignAPIFile.php on line 127,
> referer: http://www.es-wiki.comunicaciones.cu/index.php/Barcelona
> them I disable de wgHTTH directives and all work fine!
> why???
>
> --------------------------------------------------
> From: "Jerry Van Suchtelen" <[email protected]>
> Sent: Wednesday, September 15, 2010 11:00 PM
> To: "MediaWiki announcements and site admin list"
> <[email protected]>
> Subject: Re: [Mediawiki-l] blank page
>
>> Install php-pear
>>
>> On Sep 15, 2010 4:49 PM, "Enrique" <[email protected]> wrote:
>>
>> Hello all.
>> In the major pages are show blank father installing mediawiki software 
>> and
>> imported xml dump, I enable the $wgDebugLogFile and
>> $wgShowExceptionDetails
>> and see this error on log file
>> Class PEAR_Error not found; skipped loading
>> thanks
>>
>>
>>
>> _______________________________________________
>> MediaWiki-l mailing list
>> [email protected]
>> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>> _______________________________________________
>> MediaWiki-l mailing list
>> [email protected]
>> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>>
>
>
> _______________________________________________
> MediaWiki-l mailing list
> [email protected]
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
> 


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

Reply via email to