I updated from 5.x-4.5 to 5.x4.7. Now the printer-friendly page gets White Page of Death. I go back to 5.x-4.5 and everything works fine.

Any help would be appreciated.

Comments

jcnventura’s picture

Status: Active » Postponed (maintainer needs more info)

What version of Drupal are you using?

If it is 6.10 or lower, then this is a duplicate of #461762: undefined function drupal_final_markup - print 6.x.-1.7 requires Drupal >= 6.11 / print 5.x.-4.7 requires Drupal >= 5.17.

If not, then I need more info, but I am 99.9% sure it will be the above, so I won't ask for them at the moment.

madflute’s picture

Sorry about that.
This is 5.18, not D6. So I didn't think the above thread was relevant to my issue.

jcnventura’s picture

I hadn't paid enough attention to the version that you specified.. That problem also applies to Drupal <= 5.17, but that's not your case..

The problem is I have no idea what your case is then.. Are you sure that you're really using 5.18?

madflute’s picture

Status report confirms it is in fact 5.18.

jcnventura’s picture

Can you do a test for me?

In the print_controller_html() function in the print.pages.inc file, remove or comment the following line:

$html = drupal_final_markup($html);
madflute’s picture

Hello,
>_<

In order to test per your request, I reinstalled 5.x-4.7. Now it works just fine. I have no idea what was going on. I am all set now. Thank you so much for your time.

P.S. When it goes like this, should I close the ticket by myself?

jcnventura’s picture

Status: Postponed (maintainer needs more info) » Closed (fixed)

I am glad to know the problem was solved.

And yes, you can close the issues yourself.