[Resolved] HTML code shows at the bottom of ticket-page (where paging is located)

    • April 10, 2020 at 6:09 am #5570
      R
      Code54
      Participant

      Hi support,

       

      At the bottom of out tickets-page, there is some HTML code that is shown in the page itself. It’s at the place where paging is located.<br />
      It looks like this:

      This code doesn’t show-up when we click at the logo (UR: https://support.code54.nl/scp/), but is always shown when we we go to another page, or another queue. So, when there are parameters in the URL (like ../scp/tickets.php?Array&p=2). It even happens when the URL is /scp/tickets.php without parameters, but not when you just visit /scp/

      It happens in multiple browsers, multiple pc’s and with both the external URL (https://support.code54.nl/scp/tickets.php?queue=1) and internal URL (http://nasa.code54.lan/osticket/upload/scp/tickets.php?Array&p=2)

      Do you have any idea? I am pretty sure that we didn’t update or change anything. Could it be the content of some ticket? Even when go to a page we just 1 ticket, it happens.

      One other detail: also the trash-icon is smaller when it happens. It’s normal when the HTML code isn’t listed.<br />
      Like this:

      Theme information:

      osTicket v1.14.1 // osTicket-1.14.1-Awesome-102<br />
      PHP 5.6.40 // MySQL 10.3.11 // Apache/2.2.34 (Unix) mod_fastcgi/mod_fastcgi-SNAP-0910052141 web server

      Thanks for your help.<br />
      Robert

    • April 10, 2020 at 11:10 am #5571
      R
      Code54
      Participant

      Extra note:

      Tested it in the original version (upload directory renamed to /upload_original and copied ost-config.php) and it works as expected in that version.

    • April 10, 2020 at 11:48 am #5572
      R
      Code54
      Participant

      I did some more testing and found that the problem only happens with this nice plugin enabled: https://github.com/clonemeagain/attachment_preview

      So, I wanted to report a bug at the plugin, but it has to be said that the plugin works well in the standard osTicket (I tested it). Somehow there is a conflict with osTicketAwesome. When I disable the plugin, the problem is gone. 

      Could you please have a look at this? The plugin is awesome too. It prevents you from downloading PDF’s, images and even audio-files (voicemails). It’s really nice and would be a shame if we have to choose between two awesome components.

       

    • April 12, 2020 at 5:45 am #5573
      R
      Code54
      Participant

      I was able to fix the plugin myself and add a pull-request to the GitHub project.<br />
      If anyone has the same problem, you can download the file I modified from https://github.com/clonemeagain/attachment_preview/issues/44

      Still not sure why this was a problem with osTicketAwesome only, and not with standard osTicket.

You must be logged in to reply to this topic.

Topic Tags