[In Progress] from 1.18.2 to 1.18.3, the logo is missing in the ticket print / PDF view

    • January 30, 2026 at 4:28 am #24639
      A
      astaadmin
      Participant

      osTicket v1.18.3 // osTicket-1.18.3-Awesome-102
      PHP 8.2.30 // MySQL 10.11.14 // Apache web server

      Hello,

      after upgrading osTicket from 1.18.2 to 1.18.3, the logo is missing in the ticket print / PDF view when using osTicket Awesome.

      What I tested
      Replaced ticket-print.tmpl.php with the original osTicket 1.18.3 core version → logo works
      Re-applied with new installation and my configs  osTicket Awesome → logo broken again
      File permissions and paths are correct

      Comparison
      1.18.2 + osTicket Awesome → OK
      1.18.3 + osTicket Awesome → FAIL
      1.18.3 + core print template → OK
      This points to an incompatibility in the Awesome print template with osTicket 1.18.3.

      Please investigate and update the print template accordingly. 
      Upload working finde but logo print with an X 

      The issue can fixed by switching to the osTicket core mechanism and embedding the logo via cid: while handling positioning and sizing purely with CSS, making the PDF rendering reliable. But please investigate 

    • January 30, 2026 at 4:31 am #24651
      A
      astaadmin
      Participant

      Hello,

      after upgrading osTicket from 1.18.2 to 1.18.3, the logo is missing in the ticket print / PDF view when using osTicket Awesome.

      What I tested
      Replaced ticket-print.tmpl.php with the original osTicket 1.18.3 core version → logo works
      Re-applied osTicket Awesome → logo broken again
      File permissions and paths are correct

      Comparison
      1.18.2 + osTicket Awesome → OK
      1.18.3 + osTicket Awesome → FAIL
      1.18.3 + core print template → OK
      This points to an incompatibility in the Awesome print template with osTicket 1.18.3.

      Please investigate and update the print template accordingly.

      Best regards

    • January 30, 2026 at 5:06 am #24659
      A
      astaadmin
      Participant

      Additional information

      I also noticed that avatars are not rendered correctly in the ticket print / PDF view.
      Instead of the avatar image, only an “X” placeholder is shown.

      This issue only occurs with osTicket 1.18.3 + osTicket Awesome.
      Using the core 1.18.3 print template, avatars are printed correctly.

      This further supports that the Awesome print template is not fully compatible with osTicket 1.18.3.

      • February 2, 2026 at 1:34 am #24715
        stevland
        Keymaster

        Hi astaadmin,

        Thank you for your detailed reports. But I tested osTicket 1.18.3 with osTicket Awesome and cannot reproduce either issue:

        Logo: Displays correctly in PDF print. The pdf_logo() function is already present in osTicket-1.18.3-Awesome-102 (line 172-173 in include/staff/templates/ticket-print.tmpl.php). Please verify your file contains:

        require_once $_SERVER['DOCUMENT_ROOT'] . ROOT_PATH . "/osta/php/functions.php";
        $custom_logo = pdf_logo(get_config());

        If not, please re-extract from the release zip.

        Avatars: Avatars are not rendered in PDF print by design (in both vanilla osTicket and osTicket Awesome). I cannot reproduce the “X placeholder” issue. Could you provide a sample PDF showing this, and confirm whether you have any
        custom modifications?

    • February 2, 2026 at 3:10 am #24723
      A
      astaadmin
      Participant

      Additional testing: 
      I can reproduce the missing logo in PDF issue on our side, regardless of whether a custom logo is enabled or not. Neither the custom logo nor the default osTicket logo is rendered in the PDF.

      Tested with a clean installation:

      uploaded the release ZIP
      extracted it
      applied permissions
      copied only include/ost-config.php
      (no other changes)
      The issue occurs with osTicket 1.18.3.
      Running the exact same steps with 1.18.2 on the same server (same permissions, same config) works fine and the logo is shown.

      This looks like a regression in 1.18.3.

      Please let me know where I should upload a sample PDF.

      Environment details:

      PHP: 8.2.30 testet also with 8.3, 8.4
      Extensions: gd, mbstring (no imagick)
      PDF engine: no mPDF detected (class_exists returns false)
      osTicket: 1.18.3
      Install type: clean install, only ost-config.php copied

      Same setup with osTicket 1.18.2 works fine (logo rendered in PDF).
      Issue appears only with 1.18.3.

      Best regards

You must be logged in to reply to this topic.