We recently upgraded to 7.8.10 and during the last part of the upgrade where it asks something to the effect of enabling the new views my browser crashed. When I reloaded CRM everything seemed to be working (though I never had the chance to make the selection) except for the scheduled reports and search. When I open a scheduled report it outputs some sort of code. The console gives the following output:
Here is a screen cap of what I get when I attempt to view a scheduled report:
Things I have tried:
I have checked permissions and ownership as mentioned on this forum post.
I removed and reuploaded the modules directory.
I tried turning off ajax module view.
Creating a new scheduled report.
Quick repair and rebuild.
None of these things seem to be working. I thought I would try and rerun the upgrade but it would not let me do that. We have made minimal changes to the code. Would there be any DB issues if I did a manual fresh install and pointed it at our existing DB? Sadly, it was about a day before we found the scheduled reports problem and I would rather not need to restore the DB.
The search simply returns blank output.
CRM Info:
Version 7.8.10
Sugar Version 6.5.25 (Build 344)
Chrome Browser 63.0.3239.132 (Official Build) (64-bit)
PHP 7.0 FPM on Apache 2.4
That console error - can you get some info as to in which file/line number it happened? Better yet, if it shows you the actual code and you can post a screenshot here.
Also, let’s keep the investigation of both errors (reports / search) clearly separate. Are you sure you don’t have anything in the logs, including php_errors.log when the search fails?
Please try other repairs, especially javascript ones, from Admin / Repairs.
Here are some screen shots in regards to the Scheduled Report page.
I looked in the CRM logs and found some entries. I forgot about the CRM log and I was only looking at the apache logs.
Mon Jan 22 12:21:01 2018 [4297][1][DEPRECATED] SugarBean.php: preprocess_fields_on_save() is deprecated
Mon Jan 22 12:21:01 2018 [4297][1][DEPRECATED] SugarBean.php: preprocess_fields_on_save() is deprecated
Mon Jan 22 12:21:01 2018 [4297][1][DEPRECATED] SugarBean.php: preprocess_fields_on_save() is deprecated
Mon Jan 22 12:21:01 2018 [4297][1][DEPRECATED] SugarBean.php: preprocess_fields_on_save() is deprecated
Mon Jan 22 12:21:01 2018 [4297][1][DEPRECATED] Formatting correction: SchedulersJobs->date_entered had formatting automatically corrected. This will be removed in the future, please upgrade your external code
Mon Jan 22 12:21:01 2018 [4297][1][DEPRECATED] Formatting correction: SchedulersJobs->date_modified had formatting automatically corrected. This will be removed in the future, please upgrade your external code
Mon Jan 22 12:21:01 2018 [4297][1][DEPRECATED] Formatting correction: SchedulersJobs->execute_time had formatting automatically corrected. This will be removed in the future, please upgrade your external code
Mon Jan 22 12:21:01 2018 [4297][1][DEPRECATED] SugarBean.php: preprocess_fields_on_save() is deprecated
Mon Jan 22 12:21:01 2018 [4297][1][DEPRECATED] SugarBean.php: preprocess_fields_on_save() is deprecated
Mon Jan 22 12:21:01 2018 [4297][1][DEPRECATED] Formatting correction: SchedulersJobs->date_entered had formatting automatically corrected. This will be removed in the future, please upgrade your external code
Mon Jan 22 12:21:01 2018 [4297][1][DEPRECATED] Formatting correction: SchedulersJobs->date_modified had formatting automatically corrected. This will be removed in the future, please upgrade your external code
Mon Jan 22 12:21:01 2018 [4297][1][DEPRECATED] Formatting correction: SchedulersJobs->execute_time had formatting automatically corrected. This will be removed in the future, please upgrade your external code
Mon Jan 22 12:21:01 2018 [4297][1][DEPRECATED] SugarBean.php: preprocess_fields_on_save() is deprecated
Mon Jan 22 12:21:01 2018 [4297][1][DEPRECATED] SugarBean.php: preprocess_fields_on_save() is deprecated
Mon Jan 22 12:21:01 2018 [4297][1][DEPRECATED] Formatting correction: SchedulersJobs->date_entered had formatting automatically corrected. This will be removed in the future, please upgrade your external code
Mon Jan 22 12:21:01 2018 [4297][1][DEPRECATED] Formatting correction: SchedulersJobs->date_modified had formatting automatically corrected. This will be removed in the future, please upgrade your external code
Mon Jan 22 12:21:01 2018 [4297][1][DEPRECATED] Formatting correction: SchedulersJobs->execute_time had formatting automatically corrected. This will be removed in the future, please upgrade your external code
Mon Jan 22 12:21:01 2018 [4297][1][DEPRECATED] SugarBean.php: preprocess_fields_on_save() is deprecated
Mon Jan 22 12:21:01 2018 [4297][1][DEPRECATED] SugarBean.php: preprocess_fields_on_save() is deprecated
Mon Jan 22 12:21:01 2018 [4297][1][DEPRECATED] Formatting correction: SchedulersJobs->date_entered had formatting automatically corrected. This will be removed in the future, please upgrade your external code
Mon Jan 22 12:21:01 2018 [4297][1][DEPRECATED] Formatting correction: SchedulersJobs->date_modified had formatting automatically corrected. This will be removed in the future, please upgrade your external code
Mon Jan 22 12:21:01 2018 [4297][1][DEPRECATED] Formatting correction: SchedulersJobs->execute_time had formatting automatically corrected. This will be removed in the future, please upgrade your external code
Mon Jan 22 12:21:01 2018 [4297][1][DEPRECATED] SugarBean.php: preprocess_fields_on_save() is deprecated
Mon Jan 22 12:21:01 2018 [4297][67997fb7-d205-69f6-5d39-58cb5ea5192f][FATAL] Job cb20d12c-c5da-d783-d847-5a6639b74b7d (Run Report Generation Scheduled Tasks) failed in CRON run
Mon Jan 22 12:21:01 2018 [4297][67997fb7-d205-69f6-5d39-58cb5ea5192f][DEPRECATED] Formatting correction: SchedulersJobs->failure_count had formatting automatically corrected. This will be removed in the future, please upgrade your external code
Mon Jan 22 12:21:01 2018 [4297][67997fb7-d205-69f6-5d39-58cb5ea5192f][DEPRECATED] SugarBean.php: preprocess_fields_on_save() is deprecated
Mon Jan 22 12:21:42 2018 [3509][83a956a0-3e2f-a820-0142-58923ba9bf28][WARN] Image icon_Configurator_32.png not found
Mon Jan 22 12:21:42 2018 [3509][83a956a0-3e2f-a820-0142-58923ba9bf28][WARN] Image icon_Configurator_32.png not found
Mon Jan 22 12:21:42 2018 [3509][83a956a0-3e2f-a820-0142-58923ba9bf28][WARN] CSS File yui.css not found
Mon Jan 22 12:21:42 2018 [3509][83a956a0-3e2f-a820-0142-58923ba9bf28][WARN] Image Create.gif not found
Mon Jan 22 12:21:42 2018 [3509][83a956a0-3e2f-a820-0142-58923ba9bf28][WARN] Image List.gif not found
Mon Jan 22 12:21:42 2018 [3509][83a956a0-3e2f-a820-0142-58923ba9bf28][WARN] Image Create.gif not found
Mon Jan 22 12:21:42 2018 [3509][83a956a0-3e2f-a820-0142-58923ba9bf28][WARN] Image Create_Contact_Vcard.gif not found
Mon Jan 22 12:21:42 2018 [3509][83a956a0-3e2f-a820-0142-58923ba9bf28][WARN] Image List.gif not found
Mon Jan 22 12:21:42 2018 [3509][83a956a0-3e2f-a820-0142-58923ba9bf28][WARN] Image Create.gif not found
Mon Jan 22 12:21:42 2018 [3509][83a956a0-3e2f-a820-0142-58923ba9bf28][WARN] Image List.gif not found
Mon Jan 22 12:21:42 2018 [3509][83a956a0-3e2f-a820-0142-58923ba9bf28][WARN] Image Create.gif not found
Mon Jan 22 12:21:42 2018 [3509][83a956a0-3e2f-a820-0142-58923ba9bf28][WARN] Image Create_Lead_Vcard.gif not found
Mon Jan 22 12:21:42 2018 [3509][83a956a0-3e2f-a820-0142-58923ba9bf28][WARN] Image List.gif not found
Mon Jan 22 12:21:42 2018 [3509][83a956a0-3e2f-a820-0142-58923ba9bf28][WARN] Image Create.gif not found
Mon Jan 22 12:21:42 2018 [3509][83a956a0-3e2f-a820-0142-58923ba9bf28][WARN] Image List.gif not found
Mon Jan 22 12:21:42 2018 [3509][83a956a0-3e2f-a820-0142-58923ba9bf28][WARN] Image View_Create_Email_Templates.gif not found
Mon Jan 22 12:21:42 2018 [3509][83a956a0-3e2f-a820-0142-58923ba9bf28][WARN] Image View_Email_Templates.gif not found
Mon Jan 22 12:21:42 2018 [3509][83a956a0-3e2f-a820-0142-58923ba9bf28][WARN] Image View_Diagnostics.gif not found
Mon Jan 22 12:21:42 2018 [3509][83a956a0-3e2f-a820-0142-58923ba9bf28][WARN] Image Create_Person_Form.gif not found
Mon Jan 22 12:21:42 2018 [3509][83a956a0-3e2f-a820-0142-58923ba9bf28][WARN] Image Create.gif not found
Mon Jan 22 12:21:42 2018 [3509][83a956a0-3e2f-a820-0142-58923ba9bf28][WARN] Image List.gif not found
Mon Jan 22 12:21:42 2018 [3509][83a956a0-3e2f-a820-0142-58923ba9bf28][WARN] Image Create.gif not found
Mon Jan 22 12:21:42 2018 [3509][83a956a0-3e2f-a820-0142-58923ba9bf28][WARN] Image List.gif not found
Mon Jan 22 12:21:42 2018 [3509][83a956a0-3e2f-a820-0142-58923ba9bf28][WARN] Image Create.gif not found
Mon Jan 22 12:21:42 2018 [3509][83a956a0-3e2f-a820-0142-58923ba9bf28][WARN] Image List.gif not found
Mon Jan 22 12:21:42 2018 [3509][83a956a0-3e2f-a820-0142-58923ba9bf28][WARN] Image Create.gif not found
Mon Jan 22 12:21:42 2018 [3509][83a956a0-3e2f-a820-0142-58923ba9bf28][WARN] Image List.gif not found
Mon Jan 22 12:21:42 2018 [3509][83a956a0-3e2f-a820-0142-58923ba9bf28][WARN] Image Schedule_Meeting.gif not found
Mon Jan 22 12:21:42 2018 [3509][83a956a0-3e2f-a820-0142-58923ba9bf28][WARN] Image Schedule_Call.gif not found
Mon Jan 22 12:21:42 2018 [3509][83a956a0-3e2f-a820-0142-58923ba9bf28][WARN] Image Create.gif not found
Mon Jan 22 12:21:42 2018 [3509][83a956a0-3e2f-a820-0142-58923ba9bf28][WARN] Image Today.gif not found
Mon Jan 22 12:21:42 2018 [3509][83a956a0-3e2f-a820-0142-58923ba9bf28][WARN] Image Schedule_Call.gif not found
Mon Jan 22 12:21:42 2018 [3509][83a956a0-3e2f-a820-0142-58923ba9bf28][WARN] Image List.gif not found
Mon Jan 22 12:21:42 2018 [3509][83a956a0-3e2f-a820-0142-58923ba9bf28][WARN] Image List.gif not found
Mon Jan 22 12:21:42 2018 [3509][83a956a0-3e2f-a820-0142-58923ba9bf28][WARN] Image Create.gif not found
Mon Jan 22 12:21:42 2018 [3509][83a956a0-3e2f-a820-0142-58923ba9bf28][WARN] Image View_Email_Templates.gif not found
Mon Jan 22 12:21:42 2018 [3509][83a956a0-3e2f-a820-0142-58923ba9bf28][WARN] Image Create.gif not found
Mon Jan 22 12:21:42 2018 [3509][83a956a0-3e2f-a820-0142-58923ba9bf28][WARN] Image List.gif not found
Mon Jan 22 12:21:42 2018 [3509][83a956a0-3e2f-a820-0142-58923ba9bf28][WARN] Image Create.gif not found
Mon Jan 22 12:21:42 2018 [3509][83a956a0-3e2f-a820-0142-58923ba9bf28][WARN] Image List.gif not found
Mon Jan 22 12:21:42 2018 [3509][83a956a0-3e2f-a820-0142-58923ba9bf28][WARN] Image Create.gif not found
Mon Jan 22 12:21:42 2018 [3509][83a956a0-3e2f-a820-0142-58923ba9bf28][WARN] Image List.gif not found
Mon Jan 22 12:21:42 2018 [3509][83a956a0-3e2f-a820-0142-58923ba9bf28][WARN] Image Create.gif not found
Mon Jan 22 12:21:42 2018 [3509][83a956a0-3e2f-a820-0142-58923ba9bf28][WARN] Image List.gif not found
Mon Jan 22 12:21:42 2018 [3509][83a956a0-3e2f-a820-0142-58923ba9bf28][WARN] Image Create.gif not found
Mon Jan 22 12:21:42 2018 [3509][83a956a0-3e2f-a820-0142-58923ba9bf28][WARN] Image List.gif not found
Mon Jan 22 12:21:42 2018 [3509][83a956a0-3e2f-a820-0142-58923ba9bf28][WARN] Image Create.gif not found
Mon Jan 22 12:21:42 2018 [3509][83a956a0-3e2f-a820-0142-58923ba9bf28][WARN] Image List.gif not found
Mon Jan 22 12:21:42 2018 [3509][83a956a0-3e2f-a820-0142-58923ba9bf28][WARN] Image Create.gif not found
Mon Jan 22 12:21:42 2018 [3509][83a956a0-3e2f-a820-0142-58923ba9bf28][WARN] Image List.gif not found
Mon Jan 22 12:21:42 2018 [3509][83a956a0-3e2f-a820-0142-58923ba9bf28][WARN] Image Create.gif not found
Mon Jan 22 12:21:42 2018 [3509][83a956a0-3e2f-a820-0142-58923ba9bf28][WARN] Image List.gif not found
Mon Jan 22 12:21:42 2018 [3509][83a956a0-3e2f-a820-0142-58923ba9bf28][WARN] Image View_Create_Email_Templates.gif not found
Mon Jan 22 12:21:42 2018 [3509][83a956a0-3e2f-a820-0142-58923ba9bf28][WARN] Image View_Email_Templates.gif not found
Mon Jan 22 12:21:42 2018 [3509][83a956a0-3e2f-a820-0142-58923ba9bf28][WARN] Image View_Diagnostics.gif not found
Mon Jan 22 12:21:42 2018 [3509][83a956a0-3e2f-a820-0142-58923ba9bf28][WARN] Image Create_Person_Form.gif not found
Mon Jan 22 12:21:42 2018 [3509][83a956a0-3e2f-a820-0142-58923ba9bf28][WARN] Image Create.gif not found
Mon Jan 22 12:21:42 2018 [3509][83a956a0-3e2f-a820-0142-58923ba9bf28][WARN] Image List.gif not found
Mon Jan 22 12:21:42 2018 [3509][83a956a0-3e2f-a820-0142-58923ba9bf28][WARN] Image Create.gif not found
Mon Jan 22 12:21:42 2018 [3509][83a956a0-3e2f-a820-0142-58923ba9bf28][WARN] Image List.gif not found
Mon Jan 22 12:21:42 2018 [3509][83a956a0-3e2f-a820-0142-58923ba9bf28][WARN] Image Create.gif not found
Mon Jan 22 12:21:42 2018 [3509][83a956a0-3e2f-a820-0142-58923ba9bf28][WARN] Image List.gif not found
Mon Jan 22 12:21:42 2018 [3509][83a956a0-3e2f-a820-0142-58923ba9bf28][WARN] Image Schedule_Meeting.gif not found
Mon Jan 22 12:21:42 2018 [3509][83a956a0-3e2f-a820-0142-58923ba9bf28][WARN] Image Schedule_Call.gif not found
Mon Jan 22 12:21:42 2018 [3509][83a956a0-3e2f-a820-0142-58923ba9bf28][WARN] Image Create.gif not found
Mon Jan 22 12:21:42 2018 [3509][83a956a0-3e2f-a820-0142-58923ba9bf28][WARN] Image Today.gif not found
Mon Jan 22 12:21:42 2018 [3509][83a956a0-3e2f-a820-0142-58923ba9bf28][WARN] Image List.gif not found
Mon Jan 22 12:21:42 2018 [3509][83a956a0-3e2f-a820-0142-58923ba9bf28][WARN] Image Create.gif not found
Mon Jan 22 12:21:42 2018 [3509][83a956a0-3e2f-a820-0142-58923ba9bf28][WARN] Image View_Email_Templates.gif not found
Mon Jan 22 12:21:42 2018 [3509][83a956a0-3e2f-a820-0142-58923ba9bf28][WARN] Image Create.gif not found
Mon Jan 22 12:21:42 2018 [3509][83a956a0-3e2f-a820-0142-58923ba9bf28][WARN] Image List.gif not found
Mon Jan 22 12:21:42 2018 [3509][83a956a0-3e2f-a820-0142-58923ba9bf28][WARN] Image Create.gif not found
Mon Jan 22 12:21:42 2018 [3509][83a956a0-3e2f-a820-0142-58923ba9bf28][WARN] Image List.gif not found
Mon Jan 22 12:21:42 2018 [3509][83a956a0-3e2f-a820-0142-58923ba9bf28][WARN] Image Create.gif not found
Mon Jan 22 12:21:42 2018 [3509][83a956a0-3e2f-a820-0142-58923ba9bf28][WARN] Image View.gif not found
Mon Jan 22 12:21:42 2018 [3509][83a956a0-3e2f-a820-0142-58923ba9bf28][WARN] Image Create.gif not found
Mon Jan 22 12:21:42 2018 [3509][83a956a0-3e2f-a820-0142-58923ba9bf28][WARN] Image List.gif not found
Mon Jan 22 12:21:42 2018 [3509][83a956a0-3e2f-a820-0142-58923ba9bf28][WARN] Image Create.gif not found
Mon Jan 22 12:21:42 2018 [3509][83a956a0-3e2f-a820-0142-58923ba9bf28][WARN] Image List.gif not found
Mon Jan 22 12:21:42 2018 [3509][83a956a0-3e2f-a820-0142-58923ba9bf28][WARN] Image Create.gif not found
Mon Jan 22 12:21:42 2018 [3509][83a956a0-3e2f-a820-0142-58923ba9bf28][WARN] Image List.gif not found
Mon Jan 22 12:21:42 2018 [3509][83a956a0-3e2f-a820-0142-58923ba9bf28][WARN] Image Create.gif not found
Mon Jan 22 12:21:42 2018 [3509][83a956a0-3e2f-a820-0142-58923ba9bf28][WARN] Image List.gif not found
Mon Jan 22 12:21:42 2018 [3509][83a956a0-3e2f-a820-0142-58923ba9bf28][WARN] Image View_Process_Audit.gif not found
Mon Jan 22 12:21:42 2018 [3509][83a956a0-3e2f-a820-0142-58923ba9bf28][WARN] Image Create.gif not found
Mon Jan 22 12:21:42 2018 [3509][83a956a0-3e2f-a820-0142-58923ba9bf28][WARN] Image List.gif not found
Mon Jan 22 12:21:42 2018 [3509][83a956a0-3e2f-a820-0142-58923ba9bf28][WARN] Image Create_Security_Group.gif not found
Mon Jan 22 12:21:42 2018 [3509][83a956a0-3e2f-a820-0142-58923ba9bf28][WARN] Image Create.gif not found
Mon Jan 22 12:21:42 2018 [3509][83a956a0-3e2f-a820-0142-58923ba9bf28][WARN] Image Create.gif not found
Mon Jan 22 12:21:42 2018 [3509][83a956a0-3e2f-a820-0142-58923ba9bf28][WARN] Image List.gif not found
Mon Jan 22 12:21:42 2018 [3509][83a956a0-3e2f-a820-0142-58923ba9bf28][WARN] Image Create.gif not found
Mon Jan 22 12:21:42 2018 [3509][83a956a0-3e2f-a820-0142-58923ba9bf28][WARN] Image List.gif not found
Mon Jan 22 12:21:42 2018 [3509][83a956a0-3e2f-a820-0142-58923ba9bf28][WARN] Image Create.gif not found
Mon Jan 22 12:21:42 2018 [3509][83a956a0-3e2f-a820-0142-58923ba9bf28][WARN] Image List.gif not found
Mon Jan 22 12:21:42 2018 [3509][83a956a0-3e2f-a820-0142-58923ba9bf28][WARN] Image Create.gif not found
Mon Jan 22 12:21:42 2018 [3509][83a956a0-3e2f-a820-0142-58923ba9bf28][WARN] Image List.gif not found
Mon Jan 22 12:21:42 2018 [3509][83a956a0-3e2f-a820-0142-58923ba9bf28][WARN] Image dashboard.png not found
Mon Jan 22 12:21:42 2018 [3509][83a956a0-3e2f-a820-0142-58923ba9bf28][WARN] Image sidebar/modules/AOR_Scheduled_Reports.svg not found
Mon Jan 22 12:21:42 2018 [3509][83a956a0-3e2f-a820-0142-58923ba9bf28][WARN] Image sidebar/modules/AOR_Scheduled_Reports.svg not found
Mon Jan 22 12:21:42 2018 [3509][83a956a0-3e2f-a820-0142-58923ba9bf28][WARN] Image sidebar/modules/AOR_Scheduled_Reports.svg not found
Mon Jan 22 12:21:42 2018 [3509][83a956a0-3e2f-a820-0142-58923ba9bf28][WARN] Image sidebar/modules/AOR_Scheduled_Reports.svg not found
Mon Jan 22 12:21:42 2018 [3509][83a956a0-3e2f-a820-0142-58923ba9bf28][WARN] Image sidebar/modules/AOR_Scheduled_Reports.svg not found
I have run every repair option available a couple of times.
This also just showed up in the CRM log when I viewed the Scheduled Report:
This also popped up in the log:
Mon Jan 22 13:04:07 2018 [4731][653acc1b-45e2-06da-656c-54d9238e719e][FATAL] Query Failed: SELECT count(*) c FROM (SELECT `tasks`.id AS 'tasks_id', `tasks`.name AS 'Subject0', `tasks:leads:tasks:leads`.first_name AS 'First_Name1', `tasks:leads`.last_name AS 'Last_Name2', `tasks`.date_due AS 'Due_Date3', `tasks:leads`.id AS 'tasks:leads_id', `tasks:leads:tasks`.id AS 'tasks:leads:tasks_id', `tasks:leads:tasks:leads`.id AS 'tasks:leads:tasks:leads_id' FROM `tasks` LEFT JOIN leads `tasks:leads` ON `tasks`.parent_id=`tasks:leads`.id AND `tasks:leads`.deleted=0
AND `tasks`.parent_type = 'Leads'
AND ( leads.assigned_user_id ='653acc1b-45e2-06da-656c-54d9238e719e' or EXISTS (SELECT 1
FROM securitygroups secg
INNER JOIN securitygroups_users secu
ON secg.id = secu.securitygroup_id
AND secu.deleted = 0
AND secu.user_id = '653acc1b-45e2-06da-656c-54d9238e719e'
INNER JOIN securitygroups_records secr
ON secg.id = secr.securitygroup_id
AND secr.deleted = 0
AND secr.module = 'Leads'
WHERE secr.record_id = `tasks:leads`.id
AND secg.deleted = 0) ) LEFT JOIN tasks `tasks:leads:tasks` ON `tasks:leads`.id=`tasks:leads:tasks`.parent_id AND `tasks:leads:tasks`.deleted=0
AND `tasks:leads:tasks`.parent_type = 'Leads'
AND ( tasks.assigned_user_id ='653acc1b-45e2-06da-656c-54d9238e719e' or EXISTS (SELECT 1
FROM securitygroups secg
INNER JOIN securitygroups_users secu
ON secg.id = secu.securitygroup_id
AND secu.deleted = 0
AND secu.user_id = '653acc1b-45e2-06da-656c-54d9238e719e'
INNER JOIN securitygroups_records secr
ON secg.id = secr.securitygroup_id
AND secr.deleted = 0
AND secr.module = 'Tasks'
WHERE secr.record_id = `tasks:leads:tasks`.id
AND secg.deleted = 0) ) LEFT JOIN leads `tasks:leads:tasks:leads` ON `tasks:leads:tasks`.parent_id=`tasks:leads:tasks:leads`.id AND `tasks:leads:tasks:leads`.deleted=0
AND `tasks:leads:tasks`.parent_type = 'Leads'
AND ( leads.assigned_user_id ='653acc1b-45e2-06da-656c-54d9238e719e' or EXISTS (SELECT 1
FROM securitygroups secg
INNER JOIN securitygroups_users secu
ON secg.id = secu.securitygroup_id
AND secu.deleted = 0
AND secu.user_id = '653acc1b-45e2-06da-656c-54d9238e719e'
INNER JOIN securitygroups_records secr
ON secg.id = secr.securitygroup_id
AND secr.deleted = 0
AND secr.module = 'Leads'
WHERE secr.record_id = `tasks:leads:tasks:leads`.id
AND secg.deleted = 0) ) WHERE ( `tasks`.date_due BETWEEN "2018-01-22 00:00:00" AND "2018-01-29 00:00:00" AND (`tasks`.assigned_user_id = '' OR `tasks`.assigned_user_id IS NULL) AND `tasks`.status != 'Completed' ) AND tasks.deleted = 0 AND ( tasks.assigned_user_id ='653acc1b-45e2-06da-656c-54d9238e719e' or EXISTS (SELECT 1
FROM securitygroups secg
INNER JOIN securitygroups_users secu
ON secg.id = secu.securitygroup_id
AND secu.deleted = 0
AND secu.user_id = '653acc1b-45e2-06da-656c-54d9238e719e'
INNER JOIN securitygroups_records secr
ON secg.id = secr.securitygroup_id
AND secr.deleted = 0
AND secr.module = 'Tasks'
WHERE secr.record_id = tasks.id
AND secg.deleted = 0) ) ) as n: MySQL error 1054: Unknown column 'leads.assigned_user_id' in 'on clause'
Mon Jan 22 13:04:07 2018 [4731][653acc1b-45e2-06da-656c-54d9238e719e][FATAL] Query Failed: SELECT `tasks`.id AS 'tasks_id', `tasks`.name AS 'Subject0', `tasks:leads:tasks:leads`.first_name AS 'First_Name1', `tasks:leads`.last_name AS 'Last_Name2', `tasks`.date_due AS 'Due_Date3', `tasks:leads`.id AS 'tasks:leads_id', `tasks:leads:tasks`.id AS 'tasks:leads:tasks_id', `tasks:leads:tasks:leads`.id AS 'tasks:leads:tasks:leads_id' FROM `tasks` LEFT JOIN leads `tasks:leads` ON `tasks`.parent_id=`tasks:leads`.id AND `tasks:leads`.deleted=0
AND `tasks`.parent_type = 'Leads'
AND ( leads.assigned_user_id ='653acc1b-45e2-06da-656c-54d9238e719e' or EXISTS (SELECT 1
FROM securitygroups secg
INNER JOIN securitygroups_users secu
ON secg.id = secu.securitygroup_id
AND secu.deleted = 0
AND secu.user_id = '653acc1b-45e2-06da-656c-54d9238e719e'
INNER JOIN securitygroups_records secr
ON secg.id = secr.securitygroup_id
AND secr.deleted = 0
AND secr.module = 'Leads'
WHERE secr.record_id = `tasks:leads`.id
AND secg.deleted = 0) ) LEFT JOIN tasks `tasks:leads:tasks` ON `tasks:leads`.id=`tasks:leads:tasks`.parent_id AND `tasks:leads:tasks`.deleted=0
AND `tasks:leads:tasks`.parent_type = 'Leads'
AND ( tasks.assigned_user_id ='653acc1b-45e2-06da-656c-54d9238e719e' or EXISTS (SELECT 1
FROM securitygroups secg
INNER JOIN securitygroups_users secu
ON secg.id = secu.securitygroup_id
AND secu.deleted = 0
AND secu.user_id = '653acc1b-45e2-06da-656c-54d9238e719e'
INNER JOIN securitygroups_records secr
ON secg.id = secr.securitygroup_id
AND secr.deleted = 0
AND secr.module = 'Tasks'
WHERE secr.record_id = `tasks:leads:tasks`.id
AND secg.deleted = 0) ) LEFT JOIN leads `tasks:leads:tasks:leads` ON `tasks:leads:tasks`.parent_id=`tasks:leads:tasks:leads`.id AND `tasks:leads:tasks:leads`.deleted=0
AND `tasks:leads:tasks`.parent_type = 'Leads'
AND ( leads.assigned_user_id ='653acc1b-45e2-06da-656c-54d9238e719e' or EXISTS (SELECT 1
FROM securitygroups secg
INNER JOIN securitygroups_users secu
ON secg.id = secu.securitygroup_id
AND secu.deleted = 0
AND secu.user_id = '653acc1b-45e2-06da-656c-54d9238e719e'
INNER JOIN securitygroups_records secr
ON secg.id = secr.securitygroup_id
AND secr.deleted = 0
AND secr.module = 'Leads'
WHERE secr.record_id = `tasks:leads:tasks:leads`.id
AND secg.deleted = 0) ) WHERE ( `tasks`.date_due BETWEEN "2018-01-22 00:00:00" AND "2018-01-29 00:00:00" AND (`tasks`.assigned_user_id = '' OR `tasks`.assigned_user_id IS NULL) AND `tasks`.status != 'Completed' ) AND tasks.deleted = 0 AND ( tasks.assigned_user_id ='653acc1b-45e2-06da-656c-54d9238e719e' or EXISTS (SELECT 1
FROM securitygroups secg
INNER JOIN securitygroups_users secu
ON secg.id = secu.securitygroup_id
AND secu.deleted = 0
AND secu.user_id = '653acc1b-45e2-06da-656c-54d9238e719e'
INNER JOIN securitygroups_records secr
ON secg.id = secr.securitygroup_id
AND secr.deleted = 0
AND secr.module = 'Tasks'
WHERE secr.record_id = tasks.id
AND secg.deleted = 0) ) ORDER BY `tasks`.date_due ASC LIMIT 0,40: MySQL error 1054: Unknown column 'leads.assigned_user_id' in 'on clause'
Mon Jan 22 13:04:29 2018 [3741][83a956a0-3e2f-a820-0142-58923ba9bf28][FATAL] ERROR: rmdir_recursive(): argument cache/themes/SuiteR/modules is not a file or a dir.
Mon Jan 22 13:04:29 2018 [3741][83a956a0-3e2f-a820-0142-58923ba9bf28][FATAL] ERROR: rmdir_recursive(): argument cache/themes/Suite7/modules is not a file or a dir.
I did check the DB and that column does in fact exist however it gives the same error when I attempt the query in mysql. I haven’t a clue why.
Apart from trying what Adrian says, if you can try removing those {literal} tags on those two lines with errors, and see if it works, I would appreciate it.
This fixed the Scheduled Reports display problem! Thanks for everyones help!
I ended up reverting to a backup, rerunning the update, and setting the display view to tab. That fixed everything. I then merged in any data we had added since the backup. To make matters worse we were using the SuitePImproved theme and it took me a few minutes to remember to set the default theme. None of the subpannels would show any data with the SuitePImproved theme and 7.8.10 :(.
I will try to remove them when I have a moment. I will post the issue on github as well. It seems they might be misplaced as per my second screen shot of the console.
Also, as a note on the SuitePImproved theme, it seems all of the themes other than the base SuiteP have the same issue with Activity/History info not showing up as it should in subpanels. If this problem can be replicated I will stick it on GitHub as well, most of my organization absolutely despises the base SuiteP theme. It is the single reason we will not update to 7.9 so I am going to see if I can find a theme fix for 7.8.10.
I was sharing because both bundled themes, SuiteR and Suite7 seem to have the same issue with missing sub-panel info. I don’t mean to hijack the thread, only including the info in case anyone else who uses Suite7 or SuiteR themes upgrades and encounters a problem.