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.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Archive /

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

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

SilverStripe and Subversion


Go to End


3 Posts   2641 Views

Avatar
kenlomax

Community Member, 33 Posts

29 March 2007 at 3:36pm

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?

Regards
Ken Lomax

Avatar
Sigurd

Forum Moderator, 628 Posts

29 March 2007 at 8:06pm

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

Avatar
kenlomax

Community Member, 33 Posts

31 March 2007 at 5:59pm

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.

Regards
Ken