Jump to content

ViroManchego

Members
  • Content Count

    13
  • Joined

  • Last visited

About ViroManchego

  • Rank
    Member

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. php 7.4 [2021-04-03T08:09:41.146815+00:00] general.NOTICE: E_DEPRECATED: implode(): Passing glue string after array is deprecated. Swap the parameters {"code":8192,"message":"implode(): Passing glue string after array is deprecated. Swap the parameters","file":"N:\\a\\htdocs\\blesta\\plugins\\feed_reader\\vendors\\simplepie\\library\\SimplePie\\Parse\\Date.php","line":545}
  2. Installed default blesta on a folder (/blesta) , log directory is placed on root by default (/logs_blesta) not taking into account install directory , by default should be (/blesta/logs_blesta )
  3. this code on a plugin event public function preAction($event) { Loader::loadModels($this, array("Clients","Companies","ApiKeys","Users")); // $client = $this->Clients->getByUserId(2, true); $post = [ 'company_id'=>1, 'user'=>rand(), 'notes'=>'' ]; $userKey = $this->ApiKeys->add($post); if (($errors = $this->ApiKeys->errors())) { d($errors); } d( $this->ApiKeys->lastInsertId()); } on refreshing /admin/settin
  4. Apache Version Apache/2.4.39 (Win64) OpenSSL/1.1.1c PHP/7.4.16 general.NOTICE: E_DEPRECATED: Array and string offset access syntax with curly braces is deprecated {"code":8192,"message":"Array and string offset access syntax with curly braces is deprecated","file":"N:\\a\\htdocs\\blesta\\vendors\\blesta\\h2o\\h2o\\filters.php","line":70}
  5. Can we have a postAction Event ?
  6. to reproduce Configure::errorReporting(0); // Override minPHP's debugging setting. true to enable debugging, false to disable it Configure::set('System.debug', true); PluginClass .... public function getEvents() { return [ [ 'event' => 'Appcontroller.structure', 'callback' => ['this', 'run'] ] ] } public function run($event) { $params = $event->getParams(); $return = $event->getReturnValue(); call not available function ... }
  7. Hy. Any update on this feature ? I'm intrested too
  8. // Authorize the API user $authorized = $this->authenticate(); // Ensure that the request is formatted correctly if (isset($this->get[0]) && isset($this->get[1])) { $this->model = ''; $fields = explode('.', $this->get[0]);execute ... ....... 3. // Only proceed if authorized if (!$authorized) { $this->response(self::UNAUTHORIZED); } should process request only if authorized // Authorize the API user $authorized = $this->authenticate();
  9. replys are required in order to appear on admin interface ?
  10. 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' ] ]; $res
  11. Got it working comparing my setup with blesta demo .
  12. Hi . I'm new here and trying to acommodate Blesta , not being able to make it work folowing blesta docs Is there any blesta tutorial not related to hosting but "digital" product where to setup product,packages , forms.. from start to finish ?
×
×
  • Create New...