Thread:Project:Support desk/$wgUseSharedUploads causes trouble/reply (3)

Thanks for your help!

I added the following to LocalSettings.php:

$wgForeignFileRepos[] = array(   'class' => 'ForeignDBRepo',    'name' => 'pool',    'url' => "http://pool.domain.com/w/images",    'directory' => '/html/wiki/pool/w/images/',    'hashLevels' => 2, // This must be the same for the other family member    'dbType' => $wgDBtype,    'dbServer' => $wgDBserver,    'dbUser' => $wgDBuser,    'dbPassword' => $wgDBpassword,    'dbFlags' => DBO_DEFAULT,    'dbName' => 'pool_db_username',    'tablePrefix' => '',    'hasSharedCache' => false,    'descBaseUrl' => 'http://pool.domain.com/w/index.php/Image:',    'fetchDescription' => false );

...and ended up getting the same error :(

I also tried to use LocalRepo:

$wgForeignFileRepos[] = array(  'class'                    => 'LocalRepo',   'name'                     => 'pool',   'url'                      => 'http://pool.domain.com/w/images',   'hashLevels'               => 2, // This must be the same for the other family member   'pathDisclosureProtection' => 'paranoid',   'descBaseUrl'              => 'http://pool.domain.com/wiki/Image:',   'scriptDirUrl'             => 'http://pool.domain.com/w',   'fetchDescription'         => true, // Optional );

...but no images showed up :|

I'm gonna try to find you on #MediaWiki.

Thanks + cheers,