Jump to:

1036 Posts in 810 Topics by 315 members

Forum Module

SilverStripe Forums » Forum Module » Uninstalling forum-v0.1.2

Discuss the Forum Module.

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

Page: 1
Go to End
Author Topic: 1087 Views
  • mikedaul
    Community Member
    6 Posts

    Uninstalling forum-v0.1.2 Link to this post

    I've got a very strange problem...

    I tried to update my 0.1.2 forum to 0.2. I just did this by deleting the 'forum' folder on my server, then creating a new folder and copying over the 0.2 files, and then running [mysite]/db/build?flush=1.

    Doing that locked me out of the admin, akin to this problem:

    I tried this fix:

    But it didn't work.

    So, I tried reuploading the 0.1.2 version files to the 'forum' folder, and that lets me back into the admin. Fine.

    But, I really want to use the new 0.2 version.

    So, I tried deleting the 'forum' folder again, and then dropping all of the forum-related tables in the DB:

    I run [mysite]/db/build?flush=1 again and it rebuilds all of the forum tables (and locks me out of the admin again)!!

    What the heck is going on with this? How can I make the silverstripe install think that I never installed the forums in the first place? If I copy the 0.1.2 forum files onto the server again I can get back to the admin again - also, while in general I've been using a custom theme, during all this madness I've reverted to the default black-candy theme.

    I've got all of my tables backed up, so in theory I could nuke the whole SS install and start over from scratch, but I'd rather avoid that if at all possible.

    Any ideas about how I can make the 0.1.2 forums go away for good? I'm trying to get a site launched real soon so any help is greatly appreciated...

    Thanks for any help!

  • mikedaul
    Community Member
    6 Posts

    Re: Uninstalling forum-v0.1.2 Link to this post

    I gave up and reinstalled SS, installed the .2 version straight away and everything seems fine. I'd still like to know how to cleanly uninstall the forums module though...

  • Willr
    Forum Moderator
    5502 Posts

    Re: Uninstalling forum-v0.1.2 Link to this post

    To do a 'clean' uninstall you should just need to delete the forum folder and remove all the forum* database tables (which i think if you remove the module 2.3 should rename the tables to _obsolete_forum*.

    As for the error - you should turn on development mode (http://doc.silverstripe.com/doku.php?id=debugging) when upgrading modules as this will report any warnings and errors in full rather then the generic error page.

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.