Jump to content

All Activity

This stream auto-updates     

  1. Past hour
  2. Hi all, I have many lines of the same error in log files: [2020-01-11 15:40:04] general.ALERT: Fatal Error (E_ERROR): Call to a member function read() on null {"code":1,"message":"Call to a member function read() on null","file":"/home/gohosting/domains/gohosting.cc/public_html/billmgr/app/app_controller.php","line":0,"trace":null} Issues: 1. DirectAdmin module is installed and server configured but it's not showing any module logs. 2. A client can register, login and order, and receive email confirmation that the service is activated. 3. No client is shown in DirectAdmin. 4. The client does not receive email about server or control panel access Other info which may help: This is new installation. Packages are configured and also the order forms. Blesta version 4.7.2 (Licensed version) PHP version 7.3.13 TLS version 1.2 What else to check to troubleshoot the error? Please help. Thanks
  3. Hello @Gabriel Gutierrez, Will you like to share with us working version of this module? 🥺 Thank you!
  4. Today
  5. Is there a way I can hook to a controller? so I can load something before it loads?
  6. Yesterday
  7. It's in development right now.
  8. Are you provisioning accounts as an admin? If so, is the "Use Module" box checked? What is in your module log? Tools > Logs > Module tab. Click a row for CyberPanel to expand and show the raw input/output with the API.
  9. Please also let me know, how to automate everything. CyberPanel + Blesta. I need automation. Please list the steps.
  10. After clicking login link. I get this error too!
  11. Hello, I have added the cyberpanel.zip module and installed it. I have added the server. But when a client create a website. It doesn't seems to work. Neither a new user is created. I only added the server and I have added the correct login details in cyberpanel module. I can confirm it. I'm using CyberPanel Latest Version 1.9 I don't see websites being created in cyberpanel but only in Blesta.
  12. Could You guys at least start with some basic affiliate module? on some point affiliation is very necessary if You want keep growing Your hosting business.
  13. Last week
  14. 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.
  15. I have a plugin class and I want to check on Appcontroller.structure event if a client is currently logged in. But $this->Session->read("blesta_client_id"); returns null. This is my current code right now <?php class OverridesPlugin extends Plugin { private $Record; public function __construct() { $this->Record = new Record(); $this->loadConfig(dirname(__FILE__) . DS . "config.json"); } public function install($plugin_id) { } public function getEvents() { return array( array( 'event' => "Appcontroller.preAction", 'callback' => ["this", "preAction"] ), array( 'event' => "Appcontroller.structure", 'callback' => ["this", "structure"] ), ); } public function preAction($event){ Loader::loadModels($this, ['Overrides.OverridesSettings']); } public function structure($event){ $logged_in_client = $this->Session->read("blesta_client_id"); $url_details = $event->getParams(); echo '<pre>'.var_export($logged_in_client,true).'</pre>'; exit(1); } } Can you tell me what is the right way to check the client sessions in a plugin class? Thank you
  16. I can’t believe after all this time there is no integration with Quickbooks or xero. id be interested.
  17. I am hoping to use Blesta with Softaculous on ISPConfig.
  18. 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;"
  19. Hi, all. I have been using Blesta for a year+ now but the cron never works. Sometimes it does, sometimes it doesn't, and every once in a while I log into the admin dashboard, it feels like a gamble. So today I took the cron command and run it under the command line. Immediately, I receive the following message: Attempting to run all tasks for Company Name. Attempting to deliver invoices scheduled for delivery. <!DOCTYPE html> <html lang="en" xml:lang="en"> <head> <meta charset="utf-8"> <title>Blesta</title> <link rel="stylesheet" href="/app/views/errors/css/application.min.css"> <link rel="stylesheet" href="/app/views/errors/css/font-awesome.min.css"> </head> <body> <div class="error-container"> <div class="program-error"> <div class="panel panel-default panel-simple"> <div class="panel-heading"> <h3><i class="fa fa-exclamation-circle"></i> Something went wrong.</h3> </div> <div class="panel-body"> <p> Allowed memory size of 33554432 bytes exhausted (tried to allocate 3145728 bytes) </p> </div> </div> </div> </div> </body> </html> I checked my PHP for memory limit and the limit when I run phpinfo() is 1024MB! That should easily be enough for Blesta, shouldn't it? I own a VPS so there is no sharing of memory with other accounts. I have cPanel and WHM installed on my server. Is there any way to check what the problem is? The cron job doesn't work and it renders Blesta useless for quite a while now. The cronjob looks like this: /opt/cpanel/ea-php56/root/usr/bin/php -q /home/username/public_html/index.php cron
  20. 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.
  21. I would recommend checking the Blesta marketplace as it seems to have been more recently implemented.
  22. All of our Blesta Templates have now been updated for full V4.8 support! The updated files are available from your Zomex.com account. New customer's will be able to download the V4.8 Blesta Integration after purchase.
  23. All of our Blesta Templates have now been updated for full V4.8 support! The updated files are available from your Zomex.com account. New customer's will be able to download the V4.8 Blesta Integration after purchase.
  24. All of our Blesta Templates have now been updated for full V4.8 support! The updated files are available from your Zomex.com account. New customer's will be able to download the V4.8 Blesta Integration after purchase.
  1. Load more activity
×
×
  • Create New...