Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.


Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, biapar, Willr, Ingo, simon_w

SilverStripe and Subversion


3 Posts   1753 Views


29 March 2007 at 3:36pm Community Member, 33 Posts

In an effort to keep track of changes to the web sites on my server, I have started to use Subversion. On exisiting sites I have imported the site to a subversion repository, renamed the website folder (just in case) and then did a checkout of the site to a new folder with the old name.

This is working for the majority of sites I have (including a couple of Joomla! sites). However, when I do a checkout of a SilverStripe site, I am required to do a re-install by SilverStripe. As I am not sure if that will upset my site, I have been reluctant to do so, and have reverted to the backup copy in the meantime.

Any ideas about why I cant just do a check out and have everything working the way it was originally?

Ken Lomax


29 March 2007 at 8:06pm Forum Moderator, 628 Posts

keep the index.php and install.php files out of the picture, and ensure your mysite/_config.php is at the point it has your correct mysql username/password.

or are you doing that already? :P


31 March 2007 at 5:59pm Community Member, 33 Posts

Found the problem.

Svn had not copied the .htaccess file into the repository. When I restored it everything came right, even with the index and install files present.

I have done a "svn add" and it has now put the .htaccess file into the repository.