My SuiteCRM instance, does not create new dashlets anymore. Here apache error.log:
PHP Warning: array_unshift() expects parameter 1 to be array, null given in path_to_crm\custom\include\MySugar\MySugar.php on line 116, referer: http://crm/crm/index.php?action=ajaxui
This looks like the same problem I have. When I try to add a new dash let I get three lines in the sugar log. I have checked permissions.
But the error looks unusual to me. If you look at the part I colored below, there is no filename. A require_once error will indicate the path and filename that could not be found, but this just indicates a folder, which makes me think that sugar is trying to use require_once on a blank file name.
[05-Jun-2014 19:25:52 UTC] PHP Warning: array_unshift() expects parameter 1 to be array, null given in /home/gt/subdomains/suitecrm/crm/custom/include/MySugar/MySugar.php on line 116
[05-Jun-2014 19:25:53 UTC] PHP Warning: [color=#0000ff]require_once(/home/gt/subdomains/suitecrm/crm)[/color] [function.require-once]: failed to open stream: No such file or directory in /home/gt/subdomains/suitecrm/crm/custom/include/MySugar/MySugar.php on line 150
[05-Jun-2014 19:25:53 UTC] PHP Fatal error: require_once() [function.require]: Failed opening required ‘’ (include_path=’/home/gt/subdomains/suitecrm/crm:/home/gt/subdomains/suitecrm/crm/include/HTMLPurifier/standalone:/home/gt/subdomains/suitecrm/crm/include/…:.:/usr/lib/php:/usr/local/lib/php’) in /home/gt/subdomains/suitecrm/crm/custom/include/MySugar/MySugar.php on line 150
I believe in my case it turned out to be a permissions problem as Will suggested. The weird part was, after verifying the permissions, it still did not work right away. But then I tried again a few days later and suddenly it was working. I think after I fixed the permissions I had to wait for a cache to expire is my guess.
I have created a new dashbord and all dashlet are working on this new dashboard.
Now I would like that this new dashboard open as defaullt instead of Dashboard Suite and I would like to configure this dashboard for all users. Is this possible ?