Search the Community
Showing results for tags 'solved'.
-
public function add() { $ticket_data = [ 'vars' => [ 'department_id' => 1, 'staff_id' => 1, // This field is optional 'service_id' => null, // This field is optional 'client_id' => 1, // This field is optional 'email' => null, // This field is optional 'summary' => 'Something is terribly wrong', 'priority' => 'emergency', 'status' => 'awaiting_reply' ] ]; $response = $this->post("support_manager.support_manager_tickets", "add", $ticket_data); if ($response->errors() !== false) { if ($response->errors() !== false) { // There were errors attempting that action return($response->errors()); } elseif (($result = $response->response())) { // The response was successful and returned data return($result); } else { // Something else happened echo "Response code: " . $response->responseCode(); var_dump($response->raw()); } } elseif (($result = $response->response())) { // The response was successful and returned data return $result; } else { // Something else happened echo "Response code: " . $response->responseCode(); var_dump($response->raw()); } } this is working , got response with ticket id , but tickets not available on control panel . i'm missing something ?
-
First time try to install blesta and looking really bad.... Linux admin for 15 years.. What should i do, i've try both GUI and CLi install, neither works.. ? System is Proxmox VM with Ubuntu 18.04 LTS which has PHP 7.2 ---------------------------------------- Blesta CLI Installer ---------------------------------------- Please acknowledge your agreement to the terms and conditions as explained at http://www.blesta.com/license/ Do you agree? (Y/N): Y Performing system requirements check... The following recommended requirements failed: ext-mcrypt: The mcrypt extension is recommended for better performance. Do you wish to continue anyway? (Y): Y You will now be asked to enter your database credentials. Database host (default localhost): Database name: c432***** Database user: c432*** Database password: *********** Attempting to verify database credentials... PHP Fatal error: The file /var/www/clients/client432/web624/web/app/models/license.php was encoded by the ionCube Encoder for PHP 5.4 and cannot run under PHP 7.1 or later. Please ask the provider of the script to provide a version encoded with the ionCube Encoder for PHP 7.1. in Unknown on line 0 root@web4:~#