Answers.Body: <p>For a clean CiviCRM reinstall under Ubuntu / LAMP / Wordpress to work, the initial clearing of all CiviCRM related files is essential.  If there are any vestiges of a prior installation left, the reinstall will certainly fail (either with an Initialization error, or the "You do not have sufficient permissions..." error).</p>
  
  <p>Here are the necessary steps to reinstall (not upgrade) CiviCRM, using the desired / most recent version.</p>
  
  <pre><code>1. Review the directory structure to be sure it is as specified.  OK.
      1. Get to the proper directory:   
         (for my configuration:  var/www/wordpress/wp-content/plugins/).
      2. Remove all civicrm files and folders:  
  </code></pre>
  
  <blockquote>
  <pre><code>sudo rm -R ./civicrm
  </code></pre>
  </blockquote>
  
  <pre><code>    3. Remove civicrm log and cache files and folders:  
  </code></pre>
  
  <blockquote>
  <pre><code>cd ./files
  sudo rm -R ./civicrm
  </code></pre>
  </blockquote>
  
  <pre><code>    4. Remove the civicrm.settings.php file, if present from prior work.
  </code></pre>
  
  <blockquote>
  <pre><code>cd ../civicrm
  rm civicrm.settings.php
  </code></pre>
  </blockquote>
  
  <pre><code>    5. Check the wp-content/uploads directory for a civicrm subdirectory and files; 
         remove if found:  
  </code></pre>
  
  <blockquote>
  <pre><code>cd /var/www/wordpress/wp-content/uploads/
  ls -al
  (check for civicrm directory and files and remove if they exist)
  sudo rm -R ./civicrm
  </code></pre>
  </blockquote>
  
  <pre><code>2. Use wget to pull down the desire / most recent zip file.  OK.  
  
  3. Unzip the file.  OK.  
  
  4. Use sudo chown to set file ownership as appropriate.  OK.
  
  5. In your favorite browser, login to Wordpress and check the Wordpress plugins list to see if the CiviCRM plugin shows up (you may have to refresh the window).  OK.
  
  6. It does, click the Activate button.  OK.  
  
  7. Activated.  OK.  
  
  8. Navigate to:  https://yourwebsite.org/wp-admin/options-general.php?page=civicrm-settings  
  
  9. If success, you can now see the installation page.  
  
  10. Click the configure CiviCRM button and get the green bar screen! OK.
  </code></pre>
  
  <p>You have now reinstalled CiviCRM.  From here, follow the CiviCRM how-to for configuration details.  </p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-05-12T22:48:56.510Z
Answers.LastActivityDate: 2016-05-12T22:48:56.510Z
Answers.UserDisplayName: dvhirst
Body: <p>This is a re-install. I was unable to upgrade a previous version but it had not been used so I deleted all the CiviCRM tables.</p>
  
  <p>I then deleted the civicrm directory under plugins and in the wp root so theoretically, there should be no remnants of civicrm.</p>
  
  <p>I then unzip the .zip file into the plugins directory.</p>
  
  <p>After that, I activate CiviCRM in Wordpress. The first clue that something is wrong is that I get an Initialization Error with messages that say that the table civicrm_settings does not exist. Of course, it shouldn't exist because this is a new installation.</p>
  
  <p>I then tried to run http:///wp-admin/options-general.php?page=civicrm-install with my site and got the error <em>You do not have sufficient permissions to access this site</em>.</p>
  
  <p>The CiviCRM plugin is activated, as I said above.</p>
  
  <p>Is there something else I must clean up before I can install it?</p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-04-23T05:46:59.103Z
Comments.Text: I found another directory with CiviCRM files in it so I deleted that. I then was able to active CiviCRM without any table not found errors. I then went through the installation process and it completed successfully.
  
  Now, when I go to CiviCRM home and click on "View details and manage alerts", I get a white page with the single word "error" in the upper left. I am unable to do anything with CivicRM
  
  Seems that I am back at square 1
Comments.UserDisplayName: Vietyank
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-04-23T06:07:01.310Z
Comments.Text: There are no logs that give me any clue about is wrong
Comments.UserDisplayName: Vietyank
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-04-23T06:35:46.207Z
Comments.Text: here is what I see on the CiviCRM Home Page
  
  System Status: Error
  Cron Not Running
  Configure Default Mailbox
  Complete Setup
  View details and manage alerts
Comments.UserDisplayName: Vietyank
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-04-26T17:35:52.680Z
Comments.Text: Just a long shot, but how did you delete all the civicrm files to do a reinstall?  It sounds to me that from the message  "civicrm_settings does not exist" there may still be some remnants of the original civicrm installation somewhere.  I understand that to delete all files, you should be logged into Wordpress when deleting the plugin from the installed plugins in Wordpress Admin.  All the files may not have been deleted if you attempted to do so via FTP.  Also, have you re-started with a fresh database outside of the Wordpress database or as part of the Wordpress database?
Comments.UserDisplayName: peterb
Tags: <wordpress><install>
Title: Trying to install CiviCRM 4.7.6 under Wordpress get you do not have sufficient permissions to access this site
ThreadText: # Trying to install CiviCRM 4.7.6 under Wordpress get you do not have sufficient permissions to access this site
  
  (Asked by: username_0 on 2016-04-23)
  
  This is a re-install. I was unable to upgrade a previous version but it had not been used so I deleted all the CiviCRM tables.
  
  I then deleted the civicrm directory under plugins and in the wp root so theoretically, there should be no remnants of civicrm.
  
  I then unzip the .zip file into the plugins directory.
  
  After that, I activate CiviCRM in Wordpress. The first clue that something is wrong is that I get an Initialization Error with messages that say that the table civicrm\_settings does not exist. Of course, it shouldn't exist because this is a new installation.
  
  I then tried to run http:///wp-admin/options-general.php?page=civicrm-install with my site and got the error *You do not have sufficient permissions to access this site*.
  
  The CiviCRM plugin is activated, as I said above.
  
  Is there something else I must clean up before I can install it?
  
  **Tags:** wordpress, install
  
  > **Comments:**
  > **username_0**: I found another directory with CiviCRM files in it so I deleted that. I then was able to active CiviCRM without any table not found errors. I then went through the installation process and it completed successfully.  Now, when I go to CiviCRM home and click on "View details and manage alerts", I get a white page with the single word "error" in the upper left. I am unable to do anything with CivicRM  Seems that I am back at square 1  
  > **username_0**: There are no logs that give me any clue about is wrong  
  > **username_0**: here is what I see on the CiviCRM Home Page  System Status: Error Cron Not Running Configure Default Mailbox Complete Setup View details and manage alerts  
  > **username_1**: Just a long shot, but how did you delete all the civicrm files to do a reinstall?  It sounds to me that from the message  "civicrm_settings does not exist" there may still be some remnants of the original civicrm installation somewhere.  I understand that to delete all files, you should be logged into Wordpress when deleting the plugin from the installed plugins in Wordpress Admin.  All the files may not have been deleted if you attempted to do so via FTP.  Also, have you re-started with a fresh database outside of the Wordpress database or as part of the Wordpress database?  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_2 on 2016-05-12. Score: 1
  
  For a clean CiviCRM reinstall under Ubuntu / LAMP / Wordpress to work, the initial clearing of all CiviCRM related files is essential. If there are any vestiges of a prior installation left, the reinstall will certainly fail (either with an Initialization error, or the "You do not have sufficient permissions..." error).
  
  Here are the necessary steps to reinstall (not upgrade) CiviCRM, using the desired / most recent version.
  
  ```
  1. Review the directory structure to be sure it is as specified.  OK.
      1. Get to the proper directory:   
         (for my configuration:  var/www/wordpress/wp-content/plugins/).
      2. Remove all civicrm files and folders:  
  
  ```
  
  > ```
  > sudo rm -R ./civicrm
  >
  > ```
  
  ```
      3. Remove civicrm log and cache files and folders:  
  
  ```
  
  > ```
  > cd ./files
  > sudo rm -R ./civicrm
  >
  > ```
  
  ```
      4. Remove the civicrm.settings.php file, if present from prior work.
  
  ```
  
  > ```
  > cd ../civicrm
  > rm civicrm.settings.php
  >
  > ```
  
  ```
      5. Check the wp-content/uploads directory for a civicrm subdirectory and files; 
         remove if found:  
  
  ```
  
  > ```
  > cd /var/www/wordpress/wp-content/uploads/
  > ls -al
  > (check for civicrm directory and files and remove if they exist)
  > sudo rm -R ./civicrm
  >
  > ```
  
  ```
  2. Use wget to pull down the desire / most recent zip file.  OK.  
  
  3. Unzip the file.  OK.  
  
  4. Use sudo chown to set file ownership as appropriate.  OK.
  
  5. In your favorite browser, login to Wordpress and check the Wordpress plugins list to see if the CiviCRM plugin shows up (you may have to refresh the window).  OK.
  
  6. It does, click the Activate button.  OK.  
  
  7. Activated.  OK.  
  
  8. Navigate to:  https://yourwebsite.org/wp-admin/options-general.php?page=civicrm-settings  
  
  9. If success, you can now see the installation page.  
  
  10. Click the configure CiviCRM button and get the green bar screen! OK.
  
  ```
  
  You have now reinstalled CiviCRM. From here, follow the CiviCRM how-to for configuration details.
  
  
  ---
  
  