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

Adding reply/response to ticket programmatically


What's the good way to initialize the osTicket app from another script? I trying to add replies to tickets programmatically (not API) and get this error:

PHP Fatal error:  Call to a member function getConfig() on a non-object in .../include/class.auth.php on line 798

I use $ticket->postReply($my_vars); with this vars:

               $my_vars = array(
   'signature'=>'dept',    'response'=>'<p>text message...</p>' )


Sign In or Register to comment.