Body: <p>We have a Drupal 7 website which is migrated from another drupal 7 site to make a copy of it. On the new site CiviCRM was updated from civicrm 4.7.17 to civicrm 5.9.1. There are some civicrm extensions installed on the site. Those were hacked. So we want to uninstall those &amp; add new code &amp; again install it. But when I go to click the uninstall link on any extension it does not work through UI. </p>
  
  <ul>
  <li>How should I uninstall them manually &amp; run db update in civicrm ?</li>
  <li>I also tried creating a new empty extension directory &amp; changed the path of civicrm extension directory &amp; resource url. But it gave missing extension message on extension page for each extension.
  So how to run the DB update in civicrm ?</li>
  </ul>
  
  <p>Any help appreciated. Thanks in Advance.</p>
  
  <p>Adding to this it appears that there is possibly something more major ... not the extensions strictly</p>
  
  <p>in other words we have lost functionality not just enabling / disabling on the extensions page, but through-out, for example :</p>
  
  <p>-cannot see advanced search -cannot enable or uninstall extensions on page -cannot see configuration checklist</p>
  
  <p>for each, it shows the header, nothing else</p>
  
  <p>and in the profiles, cannot access advanced settings , it's just disappeared...</p>
  
  <p>didn't find an exact match to anything related, but somewhat similar to wp menus issue here Why is my Menu and dashboards not working on clean installation on Wordpress?</p>
  
  <p>First guesses :</p>
  
  <p>flush the cache or settings files? (cleanup cache didn't initially do anything) check resource urls and directories are all correct... or change /check settings in the civicrm.settings.php file ?</p>
  
  <p>H</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2019-02-06T08:42:48.497Z
Comments.Text: what do you mean by "it does not work through UI" - do you see any error? or it completes the process but does not uninstall the ext? If the uninstall link is not clickable - do you see any error in browser console?
Comments.UserDisplayName: jitendra - fuzion
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2019-02-06T11:46:54.047Z
Comments.Text: When I go to administrator > extension page & click on any uninstall link beside any extension it goes to siteurl/civicrm/admin/extensions?action=delete&id=extensionid&key=extensionkey but shows empty page instead of confirming the uninstall process like cancel or uninstall.
  I don't see any error in the console.
Comments.UserDisplayName: Prajakta
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2019-02-06T18:15:27.100Z
Comments.Text: is it possible the extensions code are not on the new site, eg are they in a directory, eg sites/default/civicrm/ext which you did not copy over to your new drupal instance?
Comments.UserDisplayName: petednz - fuzion
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2019-02-12T12:38:54.020Z
Comments.Text: Extension code is already on the new site in the proper directory.
Comments.UserDisplayName: Prajakta
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2019-02-14T04:13:35.603Z
Comments.Text: Since you are describing a site that was migrated it would be worthwhile going through all the steps and double check civicrm.settings.php, Directories, Resource URLs etc as I suspect something is mistyped somewhere
Comments.UserDisplayName: petednz - fuzion
Tags: <extension>
Title: Uninstall link on extension page not working after upgrading from civicrm 4.7 to 5.9
ThreadText: # Uninstall link on extension page not working after upgrading from civicrm 4.7 to 5.9
  
  (Asked by: username_0 on 2019-02-06)
  
  We have a Drupal 7 website which is migrated from another drupal 7 site to make a copy of it. On the new site CiviCRM was updated from civicrm 4.7.17 to civicrm 5.9.1. There are some civicrm extensions installed on the site. Those were hacked. So we want to uninstall those & add new code & again install it. But when I go to click the uninstall link on any extension it does not work through UI.
  
  * How should I uninstall them manually & run db update in civicrm ?
  * I also tried creating a new empty extension directory & changed the path of civicrm extension directory & resource url. But it gave missing extension message on extension page for each extension.
    So how to run the DB update in civicrm ?
  
  Any help appreciated. Thanks in Advance.
  
  Adding to this it appears that there is possibly something more major ... not the extensions strictly
  
  in other words we have lost functionality not just enabling / disabling on the extensions page, but through-out, for example :
  
  -cannot see advanced search -cannot enable or uninstall extensions on page -cannot see configuration checklist
  
  for each, it shows the header, nothing else
  
  and in the profiles, cannot access advanced settings , it's just disappeared...
  
  didn't find an exact match to anything related, but somewhat similar to wp menus issue here Why is my Menu and dashboards not working on clean installation on Wordpress?
  
  First guesses :
  
  flush the cache or settings files? (cleanup cache didn't initially do anything) check resource urls and directories are all correct... or change /check settings in the civicrm.settings.php file ?
  
  H
  
  **Tags:** extension
  
  > **Comments:**
  > **username_1**: what do you mean by "it does not work through UI" - do you see any error? or it completes the process but does not uninstall the ext? If the uninstall link is not clickable - do you see any error in browser console?  
  > **username_0**: When I go to administrator > extension page & click on any uninstall link beside any extension it goes to siteurl/civicrm/admin/extensions?action=delete&id=extensionid&key=extensionkey but shows empty page instead of confirming the uninstall process like cancel or uninstall. I don't see any error in the console.  
  > **username_2**: is it possible the extensions code are not on the new site, eg are they in a directory, eg sites/default/civicrm/ext which you did not copy over to your new drupal instance?  
  > **username_0**: Extension code is already on the new site in the proper directory.  
  > **username_2**: Since you are describing a site that was migrated it would be worthwhile going through all the steps and double check civicrm.settings.php, Directories, Resource URLs etc as I suspect something is mistyped somewhere  
  
  ---
  
  ## 0 answers
  
  