Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I'm working with a team of developers on a new site and we've experienced an issue. All of have a local install (under SVN) of WP 3.1.3 running on our machines, but we're all connected to the same remote database.

The issue comes in when one of us creates a new plugin and installs it. Until the plugin files are checked-in to the SVN repository, and the other devs check-out the new plugin files, WP will deactivate the plugin (since we're all on the same db, but different local installs) if it can't find the plugin file on another dev's machine who happens to be in the WP Dashboard.

So for example:

  1. Dev A creates a plugin, and installs it. The files are local on his machine. He checks then into SVN.
  2. Dev B is in the dashboard, and hasn't gotten latest from the SVN repository so WP deactivates the plugin that Dev A just created since it can't find the files on Dev B's machine.

Is there any way around this other than each dev having a local db installed?

Any help would be much appreciated!

share|improve this question

2 Answers 2

up vote 0 down vote accepted

I recently had a similar issue, sadly, the only way around it was either local database for each Dev team or all dev teams working on a shared remote environment.

Save your self the time and brain melt downs looking for another solution and pick whichever works better for you and go with it.

share|improve this answer
    
thanks for the heads-up! –  darrinb Jul 1 '11 at 12:27

There's an answer to a similar question here. =D

You can create several wp-config.php files -- one for each branch of the project -- and commit them. Then you have to organize things to make sure that more impactive stages of the development (like creating new plugins) will be made in new branches.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.