Manual talk:$wgUseSharedUploads

Troubles with sharing uploads
Hi !

I hope I post on the good page, else, please tell me where I should post...

We are actually creating a multi lingual scout wiki (like Wikipedia but about scoutism), at ScoutWiki

I'm trying to set up a "Common"-like, to share pictures & media between wikis: ScoutMedia

The trouble is that it does'nt seem to work.

Here is what I added to [www.scoutopedia.net Scoutopedia] (french wiki) LocalSettings.php: $wgUseSharedUploads		= true; $wgSharedUploadPath		= "http://media.scoutwiki.org/images"; $wgHashedSharedUploadDirectory = true;
 * 1) Allow using ScoutMedia
 * 1) ScoutMedia upload directory
 * 1) ScoutMedia  upload directory structure

The Hashed is also set up on ScoutMedia

I uploaded a picture on ScoutMedia: ( Brouette.jpg )

and I tried to insert it on Scoutopedia:

Brouette

The trouble is that it doesn't work :-( (names are similar)

Can anyone help ?

Thanks :)

Cedsib 15:22, 29 November 2006 (UTC)

MediaWiki 1.17
On MediaWiki 1.16 it works fine, but If I set #$wgUseSharedUploads = true; on MediaWiki 1.17, it gives me the following error:

A database query syntax error has occurred. This may indicate a bug in the software. The last attempted database query was: (SQL query hidden) from within function "DatabaseBase::begin". Database returned error "0: ".

Any ideas are more than appreciated! Thanks + cheers, --Till Kraemer 19:02, 14 August 2011 (UTC)