Have a question about CiviCRM? Get it answered quickly at the new CiviCRM Stack Exchange Q+A siteThis forum was archived on 25 November 2017. Learn more.How to get involved.What to do if you think you've found a bug.
Should I first run the entire block below CRM 7796 in the 3.4.1. file manually, and then delete these lines (including the CRM-7796 line?) from that file?
=> -2 [message] => DB Error: syntax error [mode] => 16 [debug_info] => DELETE FROM civicrm_navigation where name = 'CiviCampaign';DELETE FROM civicrm_navigation where name = 'Survey Types';DELETE FROM civicrm_navigation where name = 'Campaign Types';DELETE FROM civicrm_navigation where name = 'Campaign Status';DELETE FROM civicrm_navigation where name = 'Engagement Index';SELECT @administerID := MAX(id) FROM civicrm_navigation where name = 'Administer';SELECT @adminCampaignWeight := MAX(weight)+1 FROM civicrm_navigation where parent_id = @administerID;INSERT INTO civicrm_navigation ( domain_id, url, label, name, permission, permission_operator, parent_id, is_active, has_separator, weight )VALUES ( 1, NULL, 'CiviCampaign', 'CiviCampaign', 'administer CiviCampaign,administer CiviCRM', 'AND', @administerID, '1', NULL, @adminCampaignWeight );SET @adminCampaignID:=LAST_INSERT_ID();INSERT INTO civicrm_navigation ( domain_id, url, label, name, permission, permission_operator, parent_id, is_active, has_separator, weight )VALUES ( 1, 'civicrm/admin/campaign/surveyType&reset=1', 'Survey Types', 'Survey Types', 'administer CiviCampaign', '', @adminCampaignID, '1', NULL, 1 ), ( 1, 'civicrm/admin/options/campaign_type&group=campaign_type&reset=1', 'Campaign Types', 'Campaign Types', 'administer CiviCampaign', '', @adminCampaignID, '1', NULL, 2 ), ( 1, 'civicrm/admin/options/campaign_status&group=campaign_status&reset=1', 'Campaign Status', 'Campaign Status', 'administer CiviCampaign', '', @adminCampaignID, '1', NULL, 3 ), ( 1, 'civicrm/admin/options/engagement_index&group=engagement_index&reset=1','Engagement Index', 'Engagement Index', 'administer CiviCampaign', '', @adminCampaignID, '1', NULL, 4 );
=> -2 [message] => DB Error: syntax error [mode] => 16 [debug_info] => ALTER TABLE `civicrm_dashboard` ADD `fullscreen_url` VARCHAR( 255 ) CHARACTER SET utf8 COLLATE utf8_unicode_ci NULL DEFAULT NULL COMMENT 'fullscreen url for dashlet';UPDATE `civicrm_dashboard` SET fullscreen_url='civicrm/dashlet/activity&reset=1&snippet=4&context=dashletFullscreen' WHERE url='civicrm/dashlet/activity&reset=1&snippet=4';UPDATE `civicrm_dashboard` SET fullscreen_url='civicrm/dashlet/myCases&reset=1&snippet=4&context=dashletFullscreen' WHERE url='civicrm/dashlet/myCases&reset=1&snippet=4';UPDATE `civicrm_dashboard` SET fullscreen_url='civicrm/dashlet/allCases&reset=1&snippet=4&context=dashletFullscreen' WHERE url='civicrm/dashlet/allCases&reset=1&snippet=4';DELETE FROM civicrm_navigation where name = 'CiviCampaign';DELETE FROM civicrm_navigation where name = 'Survey Types';DELETE FROM civicrm_navigation where name = 'Campaign Types';DELETE FROM civicrm_navigation where name = 'Campaign Status';DELETE FROM civicrm_navigation where name = 'Engagement Index';-------------------------------------------Afterwards I managed to add the field 'fullscreen url' manually but it is of not much use I think. This is an upgrade from 3.4.0 to 3.4.1