-
-
August 16, 2020 at 10:26 pm #6209GDevi1903Participant
Hi, after putting in place the OSTicket Awesome web files i can now no longer get my logo in printed PDF.
It worked before putting OSTicket Awesome in place on the default OSTicket files.
I tried uploading the image under theme settings – logo options – Customer Print Logo. After uploading it there is appears in that menu as per the attached screenshot.
But when i print pdf there is just a box with red cross.
-
August 17, 2020 at 1:17 pm #6213stevlandKeymaster
Hi @Devi1903,
A few months ago two other users have reported the same issue. But unfortunately I have not been able to reproduce the issue, and therefore I can’t figure out how to fix it.
The custom logo displays properly in PDF files on all of the installations that I have looked at. And I haven’t heard any other reports of this since May. So I think the issue must be related to something specific regarding the environment that you guys are running in.
Is your server running Ubuntu?
-
August 18, 2020 at 2:52 am #6218GDevi1903Participant
Thanks, yes i believe it is something to do with mPDF or mbstring extension. I remember having a similar issue when upgrading to 1.12 previously. For now i have copied in my ticket-print.tmpl.php file from the base version of OSTicket 1.14 and its working 100%.
When i have some time i will play around with this file and see where the issue might be coming in.
-
August 18, 2020 at 5:40 am #6220GDevi1903Participant
Please note i am running Cent OS on the server
-
-
August 21, 2020 at 12:02 pm #6258FcomputerglobeParticipant
I have the same issue
-
August 25, 2020 at 8:33 am #6264stevlandKeymaster
Hi @computerglobe,
This issue only seems to occur for a few users. I haven’t been able to reproduce it and I can’t think of how to fix it.
If you would be willing to let me access your installation, that would be extremely helpful.
If so, please submit this form with as much detail as possible.
-
September 12, 2020 at 1:28 pm #6639stevlandKeymaster
Hey guys, I still haven’t forgotten about this.
Here is something that I thought of.
If you installation directory has the wrong ownership, your osTicket / osTicket Awesome will still mostly work, but it can create unexpected issues like this one. Therefore, you should make sure that your installation folder has the correct owner.
For example, I accidentally uploaded my new osTicket Awesome installation as the root user:
The support directory should be owned by the same user and group that my main website runs under. In my case the user should be rede and the group should be psacln.
To fix the ownership I simply ran this:
# chown -R rede:psacln support
Please let me know if this helps or not.
-
October 6, 2020 at 3:55 pm #6958GDevi1903Participant
I am still having this issue. For now i have just replaced the php code for the logo with the default for OSTicket so that it just uses fpdf/print-logo.png for the logo and that works 100%.
So my guess is it has something to do with something in /osta/php/functions.php that does not agree with my setup. Something around the use of the custom logo.
-
You must be logged in to reply to this topic.