Topic on Project:Support desk

Summary by Star Warden

Solution given in: Topic:Tphqyst1kdu75xbq

Mariana duarte100 (talkcontribs)

hello,

i download Pdf Export and i did this instructions:

I tested the following commands :

  1. Download Dompdf 0.7 from GitHub 
  2. Unzip it in the MediaWiki directory, next to LocalSettings.php, the subdirectory is named "dompdf"
  3. Add require_once __DIR__ . '/dompdf/autoload.inc.php'; in your LocalSettings.php
  4. Download the patched version of PdfExport from my website  (when the change above will be merged, it will be available in the "official" version on )
  5. Unzip it as usual in extensions/ (if you had a previous extensions/PdfExport move it to another location or delete it)

. But when I click on Print as PDF link it gives me a fatal error:

Warning: require_once(C:\xampp\htdocs\media/extensions/PdfExport/prince.php): failed to open stream: No such file or directory in C:\xampp\htdocs\media\extensions\PdfExport\converters\PrincePdfConverter.php on line 22

Fatal error: require_once(): Failed opening required 'C:\xampp\htdocs\media/extensions/PdfExport/prince.php' (include_path='C:\xampp\htdocs\media\vendor/pear/pear_exception;C:\xampp\htdocs\media\vendor/pear/console_getopt;C:\xampp\htdocs\media\vendor/pear/pear-core-minimal/src;C:\xampp\htdocs\media\vendor/pear/mail_mime;C:\xampp\htdocs\media\vendor/pear/mail_mime-decode;C:\xampp\htdocs\media\vendor/pear/net_socket;C:\xampp\htdocs\media\vendor/pear/net_smtp;C:\xampp\htdocs\media\vendor/pear/mail;C:\xampp\php\PEAR') in C:\xampp\htdocs\media\extensions\PdfExport\converters\PrincePdfConverter.php on line 22

what can i do ?? , thanks

Star Warden (talkcontribs)
Mariana duarte100 (talkcontribs)

yes, i download both extension , and in the first case print as formate PDF, gives me error that export as format pdf- error, means doesnt find any convertion pdf and told that i need to install PrinceXML, DomPdf o HTMLDoc. but i install DomPDF and Html doc and PrinceXML doesnt work

and the second case with Extension:ElectronPdfService

gives me the link print PDF but when i click on , told me that the service doesnt find the page