Cody
-
Posts
1,574 -
Joined
-
Last visited
-
Days Won
74
Posts posted by Cody
-
-
-
-
Sounds like you should just create a plugin to compliment the module. That's what we did with our license management system.
Modules are only intended for service management. Plugins are for everything else.
-
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.
-
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.
-
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.
-
-
I would also suggest enabling error reporting. There's likely an "invalid index" or similar error occurring and Blesta can't pass that along through the API because error reporting (looks like) is disabled.
-
-
Why are you upgrading to 3.1.0 when 3.2.0 is out?
-
I didn't say I was unable, I said we don't have a SSL cert.
Use a self-signed cert if you don't want to purchase one. If you're not connecting to the API over a trusted local area network (i.e. http://localhost/api/) then you should absolutely use https. Self-signed certs should be no problem to create and use.
-
-
Not sure what you mean. Double-clicking on the day pops open the modal with that day prefilled.
-
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.- Michael, PauloV, pcfacility and 2 others
- 5
-
Version 3.1.4 is now available. You can download it in the Client Area.
This is a patch release that corrects issues with 3.1.0.
Patching Blesta
See Patching Blesta in the User Manual for instructions.Release Notes
See Blesta Core - Version 3.1.4.See all Change Logs.
-
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?
-
-
-
/app/controllers/client_logout.php.
You can set the URI for redirect in there.
-
-
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.
-
-
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.
- Blesta Addons and Michael
- 2
-
Also ensure that the currency is selected for any order forms you use.
[Order Forms] Cloud - Release 1.0.0
in The Marketplace
Posted
These are sweet.