AnsweredAssumed Answered

"Failed to retrieve data" error when customizing subpanel layout

Question asked by Chris Chris on Apr 14, 2014
Latest reply on Jun 19, 2015 by ananth k
Hi,

i get an error when i try to modify the subpanel layout from an custom Module.

When i click on save, "failed to retrieve data" appears.

Firebug shows me:
"NetworkError: 500 Internal Server Error - http://10.100.100.83/sugar/index.php?to_pdf=1&sugar_body_only=1";

In the apache error Log:
[Mon Apr 14 10:27:01 2014] [error] [client 10.100.100.115] PHP Warning:  Invalid argument supplied for foreach() in /var/www/sugar716/modules/ModuleBuilder/parsers/views/AbstractMetaDataImplementation.php on line 423, referer: http://10.100.100.83/sugar/index.php?module=ModuleBuilder&action=index&type=mb
[Mon Apr 14 10:27:01 2014] [error] [client 10.100.100.115] PHP Warning:  array_change_key_case() expects parameter 1 to be array, null given in /var/www/sugar716/modules/ModuleBuilder/parsers/views/SubpanelMetaDataParser.php on line 53, referer: http://10.100.100.83/sugar/index.php?module=ModuleBuilder&$
[Mon Apr 14 10:27:01 2014] [error] [client 10.100.100.115] PHP Warning:  Invalid argument supplied for foreach() in /var/www/sugar716/modules/ModuleBuilder/parsers/views/SubpanelMetaDataParser.php on line 123, referer: http://10.100.100.83/sugar/index.php?module=ModuleBuilder&action=index&type=mb
[Mon Apr 14 10:27:01 2014] [error] [client 10.100.100.115] PHP Warning:  Invalid argument supplied for foreach() in /var/www/sugar716/modules/ModuleBuilder/parsers/views/ListLayoutMetaDataParser.php on line 299, referer: http://10.100.100.83/sugar/index.php?module=ModuleBuilder&action=index&type=mb
[Mon Apr 14 10:27:01 2014] [error] [client 10.100.100.115] PHP Fatal error:  Call to undefined method MBModule::getSubpanelPathFromName() in /var/www/sugar716/modules/ModuleBuilder/MB/MBModule.php on line 858, referer: http://10.100.100.83/sugar/index.php?module=ModuleBuilder&action=index&type=mb

I tried to change the permissions on the folders: custom and cache

I hope anyone can help me with this Problem.


Outcomes