• MySQL error 1062: Duplicate entry ' ' for key 'PRIMARY'

    I am getting a MySQL error regarding a duplicate entry when using the following code. <?php array_push($job_strings, 'list_refresh'); function list_refresh() // This function adds any new contacts on present day into the target list, runs daily. { $db…
  • Download button in popupview

    Hello been trying to add a download function in a button in popup window but its not working. im trying to add a download button that downloads a pdf file but when i press the button it doesnt do anything instead i get a blank page. ive created a file…
  • Add download pdf button in popup view

    Is it possible to add a custom button that downloads pdf ? ive tried doing it but i only get create button from this example: Link here 'searchInputs' => array ( 1 => 'payment_date' , 2 => 'payment_stage' , 3 => 'or_no' , ) , 'create' => array ( 'formBase…
  • Invalid usage of a function array_map()

    When trying to upload a package containing a logic hook to a sugar on demand environment, I am getting the error "Invalid usage of a function array_map()" The usage of array_map is here: $serviceTypeList = array_map ( "trim" , $serviceTypeList ) ; The…
  • Unable to have upload directory outside webroot

    Do you know if having upload files on an HDD instead of an SSD would noticeably reduce SugarCRM performance? For some SugarCRM instances the upload directory is massive so it sounds good to move it to a storage with a focus on volume rather than Read…
  • Send Mail in a job

    Hi, I work with SugarCRM pro 7.6 and I want to send a mail in one of my scheduled jobs. I have tried to search a full example which explains how to send a mail in PHP but i can't find it. I try the solutions in this post: https://community.sugarcrm.com…
  • Reduce PHP Strict Standards Declaration ?

    Too much error in log file How can I reduce it ? SugarCRM Enterprise, Version 7.5.2.0 apache2: PHP Strict Standards: Declaration of UndeployedRelationships::findRelatableModules() should be compatible with AbstractRelationships::findRelatableModules(…