On Oct 27, 6:34 am, Ralf Schmitt <[email protected]> wrote:
> ElvisP <[email protected]> writes:
> > An error occured on the render server: RuntimeError: RuntimeError:
> > command failed with returncode 256:
> > ['mw-zip', '-o', u'cache/71/71642c2f7f3ee0d5/collection.zip',
> > '-m', u'cache/71/71642c2f7f3ee0d5/metabook.json',
> > '--status', u'qserve://localhost:14311/71642c2f7f3ee0d5:makezip',
> > '--template-blacklist', u'MediaWiki:PDF Template Blacklist',
> > '--template-exclusion-category', u'Exclude in print',
> > '--print-template-prefix', u'Print',
> > '--print-template-pattern', u'$1/Print',
> > '--username', u'username',
> > '--password', '{OMITTED}',
> > '--domain', u'companydomain']
>
> It looks like Collection.body.php doesn't post the 'base_url' parameter
> (since --config is missing in the above command). What is the version of
> your mediawiki installation and collection extension?
------------------------------------------------------------------------------------------------------
According to the admin who did the extension install:
... upgraded wiki from 1.13 to 1.17 and installed below version of
collection extension:
Collection-MW1.17-r85033
... upgraded the other extensions as well after upgrading wiki.
Also, the file Collection.body.php does seem to post the 'base_url'
but I'm not sure where the referenced variable is set or what it
resolves to. Here is some more info on the base_url and the referenced
value.
Please let me know what you think or what needs to be changed/fixed to
get this feature working.
Thanks for all your help.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - -
[root@wikidev Collection]# cat Collection.body.php | grep base
'base_url' => wfExpandUrl( $wgScriptPath ),
'base_url' => wfExpandUrl( $wgScriptPath ),
'base_url' => wfExpandUrl( $wgScriptPath ),
[root@wikidev Collection]# cat Collection.body.php | grep ScriptPath
global $wgScriptPath;
$imagepath = "$wgScriptPath/extensions/Collection/images";
$jspath = "$wgScriptPath/extensions/Collection/js";
global $wgScriptPath;
$jspath = "$wgScriptPath/extensions/Collection/js";
global $wgOut, $wgContLang, $wgScriptPath, $wgScriptExtension;
'base_url' => wfExpandUrl( $wgScriptPath ),
global $wgOut, $wgContLang, $wgRequest, $wgScriptPath,
$wgScriptExtension;
'base_url' => wfExpandUrl( $wgScriptPath ),
global $wgCollectionVersion, $wgJsMimeType, $wgLang, $wgOut,
$wgRequest, $wgScriptPath;
global $wgScriptPath, $wgScriptExtension, $wgOut;
'base_url' => wfExpandUrl( $wgScriptPath ),
[root@wikidev Collection]# cat Collection.body.php | grep wgScriptPath
global $wgScriptPath;
$imagepath = "$wgScriptPath/extensions/Collection/images";
$jspath = "$wgScriptPath/extensions/Collection/js";
global $wgScriptPath;
$jspath = "$wgScriptPath/extensions/Collection/js";
global $wgOut, $wgContLang, $wgScriptPath, $wgScriptExtension;
'base_url' => wfExpandUrl( $wgScriptPath ),
global $wgOut, $wgContLang, $wgRequest, $wgScriptPath,
$wgScriptExtension;
'base_url' => wfExpandUrl( $wgScriptPath ),
global $wgCollectionVersion, $wgJsMimeType, $wgLang, $wgOut,
$wgRequest, $wgScriptPath;
global $wgScriptPath, $wgScriptExtension, $wgOut;
'base_url' => wfExpandUrl( $wgScriptPath ),
[root@wikidev Collection]# grep wgScriptPath *
Collection.body.php: global $wgScriptPath;
Collection.body.php: $imagepath = "$wgScriptPath/extensions/
Collection/images";
Collection.body.php: $jspath = "$wgScriptPath/extensions/Collection/
js";
Collection.body.php: global $wgScriptPath;
Collection.body.php: $jspath = "$wgScriptPath/extensions/Collection/
js";
Collection.body.php: global $wgOut, $wgContLang, $wgScriptPath,
$wgScriptExtension;
Collection.body.php: 'base_url' => wfExpandUrl(
$wgScriptPath ),
Collection.body.php: global $wgOut, $wgContLang, $wgRequest,
$wgScriptPath, $wgScriptExtension;
Collection.body.php: 'base_url' => wfExpandUrl(
$wgScriptPath ),
Collection.body.php: global $wgCollectionVersion, $wgJsMimeType,
$wgLang, $wgOut, $wgRequest, $wgScriptPath;
Collection.body.php: global $wgScriptPath, $wgScriptExtension,
$wgOut;
Collection.body.php: 'base_url' => wfExpandUrl(
$wgScriptPath ),
Collection.body.php.orig: global $wgScriptPath;
Collection.body.php.orig: $imagepath = "$wgScriptPath/extensions/
Collection/images";
Collection.body.php.orig: $jspath = "$wgScriptPath/extensions/
Collection/js";
Collection.body.php.orig: global $wgScriptPath;
Collection.body.php.orig: $jspath = "$wgScriptPath/extensions/
Collection/js";
Collection.body.php.orig: global $wgScriptPath;
Collection.body.php.orig: 'base_url' => $wgServer .
$wgScriptPath,
Collection.body.php.orig: global $wgScriptPath;
Collection.body.php.orig: 'base_url' => $wgServer .
$wgScriptPath,
Collection.body.php.orig: global $wgScriptPath;
Collection.body.php.orig: global $wgScriptPath;
Collection.body.php.orig: 'base_url' => $wgServer .
$wgScriptPath,
Collection.hooks.php: global $wgScriptPath;
Collection.hooks.php: $jsPath = "$wgScriptPath/extensions/Collection/
js";
Collection.hooks.php: $imagePath = "$wgScriptPath/extensions/
Collection/images";
Collection.hooks.php: global $wgScriptPath;
Collection.hooks.php: $imagePath = "$wgScriptPath/extensions/
Collection/images";
Collection.php: global $wgScriptPath;
Collection.php: $imagePath = "$wgScriptPath/extensions/Collection/
images";
Collection.templates.php: $mediapath = $GLOBALS['wgScriptPath'] .
'/
extensions/Collection/images/';
Collection.templates.php: $mediapath = $GLOBALS['wgScriptPath'] .
'/
extensions/Collection/images/';
Collection.templates.php: $mediapath = $GLOBALS['wgScriptPath'] .
'/
extensions/Collection/images/';
Collection.templates.php: $mediapath = $GLOBALS['wgScriptPath'] .
'/
extensions/Collection/images/';
--
You received this message because you are subscribed to the Google Groups
"mwlib" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/mwlib?hl=en.