Page MenuHomePhabricator

Collection doesn't work on third party internal only wiki
Closed, InvalidPublic

Description

Author: ttiessen94

Description:
Sorry if my english isn't good. I'm from germany.
I had setup the new mediawiki 20.2 with the extension Collection.
This extension requires the Pdf Writer.
Both applications I had installed and configured like in the wiki discribed.
Now it starts but it stands on 1 % and doesn't go on.
Pleas halp me.


Version: master
Severity: major
OS: Linux
Platform: Other
Whiteboard: aklapper-moreinfo

Details

Reference
bz44116

Event Timeline

bzimport raised the priority of this task from to Low.Nov 22 2014, 1:24 AM
bzimport added a project: Collection.
bzimport set Reference to bz44116.
bzimport added a subscriber: Unknown Object (MLST).

Hi,
is the wiki publicly accessible?
What are the exact steps to reproduce?
How large is the page that you try to convert into a PDF? Does this happen with any page?

Is there any error message displayed?

Also see http://www.mediawiki.org/wiki/Manual:How_to_debug

ttiessen94 wrote:

Hay,
the wiki is in the LAN not from the internet accessible.
To reprduce it do this:

  • install Mediawiki 20.2
  • create an article with some letters
  • install the extension Collection

http://www.mediawiki.org/wiki/Extension:Collection

  • install Pdf Writer

http://www.mediawiki.org/wiki/Extension:PDF_Writer

  • set in LocalSettings.php

$wgCollectionMWServeURL = "http://tools.pediapress.com/mw-serve/";
The Page isn't large and it happens with any page.
No error messages, it just stop at 1 %.

(In reply to comment #0)

Both applications I had installed and configured like in the wiki discribed.

Please provide a link to "the wiki".

Is $wgEnableAPI set to true?

Also, this report needs some debug log output.

ttiessen94: Could you answer comment 3 please?

(In reply to comment #2)

Hay,
the wiki is in the LAN not from the internet accessible.
To reprduce it do this:

  • install Mediawiki 20.2
  • create an article with some letters
  • install the extension Collection

http://www.mediawiki.org/wiki/Extension:Collection

  • install Pdf Writer

http://www.mediawiki.org/wiki/Extension:PDF_Writer

  • set in LocalSettings.php

$wgCollectionMWServeURL = "http://tools.pediapress.com/mw-serve/";
The Page isn't large and it happens with any page.
No error messages, it just stop at 1 %.

From memory, you cannot use their pdf server if your wiki is not publically accessible.

You've already installed PDF Writer, which is the server side component, but you're not using it. You need to set $wgCollectionMWServeURL to your local PDF Writer install, not pediapresses

Assuming that Reedy's explanation in comment 5 was helpful and that this is a configuration / support request instead of an actual bug in the codebase.