Jump to content

Jonathan

Members
  • Content Count

    398
  • Joined

  • Last visited

  • Days Won

    24

Jonathan last won the day on July 17

Jonathan had the most liked content!

About Jonathan

  • Rank
    Advanced Member
  • Birthday June 11

Profile Information

  • Gender
    Male
  • Location
    Alabama

Recent Profile Visitors

1,553 profile views
  1. Some modules take several minutes to activate a service and they don't create a lock of any sort when starting activating to prevent another process, be it cron or human, from duplicating the action. I've seen multiple instances of an order getting entered, a staffer clicking "activate" on the service to go ahead and provision it and either the cron was already running, or starts running while the staff-induced activation is still running and two services are setup, two activation emails are sent, but only one record exists in blesta so you end up with a totally orphaned service. A simple fix for this is to use locks in the database during provisioning.
  2. @NETLINK have you heard/seen anything new about a JSON version of their API? Last I talked to them it was supposed to be getting worked on. I think moving to JSON and away from bad XML parsing would significantly help this module.
  3. I need to know what page you were getting that error on about link_buttons. All errors I knew of related to that were fixed in 1.8.4. The "Audit Domains" and "Sync renew dates" pages are very heavy on the API and if you have low values for PHP timeouts it's quite possible the pages will simply fail to function. Sadly to improve these pages I need help from Namesilo and thus far they've refused to improve their API in a way to let me make the page more efficient.
  4. Will be publishing 1.8.5 soon with quite a few bug fixes. If you'd like to try it out early here's the beta: https://github.com/NETLINK/Blesta-Namesilo/tree/v1.8.5-beta List of fixes are at https://github.com/NETLINK/Blesta-Namesilo/blob/v1.8.5-beta/CHANGELOG.md
  5. What page do you get this on? Are you on version 1.8.4?
  6. It almost sounds like you might have a firewall blocking communication with the Namesilo API.
  7. Invoices currently don't show the service dates. It would be great if it were added so customers (and staff) don't have to reference numbers within Blesta for example.
  8. Would love if we could get some traction on this. It's stupid simple, and insanely annoying for customers.
  9. No it wouldn't, since it uses similar syntax that's what really matters. Blesta on the back-end would have some work to do but when changing libraries that will always be the case. If it can be done with little to no impact to end users and how their templates are built then it can be done without customers noticing since templates wouldn't have to be updated.
  10. Twig looks awesome: https://github.com/twigphp/Twig
  11. Permissions should not be an issue unless it's trying to write to something based on / perhaps instead of it's current working directory. If you do replace it, try to stick with something based on Jinja2 like h2o is. Jinja2 native in Python is by far the best template engine/library I've ever used hands down.
  12. Do you know where it would be trying to write to that's failing causing the fallback and the notice? This occurs on stock Blesta with all permissions proper and required modules present so it seems like something needs to be adjusted in the code.
  13. Of course not, but I run my dev env. with debugging on and when this happens it's quite confusing as to thinking my code is broken, and of course preventing me from debugging errors of mine that are hit after this point.
  14. Found a few cases where if error reporting and debugging are enabled the pages simply break and you're just sitting with an error. I've found two instances of this: Suspending/unsuspending services Modules > Universal Module > Add Product The error is different on each and only happens when error reporting is set to -1, and debugging is set to true. Happens on PHP 7.1 and 7.2. MariaDB 10.2 and 10.3. Nginx and Litespeed for whatever it's worth. This is consistently recreatable on a blank 4.3.2 install as well as 4.3.0. For suspending/unsuspending: Something went wrong. tempnam(): file created in the system's temporary directory on line 179 in /home/blesta/public_html/vendors/h2o/h2o/loaders.php Printing Stack Trace: #0 [internal function]: UnknownException::setErrorHandler(8, 'tempnam(): file...', '/home/blesta/pu...', 179, Array) #1 /home/blesta/public_html/vendors/monolog/monolog/src/Monolog/ErrorHandler.php(164): call_user_func(Array, 8, 'tempnam(): file...', '/home/blesta/pu...', 179, Array) #2 [internal function]: Monolog\ErrorHandler->handleError(8, 'tempnam(): file...', '/home/blesta/pu...', 179, Array) #3 /home/blesta/public_html/vendors/h2o/h2o/loaders.php(179): tempnam('5268432515b8838...', '') #4 /home/blesta/public_html/vendors/h2o/h2o/loaders.php(166): H2o_File_Cache->__construct(Array) #5 /home/blesta/public_html/vendors/h2o/h2o/loaders.php(38): h2o_cache(Array) #6 /home/blesta/public_html/vendors/h2o/h2o/loaders.php(33): H2o_File_Loader->setOptions(Array) #7 /home/blesta/public_html/vendors/h2o/h2o.php(75): H2o_File_Loader->__construct(Array, Array) #8 /home/blesta/public_html/app/models/emails.php(906): H2o->__construct() #9 /home/blesta/public_html/app/models/emails.php(569): Emails->buildEmail('service_unsuspe...', '1', 'en_us', Array) #10 /home/blesta/public_html/app/models/services.php(2598): Emails->send('service_unsuspe...', '1', 'en_us', 'jonathan@effect...', Array, NULL, NULL, NULL, Array) #11 /home/blesta/public_html/app/models/services.php(3300): Services->sendSuspensionNoticeEmail('unsuspend', Object(stdClass), Object(stdClass)) #12 /home/blesta/public_html/app/controllers/admin_clients.php(4850): Services->unsuspend('1', Array) #13 /home/blesta/public_html/vendors/minphp/bridge/src/Lib/Dispatcher.php(143): AdminClients->editService() #14 /home/blesta/public_html/index.php(21): Dispatcher::dispatch('/index.php/admi...') #15 {main} For Add Product: Something went wrong. count(): Parameter must be an array or an object that implements Countable on line 45 in /home/blesta/public_html/components/modules/universal_module/views/default/add_row.pdt Printing Stack Trace: #0 [internal function]: UnknownException::setErrorHandler(2, 'count(): Parame...', '/home/blesta/pu...', 45, Array) #1 /home/blesta/public_html/vendors/monolog/monolog/src/Monolog/ErrorHandler.php(164): call_user_func(Array, 2, 'count(): Parame...', '/home/blesta/pu...', 45, Array) #2 /home/blesta/public_html/components/modules/universal_module/views/default/add_row.pdt(45): Monolog\ErrorHandler->handleError(2, 'count(): Parame...', '/home/blesta/pu...', 45, Array) #3 /home/blesta/public_html/vendors/minphp/bridge/src/Lib/View.php(163): include('/home/blesta/pu...') #4 /home/blesta/public_html/components/modules/universal_module/universal_module.php(592): View->fetch() #5 /home/blesta/public_html/app/controllers/admin_company_modules.php(365): UniversalModule->manageAddRow(Array) #6 /home/blesta/public_html/vendors/minphp/bridge/src/Lib/Dispatcher.php(143): AdminCompanyModules->addRow() #7 /home/blesta/public_html/index.php(21): Dispatcher::dispatch('/index.php/admi...') #8 {main}
×
×
  • Create New...