I've installed the Collection extension for MediaWiki (v1.14.0) on our
site at open.intrahealth.org, but PDF book generation always times out
using the public server. The site is not behind a firewall.
After clicking on the "Download as PDF button", I get stuck on the
"Rendering" page and the status shows 0% for a very long time until I
finally receive a timed-out error. I've run a tcpdump and can confirm
that I'm communicating with the server and it's consistently sending
"200" responses with the following info:
.{"status:.{"progress":.
0},"collection_id":."b35df12a4a6418ca",."state":."progress",."writer":."rl"}
Here's the Collection section of my LocalSettings.php file:
require_once( "$IP/extensions/Collection/Collection.php" );
$wgCollectionMWServeURL = "http://tools.pediapress.com/mw-serve/";
$wgCollectionMWServeCert = NULL;
$wgCollectionMWServeCredentials = "";
$wgCollectionFormats = array( 'rl' => 'PDF' );
$wgCollectionArticleNamespaces = array(
NS_MAIN,
NS_TALK,
NS_USER,
NS_USER_TALK,
NS_PROJECT,
NS_PROJECT_TALK,
NS_MEDIAWIKI,
NS_MEDIAWIKI_TALK,
100,
101,
102,
103,
);
$wgCommunityCollectionNamespace = NS_PROJECT;
$wgCollectionMaxArticles = 500;
$wgLicenseName = NULL;
$wgLicenseURL = NULL;
When I try grabbing the PDF via CURL (curl -D - -o test.pdf -d
collection_id=b35df12a4a6418ca -d writer=rl -d command=download
http://tools.pediapress.com/mw-serve/), I get a 500 Internal Server
Error result. Any ideas what's going on here?
Best,
-Jeff
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---