Jump to content

Tyson

Blesta Developers
  • Content Count

    3,580
  • Joined

  • Last visited

  • Days Won

    226

Tyson last won the day on January 11

Tyson had the most liked content!

1 Follower

About Tyson

  • Rank
    Staff

Profile Information

  • Gender
    Male
  • Location
    Anaheim, CA

Recent Profile Visitors

3,093 profile views
  1. $(this).blestaRequest( 'POST', '/uri/path/to/post/to/', $('#my-form').serialize(), function (data) { // Do something on success }, function (data) { // Do something on error }, { dataType: 'json' } );
  2. Did you follow the documentation when creating your gateway?
  3. Are you saying that calling the read() method returns null, or $this->Session is null? Because it looks like $this->Session is null because it's not loaded anywhere. Your Plugin class is not a controller, so it does not inherit the Session object from AppController. Loader::loadComponents($this, ['Session']); $this->Session->read('blesta_client_id'); Depending on what you're trying to do, you may want to also consider the fact that staff can log in as a client, so it may not really be the client that's logged in.
  4. The error states that the memory size of 33554432 bytes was exceeded, and that's only 32 MB. You may want to double-check your php.ini file for both web and CLI since the system does not appear to have the 1024 MB limit you said it should have. While 32 MB may work for some, the Blesta requirements recommend at least 128 MB. The invoice delivery cron task is failing in your example, which means it is probably using more than 32 MB of memory to generate the invoice PDFs and send them via email. You can try running the following to see the memory limit at run-time in CLI: php -r "echo ini_get('memory_limit') . PHP_EOL;"
  5. Something like that is usually caused by the server actually being down temporarily, or perhaps a client-side computer/browser issue. Try using a different web browser and see if you continue to get the same error. You should also try from a separate computer. You can also check your Blesta error logs to see if anything more specific caused an error at the time you got the error in your browser. If there is an error, it would be useful to know what it is in order to debug the problem.
  6. The current system design doesn't allow for all tags to be listed or explained in detail. It's highly recommended to review the documentation on each tag before use.
  7. Blesta is trying to send an email but fails to do so because some tag in the email template is not being used correctly. Double-check your "Service Creation" email template and how you are using the tags. If email is sent successfully for other services, then the problematic tag is probably in the package's Welcome Email section instead (which is imported into the "Service Creation" email template as the tag "{package.email_html}"/"{package.email_text}"), so edit that service's package and take a look at the Welcome Email template for both text and HTML. Some tags cannot be displayed as written because they are not strings, and instead need to be iterated over. You should take a look at the package module's documentation for what tags are available and how to use them. For example, when using the cPanel module, there is a tag "{module.name_servers}". That tag cannot be displayed as a string since its data is an array of multiple nameservers. If you attempt to display it as written, you will receive the error that you encountered. In this example, you would use a "for" statement in the email template to loop over the nameservers as mentioned in the cPanel documentation: {% for name_server in module.name_servers %} Name server: {name_server}{% endfor %}
  8. Tyson

    GOCARDLESS

    GoCardless is integrated as a non-merchant gateway, so no payment details are stored in Blesta, therefore Blesta cannot perform recurring billing for the client using that gateway. However, when a customer purchases something and uses GoCardless, they have the option of choosing a payment subscription if you have the gateway configured to allow for it. Should they choose the subscription method, GoCardless will charge them on a recurring basis on that particular service's recurring interval only.
  9. The order system and domain modules provide domain checking and registration. There is no OnlineNIC module for Blesta as far as I'm aware. There is a Stripe gateway, but not a Payfast gateway that I'm aware of. Here's a list of the other integrated modules and gateways.
  10. I believe configuring the port is being added in the next release.
  11. OpenSSL is a minimum requirement of Blesta, so if you are not running it you wouldn't be able to complete installation. Blesta already supports both OpenSSL and mcrypt via phpseclib.
  12. That's available on translate.blesta.com now. Any definitions you translate are packaged once a day and then made available for download.
  13. You can click on each table row to view the output data for those tasks.
  14. We can consider updating character lengths for some database columns, but I'm not sure I understand the example of fields like "dotfrcontactentitybirthplacecountrycode", which can currently be saved in an abbreviated form and mapped by the module to whatever appropriate field name they require for any API requests.
  15. Tyson

    Client Portal page

    Nothing obvious pops out to me with your portal HTML source. You can try resetting the portal HTML source back to what it was originally to see if that fixes it, or you can take a look at the php error logs to see if there is an error preventing the page from loading properly, then resolve that error.
×
×
  • Create New...