Answers.Body: <p>What I wound up doing to fix this was to delete the plugin then manually delete all of the tables in the database for CiviCRM. Then reinstall the plugin and it worked. So it was hung up on something in the database itself.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2022-02-07T19:29:06.510Z
Answers.LastActivityDate: 2022-02-07T19:29:06.510Z
Answers.UserDisplayName: Renshi
Answers.Body: <p>There are files installed as part of the plugin package (<code>wp-content/plugins/civicrm</code>), and other files that are created (<code>wp-content/uploads/civicrm</code> ... but I think that location has changed since CiviCRM 4.x).</p>
  <p>It has found a <code>civicrm.settings.php</code> file.  Remove the plugin and look for that file - then remove it and all the other Civi-related files.</p>
  <p>After that, upload again to the plugins directory and try installing.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2022-02-07T14:29:45.713Z
Answers.LastActivityDate: 2022-02-07T14:29:45.713Z
Answers.UserDisplayName: Aidan
Body: <p>So a long time ago we had played around with version 4.x on this site. I deleted it and I deleted the folder in the uploads folder. Then I unzipped the new zip file on my PC and uploaded it to the plugins directory. I then Activated it inside WordPress and when I go to the CiviCRM installer I see this on the screen for a second or two then it moves me to a page that says &quot;Sorry, you are not allowed to access this page.&quot; I'm not sure where to go from here. We are using WordPress 5.9 and PHP 7.4</p>
  <p><a href="https://i.sstatic.net/uE6d1.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/uE6d1.png" alt="enter image description here" /></a></p>
  
Tags: <installation>
Title: Sorry, you are not allowed to access this page. WordPress version
ThreadText: # Sorry, you are not allowed to access this page. WordPress version
  
  (Asked by: username_0 on 2022-01-27)
  
  So a long time ago we had played around with version 4.x on this site. I deleted it and I deleted the folder in the uploads folder. Then I unzipped the new zip file on my PC and uploaded it to the plugins directory. I then Activated it inside WordPress and when I go to the CiviCRM installer I see this on the screen for a second or two then it moves me to a page that says "Sorry, you are not allowed to access this page." I'm not sure where to go from here. We are using WordPress 5.9 and PHP 7.4
  
  [![enter image description here](https://i.sstatic.net/uE6d1.png)](https://i.sstatic.net/uE6d1.png)
  
  **Tags:** installation
  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_0 on 2022-02-07. Score: 1 | Accepted answer
  
  What I wound up doing to fix this was to delete the plugin then manually delete all of the tables in the database for CiviCRM. Then reinstall the plugin and it worked. So it was hung up on something in the database itself.
  
  
  ---
  
  ### Answer by username_1 on 2022-02-07. Score: 0
  
  There are files installed as part of the plugin package (`wp-content/plugins/civicrm`), and other files that are created (`wp-content/uploads/civicrm` ... but I think that location has changed since CiviCRM 4.x).
  
  It has found a `civicrm.settings.php` file. Remove the plugin and look for that file - then remove it and all the other Civi-related files.
  
  After that, upload again to the plugins directory and try installing.
  
  
  ---
  
  