Answers.Body: <p>Oké, thanks for your help. The issue indeed had to do with the test-version in the subdirectory. I am new to CiviCRM and didn't know that you had a seperate settings-file in which you have to configure the database settings. I thought that changing the wordpress settings would be enough. What went wrong is that I changed the wordpress settings, but CiviCRM was still configured for the production database.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-08-31T20:30:48.620Z
Answers.LastActivityDate: 2017-08-31T20:30:48.620Z
Answers.UserDisplayName: M. Heijman
Answers.Body: <p>Please check related question and answer on this link: <a href="https://civicrm.stackexchange.com/questions/11350/how-do-i-deal-with-your-database-has-already-been-upgraded-error">How do I deal with &quot;Your database has already been upgraded&quot; error?</a></p>
  
  <p>Also see documentation on upgrading CiviCRM for Wordpress on the following link: <a href="https://wiki.civicrm.org/confluence/display/CRMDOC/Upgrading+CiviCRM+for+Wordpress" rel="nofollow noreferrer">https://wiki.civicrm.org/confluence/display/CRMDOC/Upgrading+CiviCRM+for+Wordpress</a></p>
  
  <p>It is also recommended to use the CiviCRM stackExchange search to check if a similar question has already been asked before posting a new question. </p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-08-21T17:05:00.340Z
Answers.Text: I checked out all the other questions, and, as I said before, I did everything according to the update manual. The problem might be that I am trying to update a test version which is running in a subdirectory of the production version. Of course the production version still contains the old files... Could that be the case?
Answers.UserDisplayName: M. Heijman
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-08-21T18:51:44.970Z
Answers.Text: If i understand you well, it means you are running the test version on the same server as production, can you just check your settings file to be sure that the test version is not trying to use the same database with that of production?
Answers.UserDisplayName: Kboy
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-08-23T09:15:10.367Z
Answers.Text: Yes, that's correct: I run the test version on the same server as the production version. I dubble checked the configuration: both versions are defnitly using different databases with different users.
Answers.UserDisplayName: M. Heijman
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-08-20T06:59:24.133Z
Answers.LastActivityDate: 2017-08-20T07:06:17.873Z
Answers.LastEditDate: 2017-08-20T07:06:17.873Z
Answers.UserDisplayName: Kboy
Body: <p>Trying to update from Wordpress CiviCRM 4.7.11 > 4.7.23.
  Update script does not work. Keep getting the same message:</p>
  
  <p>"Sorry but we are not able to provide this at the moment. Your database has already been upgraded to CiviCRM 4.7.11"</p>
  
  <p>I did everything exactly as described: stayed logged in during the process, removed the complete civicrm plugin, installed the new version, removed cache files, cleared browser cache etc.</p>
  
  <p>Does anybody know what the problem is? I know there must be old files somewhere. But where?</p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-08-20T00:45:59.790Z
Comments.Text: sometimes get this if you have left the old codebase around eg in a renamed directory. have you def. removed the old codebase?
Comments.UserDisplayName: petednz - fuzion
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-08-20T17:56:49.747Z
Comments.Text: Possible duplicate of [How do I deal with "Your database has already been upgraded" error?](https://civicrm.stackexchange.com/questions/11350/how-do-i-deal-with-your-database-has-already-been-upgraded-error)
Comments.UserDisplayName: Jon G - Megaphone Tech
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-08-21T17:07:53.087Z
Comments.Text: I checked out all the other comments... Still I get the error. The problem might be that I am updating a test version which I put in a subdirectory of the production version. The production version still contains the old code.
Comments.UserDisplayName: M. Heijman
Tags: <wordpress><upgrade>
Title: Update script fails: database already upgraded
ThreadText: # Update script fails: database already upgraded
  
  (Asked by: username_0 on 2017-08-19)
  
  Trying to update from Wordpress CiviCRM 4.7.11 > 4.7.23.
  Update script does not work. Keep getting the same message:
  
  "Sorry but we are not able to provide this at the moment. Your database has already been upgraded to CiviCRM 4.7.11"
  
  I did everything exactly as described: stayed logged in during the process, removed the complete civicrm plugin, installed the new version, removed cache files, cleared browser cache etc.
  
  Does anybody know what the problem is? I know there must be old files somewhere. But where?
  
  **Tags:** wordpress, upgrade
  
  > **Comments:**
  > **username_1**: sometimes get this if you have left the old codebase around eg in a renamed directory. have you def. removed the old codebase?  
  > **username_2**: Possible duplicate of [How do I deal with "Your database has already been upgraded" error?](https://civicrm.stackexchange.com/questions/11350/how-do-i-deal-with-your-database-has-already-been-upgraded-error)  
  > **username_0**: I checked out all the other comments... Still I get the error. The problem might be that I am updating a test version which I put in a subdirectory of the production version. The production version still contains the old code.  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_0 on 2017-08-31. Score: 0 | Accepted answer
  
  Oké, thanks for your help. The issue indeed had to do with the test-version in the subdirectory. I am new to CiviCRM and didn't know that you had a seperate settings-file in which you have to configure the database settings. I thought that changing the wordpress settings would be enough. What went wrong is that I changed the wordpress settings, but CiviCRM was still configured for the production database.
  
  
  ---
  
  ### Answer by username_3 on 2017-08-20. Score: 1
  
  Please check related question and answer on this link: [How do I deal with "Your database has already been upgraded" error?](https://civicrm.stackexchange.com/questions/11350/how-do-i-deal-with-your-database-has-already-been-upgraded-error)
  
  Also see documentation on upgrading CiviCRM for Wordpress on the following link: <https://wiki.civicrm.org/confluence/display/CRMDOC/Upgrading+CiviCRM+for+Wordpress>
  
  It is also recommended to use the CiviCRM stackExchange search to check if a similar question has already been asked before posting a new question.
  
  > **Comments:**
  > **username_0**: I checked out all the other questions, and, as I said before, I did everything according to the update manual. The problem might be that I am trying to update a test version which is running in a subdirectory of the production version. Of course the production version still contains the old files... Could that be the case?  
  > **username_3**: If i understand you well, it means you are running the test version on the same server as production, can you just check your settings file to be sure that the test version is not trying to use the same database with that of production?  
  > **username_0**: Yes, that's correct: I run the test version on the same server as the production version. I dubble checked the configuration: both versions are defnitly using different databases with different users.  
  
  ---
  
  