Jump to content

Cody

Blesta Developers
  • Posts

    1,574
  • Joined

  • Last visited

  • Days Won

    74

Posts posted by Cody

  1. Ok.... now I was able to add a client successfully; but now I wanted to test out errors... I get this back:

    BlestaResponse Object
    (
        [raw:BlestaResponse:private] => {"message":"The request cannot be fulfilled due to bad syntax.","errors":{"username":{"unique":"That username has already been taken."}},"response":null}
        [response_code:BlestaResponse:private] => 400
    )

    How can I test/check these parameters if they are private?

     

     

    See the docs on using the API SDK.

    $response = $api->post("support_manager.support_manager_tickets", "close", array('ticket_id' => 1));
    
    print_r($response->response());
    print_r($response->errors());
    

    You get the response from the response() method. Errors from the errors() method.

  2. I have Blesta 3.2 running on php-fpm and whe I want vo view an invoice I get this

    ERROR 500 - Internal Server Error!

     

    The logs say:

     

    FastCGI: comm with server "/var/www/xxxx/xxxx/xxxxx/cgi-bin/php5-fcgi-xxxxxxxxxx" aborted: error parsing headers: duplicate header 'Content-Type'

     

     

    My guess is you have some configuration setting on your webserver to set a default content-type header for each request. It probably does this for resources without recognizable extensions that it can translate to mimetypes. If you analyzed the headers I bet you see something like:

     

    content-type: "text/html"

    ...

    Content-Type: "application/pdf"

     

    The first header being sent by your webserver, and the second being sent by TCPDF when it pushes the file out.

  3. Its a knowing problem by php-fpm/fcgi and TCPDF, and they dont provide solutions yet: http://www.fastcgi.com/archives/fastcgi-developers/2008-September/000048.html

     

    Also blesta DEV's can read this to see the problem

     

    The solution is for Blesta change the code for opening the PDF in a new window and not openning in the same window where the bçesta default header is called, because fcgi detect two headers, the header from blesta and after that the header from TCPDF and cause the error.

     

    Blesta doesn't output headers for invoice downloads. All invoice templates must implement the InvoiceTemplate interface and send all headers themselves. This is how the default and quickbooks invoice templates that ship with Blesta work (they use TCPDF::Output() with 'D' parameter to force download).

     

    I've also analyzed the headers and only one "Content-Type" header is sent.

     

    post-2-0-20061200-1400607443_thumb.png

  4. Likely just a bug with the progress display. Latest versions are displayed under "Available" for each section (Modules/Gateways/Plugins). If you don't see an upgrade button then there is nothing to upgrade.

  5. Version 3.2.0 is now available. You can download it in the Client Area.

    Installing Blesta

    See Installing Blesta in the User Manual for instructions.

    Upgrading Blesta

    See Upgrading Blesta in the User Manual for instructions.

    Migrating to Blesta

    See Migrating to Blesta in the User Manual for instructions.

    Overview

    • Responsive Client bootstrap interface
    • Improved markdown parser
    • Clients can now order addons for existing services
    • Ability to import/export themes
    • Modules:
      • Added BuycPanel
    • Gateways:
      • Added PagSeguro
      • Added PayJunction
      • Added Skrill
    • Plugins:
      • Added Client Documents
      • Update Order plugin to include new order forms templates
      • Updated Support Manager to include ability to split/merge and auto close tickets

    PHP 5.5 Users

    Included in this release is a /hotfix-php5.5/ directory. Please use this directory to overwrite the default /blesta/app/app_controller.php, /blesta/app/app_model.php, and /blesta/app/models/license.php files.

    Release Notes
     
    See Blesta Core - Version 3.2.0-b1.
    See Blesta Core - Version 3.2.0-b2.
    See Blesta Core - Version 3.2.0-b3.
    See Blesta Core - Version 3.2.0.

    For older releases see all Change Logs.

  6. The issue appears to be with line 290 in /plugins/support_manager/components/ticket_manager/ticket_manager.php.

    if ($this->SupportManagerTickets->checkLoopBack($email, $this->max_reply_limit, $this->reply_period)) {
    

    Should be:

    if ($this->SupportManagerTickets->checkLoopBack($address, $this->max_reply_limit, $this->reply_period)) {
    

    Does making that change resolve the issue for you?

  7. It sounds like an error message was attempted to be displayed but was in an incorrect format for message.pdt.

    Clear you browser cookie for your Blesta installation and the issue will go away.

    I would like to know steps to replicate the issue. If you can duplicate please report as a bug.

  8. Obviously we don't think the overview tab is useless, or we wouldn't have spent time creating it. It does serve an important purpose.

    That said, maybe allowing the module to display some overview info under the service overview section would make sense.

    From a UX perspective, consistency is super important, so I'm very hesitant to allow modules to override the service overview.

×
×
  • Create New...