Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Point new install to old database?
rhino777
New
I can't for the life of me seem to get the pre-RC1 version of Vanilla to upgrade to RC1 properly. Although I can get through a fresh install. Is there any easy way to take a fresh install and point it back at my "old" pre-RC1 database?
0
Comments
I mean, "doesn't work" is quite generic, we need details to be able to help.
"Fatal error: Interface 'Gdn_IAuthenticator' not found in /var/www/bbs/library/core/class.passwordauthenticator.php on line 31"
is my first error when I try to go to the root website.
Upgrading RC1 & RC2 Vanilla 2 Forums
1. Sign into your existing forum with the user that has UserID = 1
2. Back up your database.
3. Back up all of your existing files.
4. Unarchive the new files and copy them over your existing files. Make sure that your hidden files (ie .htaccess) are copied to your server.
5. Navigate to the page in your forum that updates your database (this will not work if you did not sign in as UserID = 1): www.yourdomain.com/path/to/vanilla/utility/structure
6. Scroll to the bottom of the page and click the button to run the update scripts.
7. Navigate to your forum and test away!
I'm not 100% sure on step #5. I've tried several directories and either get permission errors or a completely blank page. I'm wondering if the path to the vanilla utility structure was changed from pre-RC1 to newer versions. Nothing really sticks out as being the right path. Thanks for any help you can provide.
If you're reading this, your browser's address bar has the following in it:
http://www.vanillaforums.org/discussion/11126/point-new-install-to-old-database
Lets break that URL into its constituent parts
The Scheme:http://
It should be pretty obvious what this is.
The Domain:
www.vanillaforums.org
This is the domain on which your forum is installed.
The Webroot:
http://www.vanillaforums.org/
This is the hardest one to understand. On vanillaforums.org, we've installed the forum at the topmost level of the web server's document root, so there are no additional folders in the URL. Lets say, however, that we installed Vanilla into a subfolder on our web server, and lets say we called that folder "myforum/". Now the web root would be: http://www.vanillaforums.org/myforum/. Basically, when in doubt, the web root is the shortest URL that gets you to the discussions list.
The Path:
discussion/11126/point-new-install-to-old-database
This is the "request" that Vanilla is processing for you. In this case, if we converted the path to pseudo English, it would sound something like: "give me the discussion with id number 11126". The title part is optional, and is only there to make links look nicer and to improve user experience and search engine optimization.
Now, back to Step 5
"Navigate to the page in your forum that updates your database (this will not work if you did not sign in as UserID = 1): www.yourdomain.com/path/to/vanilla/utility/structure""Navigate to the page in your forum" - This tells us to start with the Webroot. Cool, so right now our URL looks like this:
http://www.vanillaforums.org/
"that updates your database" - This is filler text, ignore it. It simply describes the page you are about to visit. URL still looks the same as before:
http://www.vanillaforums.org/
"(this will not work if you did not sign in as UserID = 1)" - This tells us to be logged in as the ORIGINAL CREATOR ACCOUNT of the forum. This is the user your created DURING THE INSTALL PROCESS. URL still looks the same, but we should now be logged in as the primary admin.
http://www.vanillaforums.org/
"www.yourdomain.com/path/to/vanilla/" - This is a common way of specifying URLs whose beginning is unknown to the writer. When we write "/path/to" it is a way of saying "the fully qualified path to ". This is basically a reiteration of the first part, where we say "Navigate to the page in your forum". URL stays the same.
http://www.vanillaforums.org/
"utility/structure" - And now we just tack this on the end of our URL:
http://www.vanillaforums.org/utility/structure
And that's it! If you did everything correctly, you should get a page that looks something like this (theme may vary):
Vanilla Forums COO [GitHub, Twitter, About.me]
Any other tips? Thanks again!
Then try.
Vanilla Forums COO [GitHub, Twitter, About.me]
I also had to delete the WhosOnline plugin but yeah we're finally up to 2.0.13.....wooooo! You don't know how long we've been unable to read old messages....hehe....THANKS TIM!
Thanks!