Jump to content

Anton Qcl

Members
  • Posts

    70
  • Joined

  • Last visited

  • Days Won

    2

Reputation Activity

  1. Thanks
    Anton Qcl got a reaction from Paul in Custom Smart Search   
    Forgot to share the code but I actually did it
    Note: this code is extremely dirty and should not be used in production. I hope, Smart Search will be really customizable some day

     

     
    ssbp-20210730.zip
  2. Thanks
    Anton Qcl got a reaction from Paul in [SOLVED] Argument 1 passed to Blesta\Core\Automation\TaskFactory::cronTask() must be an instance of stdClass, bool given   
    SOLVED: some of required entries in cron_task_runs were missing. 

    List:
    process_service_changes for all companies
    backups_sftp for company 0
    backups_amazons3 for company 0
    license_validation for company 0

    SQL commands.
    For process_service_changes. Note (use your own company ids):
     
    INSERT INTO `blesta`.`cron_task_runs` (`id`, `task_id`, `company_id`, `time`, `interval`, `enabled`, `date_enabled`) VALUES (NULL, '29', '2', NULL, '5', '1', NOW()); INSERT INTO `blesta`.`cron_task_runs` (`id`, `task_id`, `company_id`, `time`, `interval`, `enabled`, `date_enabled`) VALUES (NULL, '29', '3', NULL, '5', '1', NOW());  
    For other tasks:
     
    INSERT INTO `blesta`.`cron_task_runs` (`id`, `task_id`, `company_id`, `time`, `interval`, `enabled`, `date_enabled`) VALUES (NULL, '9', '0', NULL, '5', '1', NOW()); INSERT INTO `blesta`.`cron_task_runs` (`id`, `task_id`, `company_id`, `time`, `interval`, `enabled`, `date_enabled`) VALUES (NULL, '14', '0', NULL, '5', '1', NOW()); INSERT INTO `blesta`.`cron_task_runs` (`id`, `task_id`, `company_id`, `time`, `interval`, `enabled`, `date_enabled`) VALUES (NULL, '17', '0', NULL, '5', '1', NOW());
     
  3. Like
    Anton Qcl got a reaction from activa in Unexpected error 'only one query allowed' during creation of custom report   
    Paul, in this case, please, change text of the error. Also, I will be very appreciate if you describe allowed and disallowed clauses in documentation(https://docs.blesta.com/display/user/Generating+Reports) more.
  4. Like
    Anton Qcl got a reaction from yogesh in Behavior Of Renew Date   
    Yes, that's what happens.
     
    But in this case, the event "renewService" will never happen.
    Why is there method in a module that handles the event, if it can't ever come?
  5. Like
    Anton Qcl reacted to Tyson in Error Of Adding Number To Client Via Mozilla   
    I was able to replicate this issue in Firefox 27. It seems to be a rather strange issue either isolated to Firefox, or how Firefox interprets jquery/javascript cloned fields. I haven't looked into the cause yet, but I've added CORE-1079 so we can look into it further. Other browsers appear unaffected.
     
    If you want to add an additional phone number for a client where the Type is "Phone" or the Location is "Home", then you can work around this issue by changing the values twice. i.e. Change the Type from "Phone" to "Fax", then back to "Phone"; and change the Location from "Home" to "Work" and then back to "Home". Firefox will then submit the fields correctly and you won't experience the OP's error.
  6. Like
    Anton Qcl got a reaction from Amyamoxylea in Support Plugin: Problem With Some Summary   
    Version: 3.0.5
    Problem: page .../admin/plugin/support_manager/admin_tickets/index/closed/ doesn't open if exist at least one closed ticket on first page with summary "Онлайн кон
  7. Like
    Anton Qcl reacted to Timothy in Invoice Cannot Created With .png Image   
    Glad I could help
  8. Like
    Anton Qcl reacted to Timothy in Invoice Cannot Created With .png Image   
    That looks like a issue with PHP. The imagecreatefrompng function is part of GD library. This tends to be a separate package/port
    from the base PHP install.

    Can you verify you have that installed? It would be called php55-gd or php5-gd or some variation of that depending on your operating
    system.
  9. Like
    Anton Qcl got a reaction from WoofPeake in New Invoice Line Have No Tax   
    Version: 3.0.5
    Action: Try to  use function "Invoices-edit" to add new invoice line with tax.
     
    The following query add new invoice line. New line should has tax but doesn't has.
    https://my.blesta.site/api/Invoices/edit.json?invoice_id=20&vars[client_id]=7&vars[lines][0][service_id]=39&vars[lines][0][description]=test&vars[lines][0][qty]=1&vars[lines][0][amount]=2&vars[lines][0][service_id]=39&tax=true"
×
×
  • Create New...