Hi, I am missing subpanels in various detail views, for example under cases none of the subpanels are displaying, but they’re still listed in studio. I’ve tried rebuilding. I’m not sure where to begin to diagnose the problem, any help is appreciated.
What subpanels are missing? Are they custom subpanels or core subpanels?
core subpanels such as projects under cases, but actually all of the assigned subpanels.
I checked the error log for nginx and found the following errors:
“PHP message: PHP Warning: sugar_file_put_contents_atomic() : fatal rename failure ‘/tmp/tempptz0Fo’ -> ‘cache/modules/ACLActions/ACLActionvardefs.php’ in /var/www/suitecrm/include/utils/sugar_file_utils.php on line 195” while reading response header from upstream
PHP message: PHP Notice: Undefined index: enable_line_editing_list in /var/www/suitecrm/include/ListView/ListViewSmarty.php on line 109
PHP message: PHP Notice: Undefined index: enable_line_editing_detail in /var/www/suitecrm/include/DetailView/DetailView2.php on line 78
On loading a case record, I see these errors:
2016/02/27 17:30:21 [error] 7933#0: *42601 FastCGI sent in stderr: “PHP message: PHP Warning: sugar_file_put_contents_atomic() : fatal rename failure ‘/tmp/tempPFAfYL’ -> ‘cache/modules/Trackers/Trackervardefs.php’ in /var/www/suitecrm/include/utils/sugar_file_utils.php on line 195
PHP message: PHP Notice: Undefined index: enable_line_editing_detail in /var/www/suitecrm/include/DetailView/DetailView2.php on line 78
PHP message: PHP Warning: sugar_file_put_contents_atomic() : fatal rename failure ‘/tmp/tempVVLifj’ -> ‘cache/modules/ACLRoles/ACLRolevardefs.php’ in /var/www/suitecrm/include/utils/sugar_file_utils.php on line 195
PHP message: PHP Warning: sugar_file_put_contents_atomic() : fatal rename failure ‘/tmp/tempbTYfGQ’ -> ‘cache/modules/Relationships/Relationshipvardefs.php’ in /var/www/suitecrm/include/utils/sugar_file_utils.php on line 195
PHP message: PHP Warning: sugar_file_put_contents_atomic() : fatal rename failure ‘/tmp/tempBhmbgo’ -> ‘cache/modules/Relationships/relationships.cache.php’ in /var/www/suitecrm/include/utils/sugar_file_utils.php on line 195
PHP message: PHP Warning: include(cache/modules/Relationships/relationships.cache.php): failed to open stream: Permission denied in /var/www/suitecrm/modules/Relationships/Relationship.php on line 211
PHP message: PHP Warning: include(): Failed opening ‘cache/modules/Relationships/relationships.cache.php’ for inclusion (include_path=’/var/www/suitecrm/include/HTMLPurifier/standalone:/var/www/suitecrm/include/…:.:/usr/share/php:/usr/share/pear’) in /var/www/suitecrm/modules/Relationships/Relationship.php on line 211
PHP message: PHP Notice: Undefined variable: relationships in /var/www/suitecrm/modules/Relationships/Relationship.php on line 212” while reading response header from upstream, client: x.x.x.x, server: xx.xx.xx.xx, request: “GET /index.php?action=DetailView&module=Cases&record=c8960187-0679-706f-ee92-56d0aa34ab12&offset=1&stamp=1456594130061888800 HTTP/1.1”, upstream: “fastcgi://unix:/var/run/php5-fpm.sock:”,
2016/02/27 17:30:22 [error] 7933#0: *42601 FastCGI sent in stderr: “PHP message: PHP Warning: sugar_file_put_contents_atomic() : fatal rename failure ‘/tmp/tempwValIN’ -> ‘cache/modules/ACLRoles/ACLRolevardefs.php’ in /var/www/suitecrm/include/utils/sugar_file_utils.php on line 195
PHP message: PHP Warning: sugar_file_put_contents_atomic() : fatal rename failure ‘/tmp/temp0awoqr’ -> ‘cache/modules/ACLActions/ACLActionvardefs.php’ in /var/www/suitecrm/include/utils/sugar_file_utils.php on line 195
PHP message: PHP Warning: sugar_file_put_contents_atomic() : fatal rename failure ‘/tmp/temp8qrhb5’ -> ‘cache/modules/Trackers/Trackervardefs.php’ in /var/www/suitecrm/include/utils/sugar_file_utils.php on line 195
PHP message: PHP Warning: sugar_file_put_contents_atomic() : fatal rename failure ‘/tmp/tempKqxKWI’ -> ‘cache/modules/Import/ImportMapvardefs.php’ in /var/www/suitecrm/include/utils/sugar_file_utils.php on line 195
PHP message: PHP Warning: sugar_file_put_contents_atomic() : fatal rename failure ‘/tmp/temp6BmoIm’ -> ‘cache/modules/Import_1/ImportMapvardefs.php’ in /var/www/suitecrm/include/utils/sugar_file_utils.php on line 195
PHP message: PHP Warning: sugar_file_put_contents_atomic() : fatal rename failure ‘/tmp/tempE1yLu0’ -> ‘cache/modules/MergeRecords/MergeRecordvardefs.php’ in /var/www/suitecrm/include/utils/sugar_file_utils.php on line 195
PHP message: PHP Warning: sugar_file_put_contents_atomic() : fatal rename failure ‘/tmp/tempwHDchE’ -> ‘cache/modules/MergeRecords/MergeRecordvardefs.php’ in /var/www/suitecrm/include/utils/sugar_file_utils.php on line 195
PHP message: PHP Warning: sugar_file_put_contents_atomic() : fatal rename failure ‘/tmp/tempc1fP3h’ -> ‘cache/modules/EmailText/EmailTextvardefs.php’ in /var/www/suitecrm/include/utils/sugar_file_utils.php on line 195
PHP message: PHP Warning: sugar_file_put_contents_atomic() : fatal rename failure ‘/tmp/temp652EQV’ -> ‘cache/modules/Relationships/Relationshipvardefs.php’ in /var/www/suitecrm/include/utils/sugar_file_utils.php on line 195”
Any advice is appreciated
I did some reading and learned that user roles and security groups can effect subpanels, I’m an administrator and the only user but just in case I decided to check all my settings. When I went to Admin -> User Roles, I got this error:
Could that be the culprit?
looking at the file structure on my server, specifically /cache/modules/ACLRoles and the files in the 7.4 to 7.5.1 upgrade archive under /modules/ACLRoles/, none of the files or folders in that archive are on my server. The only file on my server is ACLRolevardefs.php
So I think something went wrong with the upgrade even tho the about page says it’s running 7.5.1. Is there an efficient way to repair missing files?
Nevermind! It was a permissions issue… Which is strange because I had run chown www-data:www-data /var/www -R which should have fixed it. Twice even. Third times a charm I guess?
Thanks for the help!