
Originally Posted by
erop
I'm too far from being Sugar' guru but I faced once with this issue when I created custom action in controller for one of my modules on SugarCE 5.5.1. The problem was that I just mistyped action name in controller.php and 'customCode' attribute for the custom button differed from it. So I could conjecture that you just slightly modified code accidentally while looking through code in editor for example. In this case I think it's reasonable to compare existing code snippets in modules/Lead/controller.php on line 63 (there should be 'convertlead') and modules/Leads/metadata/detailviewdefs.php on line 44 (there should be action=ConvertLead) and fix difference if occurs.
Another option (in my not professional opinion of course) is that special metadata file (modules/Leads/metadata/convertdefs.php) for requested 'convertlead' view is absent or inaccessible. I don't think you could delete file even by accident. But due to some reasons this file could become unreadable for Apache server. In this case I would check permissions for this file: at least this file must be readable by Apache user (or group).
Bookmarks