Simple patch attached which appears to solve the problem without adversely affecting other operations

CommentFileSizeAuthor
#1 print_pdf_d7.diff865 bytessingularo
print_pdf_d7.diff527 bytessingularo

Comments

singularo’s picture

StatusFileSize
new865 bytes

Hmm, there was an error thats related sort of:

Warning: preg_match() expects parameter 2 to be string, array given in _print_generate_path() (line 597 of /projects/iseek/motorola/sites/all/modules/contrib/print/print.pages.inc).

drupal_get_http_header returns an array if no header item is specified, not a string.

However, when debugging this, the headers are not actually set to any value at all, but the body has MENU_NOT_FOUND set, which is the next thing in the code, and handles the issue.

So i've updated the patch to just remove that code, and set the changed variable which was missing in the dummy node and caused a token error.

shelleyp’s picture

Just wanted to check before I filed another bug--this has to do with the fact that when I click the next page link and the next page opens, the header information isn't sent, and all I get is the body...correct?

jcnventura’s picture

Status: Active » Needs review
jcnventura’s picture

Status: Needs review » Fixed

Already committed some months ago.. Thanks singularo!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.