Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion

osTicket v1.10 (stable) and Maintenance Release v1.9.15 are now available! Go get it now

Ajax form assign ticket doesnt work because of failed template info

I've just started using osTicket, and my current install has a problem with the ajax field for claiming and reassigning tickets.
See the image, the ajax field is empty.

I started digging into the problem, and seem to have the same issue as someone on github.
Some server info in the attached screenshots.
Server Information
osTicket Versionv1.10 (901e5ea) —  Up to date
Web Server SoftwareApache/2.4.18 (Ubuntu)
MySQL Version5.7.19
PHP Version7.0.22-0ubuntu0.16.04.1

Similar question has been posted on:
Which has a dirty fix, see screenshot.

This (dirty) fixes the issue, but i am still wondering what i might have missed or how to properly correct the issue.



  • Php error log:

    [Wed Sep 06 17:07:32.028509 2017] [:error] [pid 1564] [client] FastCGI: server "/usr/lib/cgi-bin/php7-fcgi" stderr: PHP message: PHP Fatal error:  Uncaught Exception: TransferForm: Unknown template style  in /var/www/, referer:
    [Wed Sep 06 17:07:32.028575 2017] [:error] [pid 1564] [client] FastCGI: server "/usr/lib/cgi-bin/php7-fcgi" stderr: Stack trace:, referer:
    [Wed Sep 06 17:07:32.028580 2017] [:error] [pid 1564] [client] FastCGI: server "/usr/lib/cgi-bin/php7-fcgi" stderr: #0 /var/www/ TransferForm->render(Array), referer:
    [Wed Sep 06 17:07:32.028583 2017] [:error] [pid 1564] [client] FastCGI: server "/usr/lib/cgi-bin/php7-fcgi" stderr: #1 /var/www/ include('/var/www/servic...'), referer:
    [Wed Sep 06 17:07:32.028599 2017] [:error] [pid 1564] [client] FastCGI: server "/usr/lib/cgi-bin/php7-fcgi" stderr: #2 /var/www/ TicketsAjaxAPI->transfer('28'), referer:
    [Wed Sep 06 17:07:32.028601 2017] [:error] [pid 1564] [client] FastCGI: server "/usr/lib/cgi-bin/php7-fcgi" stderr: #3 /var/www/ UrlMatcher->dispatch('28/transfer', Array), referer:
    [Wed Sep 06 17:07:32.028604 2017] [:error] [pid 1564] [client] FastCGI: server "/usr/lib/cgi-bin/php7-fcgi" stderr: #4 /var/www/ Dispatcher->resolve('28/transfer', Array), referer:
    [Wed Sep 06 17:07:32.028606 2017] [:error] [pid 1564] [client] FastCGI: server "/usr/lib/cgi-bin/php7-fcgi" stderr: #5 /var/www/ UrlMatcher->dispatch('/tickets/28/tra...', NULL), referer:
    [Wed Sep 06 17:07:32.028609 2017] [:error] [pid 1564] [client] FastCGI: server "/usr/lib/cgi-bin/php7-fcgi" stderr: #6 /var/www/ Dispatcher->resolve('/tickets/28/tra...'), referer:
    [Wed Sep 06 17:07:32.028611 2017] [:error] [pid 1564] [client] FastCGI: server "/usr/lib/cgi-bin/php7-fcgi" stderr: #7 {main}, referer:
    [Wed Sep 06 17:07:32.028613 2017] [:error] [pid 1564] [client] FastCGI: server "/usr/lib/cgi-bin/php7-fcgi" stderr:   thrown in /var/www/ on line 4252, referer:

  • edited September 2017
    I would avoid PHP 7.x and mySQL 5.7 at the moment.
    I think PHP 5.6 and mySQL 5.5.x or 5.6.x is a good choice.. 
  • I have similar issues and had to give up. The catch is modern distros aren't exactly offering PHP 5 anymore.

    In the case of Debian and Ubuntu, you'd likely have to compile yourself.
  • Kind of solved;

    I am now able to run osTicket on php7 (see specs above). Adjustments needed:
    You will come across warnings as described on:

    That fix introduces the problem that i described above, you can fix that with:

    Another problem was that all field are disabled for most forms. There are a couple of topics on that. Goto admin panel, manage, forms, built-in forms, change visibility by clikcing on the "config" button
Sign In or Register to comment.