Closed (fixed)
Project:
Printer, email and PDF versions
Version:
6.x-1.17
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
11 Jun 2012 at 07:18 UTC
Updated:
25 Jun 2012 at 23:11 UTC
Upgraded 6.x-1.14 to 6.x-1.17.
On the print pages - the site logo does not appear.
I see that the image path is prefixed with the double slash - e.g. //
The problem I beleive is in the print.pages.inc line 227 where base path is replaced with slash.
And the nexl line - is theme('image'... - which adds one more slash to the image path.
So I replaced the line 227:
$logo_url = preg_replace('!^'. base_path() .'!', '/', $logo_url); $site_name = variable_get('site_name', 'Drupal');
with the line:
$logo_url = preg_replace('!^'. base_path() .'!', '', $logo_url); $site_name = variable_get('site_name', 'Drupal');
Everything seams to be working now...
Comments
Comment #1
jcnventuraEven though it's not a patch, but I think you may have the fix for this and for #1599630: TCPDF ERROR: [Image] Unable to get image on logo
Comment #2
jcnventuraThanks for the patch!
http://drupalcode.org/project/print.git/commit/efef079