Hi guys,
At first sorry if this is considered cross-posting: I was wrong in put my question in the general Drupal forum and not here, so maybe it had not the right visibility...

Here I re-post what was there, and this is gonna make me mad becouse I get the error in every Drupal installation I do, no matter if it's on Windows or on Linux and if it's a "clean" installation (only Drupal and after soon PDFView) or with other modules

At the beginning I had a problem with "html2fpdf", 'cause in the README there's no mention about use of this component and you get a little mad going by forums to discover that you just need it in orerder for PDFView to work: please, authors, solve this lack of informations on the README

Then when the "html2fpdf" was installed, I started get this error (as I said in every installation of Drupal 4.6.5 I do:

warning: array_merge() [function.array-merge]: Argument #1 is not an array in F:\WebSites\drupal\includes\menu.inc on line 351.
warning: Missing argument 1 for pdfview_page() in F:\WebSites\drupal\modules\pdfview\pdfview.module on line 103.
warning: Cannot modify header information - headers already sent by (output started at F:\WebSites\drupal\includes\common.inc:384) in F:\WebSites\drupal\modules\pdfview\pdfview.module on line 91.
warning: Cannot modify header information - headers already sent by (output started at F:\WebSites\drupal\includes\common.inc:384) in F:\WebSites\drupal\modules\pdfview\pdfview.module on line 92.
warning: Cannot modify header information - headers already sent by (output started at F:\WebSites\drupal\includes\common.inc:384) in F:\WebSites\drupal\modules\pdfview\html2fpdf\fpdf.php on line 1676.
FPDF error: Some data has already been output to browser, can't send PDF file

Any idea of what it can be?
Thanks...

Comments

ivanhalen’s picture

Ok, I answer myself, and I can't believe that NO ONE has installed Drupal + Pdfview on PHP5
Because the problem is there: PHP5
The most ridiculous thing is that I found the solution on Astbill wiki (Astbill is a Drupal-based billing system for the VoIP software Asterisk), not on this site, that should be "official": so please, Pdfview developers, wake up from your sleep even if it's winter and put this workaround in the README file, or Pdview will not work on PHP5...

http://wiki.astbill.com/wiki/AstBill_and_PHP5

Egon Bianchet’s picture

Status: Active » Closed (won't fix)

The 4.7 version works with PHP5, but I won't fix the 4.6