Notifications
Clear all
6 Forums 829 Topics 3,280 Posts 8 Online 3,047 Members

Resolved Code on Footer

9 Posts
5 Users
0 Reactions
182 Views
Posts: 9
Topic starter
(@it-team)
Member
Joined: 7 years ago

Hi there,

osTicket v1.12 // osTicket-1.12-Awesome-105<br />
PHP 7.3.1 // MySQL 5.5.32 // Microsoft-IIS/7.5 web server

just switched to ostA. after implementation, it really often happens, that when clicking "open tickets", my bootom becomes this:

 

 

 

 

The Top bar also gets messed up (recycle bin:

 

Any helüp is appreciated!

 

Leo


8 Replies
Posts: 31
(@techcare)
Member
Joined: 7 years ago

Have you tried using incognito mode in Chrome or similar in other web browsers? I'm presuming that you have cleared your cache? Don't have any cache plugins running whether locally on server or via something like CloudFlare?

Any PHP errors?

If you use Chrome (other browsers have it as well) click on 3 dots, more tools, development tools. Then check out the console for any error messages.


Reply
Posts: 1185
Admin
(@stevland)
Member
Joined: 10 years ago

Hi @IT-Team,

The issue you're seeing is the result of an incompatibility between osTicket Awesome and the attachment_preview plugin.

It has been discussed here, here and here.

Unfortunately, the only way to resolve this is to disable the plugin.


Reply
Posts: 9
Topic starter
(@it-team)
Member
Joined: 7 years ago

Hi stev,

found your posts yesterday and used the workaround to use the preview in ticket-view only.

seems to do the trick so far. thanks for support!


Reply
Posts: 1185
Admin
(@stevland)
Member
Joined: 10 years ago

😀


Reply
Posts: 1
(@procomtech)
Member
Joined: 7 years ago

Hi IT-Team can you please let me know how to solve it? I have the same issue


Reply
Posts: 9
Topic starter
(@it-team)
Member
Joined: 7 years ago

hi,

 

u can "fix" it by just allowing the preview in ticketview and not in the "overview" screen

https://github.com/clonemeagain/attachment_preview/issues/42#issuecomment-521273949

just edit your code as described there . you wont miss it in any other view and it doesnt cause problems in the ticket-view screen


Reply
Posts: 1185
Admin
(@stevland)
Member
Joined: 10 years ago

Thank your for sharing your workaround, @visimitra!


Reply
Posts: 43
(@visimitra)
Member
Joined: 8 years ago

update in osticket 1.12.3 102:

revise line 1061:
elseif (strpos($url, 'index.php') !== FALSE || strpos($url, 'tickets.php') !== FALSE || strpos($url, 'tasks.php') !== FALSE) { if ($_REQUEST['id'] && ($ticket=Ticket::lookup($_REQUEST['id']))) $tickets_view = TRUE; elseif ($_REQUEST['id'] && ($task=Task::lookup($_REQUEST['id']))) $tickets_view = TRUE; elseif ($_REQUEST['number'] && $ticket=Ticket::lookup(array('number' => $_REQUEST['number']))) $tickets_view = TRUE; } #elseif (strpos($url, 'index.php') !== FALSE || # strpos($url, 'tickets.php') !== FALSE) { // Might be a ticket page.. # $tickets_view = TRUE; #}


Reply
Share: