Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

FUBAR: move from subdir to domain

edited May 2007 in Vanilla 1.0 Help
*sigh* i was moving my forum in its test diretory to its own domain things were screwed from the start, just like a typical noob. some questions Q) is there a way to use the old database in the new site?


  • lechlech Chicagoland
    A) if you're comfortable with doing a few small edits, everything should be salvageable.

    You'll want to jump into your /conf/ directly and make backups just for reference and pull a copy of the database in case anything does go terribly wrong. You'll want to modify /conf/settings.php to reflect that your Vanilla installation moved to the root directly by knocking out it's old folder name from those settings. If my counting is correct, there's 8 or 9 of these and for $Configuration['WEB_ROOT'] = you'll it to look like

    $Configuration['WEB_ROOT'] = '/';

    After all of that, if you have phpMyAdmin or an equivalent mySQL tool, you'll want to modify the LUM_Style table and edit all URL rows to reflect the new relative location for each theme Vanilla recognized in the previous version which are still installed. Providing all goes well with those 2 "minor" edits your forum should be running under the same database again.

    Just make sure your /conf/ folder and files within it retain the correct read and write permissions.
  • *whew* thanks.thats pretty much what i guessed and now i know why it didnt work "modify the LUM_Style table and edit all URL rows" i didnt think about that. thanks a bunch. DemoC
  • lechlech Chicagoland
    Yeah, the relative paths there should simply need to be corrected as it stores part of your old directory structure.
  • newbie Q: does FUBAR mean / represent anything ?
  • thank you lech: i am no longer a newbie; you are the wise poet !
  • ... or just watch "Saving Private Ryan"
This discussion has been closed.