Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » SilverStripe and Subversion

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

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

Page: 1
Go to End
Author Topic: 1734 Views
  • kenlomax
    Avatar
    Community Member
    33 Posts

    SilverStripe and Subversion Link to this post

    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

  • Sigurd
    Avatar
    Forum Moderator
    628 Posts

    Re: SilverStripe and Subversion Link to this post

    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?

  • kenlomax
    Avatar
    Community Member
    33 Posts

    Re: SilverStripe and Subversion Link to this post

    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

    1734 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.