Hey all,
I love Vanilla 1 to bits and was keen to try Vanilla 2 but kept running into issues which I could not resolve. I've finally got it up and running with the help of some helpful folk on this forum so I decided to write an extended how-to for Vanilla 2 in case you encounter similar problems to me.
I'd like to reiterate the developers' comments first by saying Vanilla 2 is still in development so you should bear this in mind if you intend on using it on a live site. It could be prone to unexpected bugs/behaviour. If you're unsure/concerned,
use Vanilla 1 instead.
Extended How-to install Garden/Vanilla 21. Download the
latest stable release of Garden from GitHub. What's Garden? It's the platform on which Vanilla runs - but don't fret, Vanilla forum is bundled in with this download.
2. Extract the .zip or .tar and copy the contents into the desired folder on your server.
Remember to upload the .htaccess file in the root directory which may not be visible to you if you have these types of files hidden. Most FTP programs have an option to show invisible files if it isn't already set by default.
3. In /conf/config-defaults.php consider uncommenting line 47:
// $Configuration['Garden']['Errors']['MasterView'] = 'deverror.master.php'; // <-- Use this error master view when debuggingThis will enable verbose error messages and is very useful when installing and setting up. These messages will help other forum users with diagnosing any problems you encounter. Of course, once happy with your setup, it's recommended to comment out this line once again, so users encounter 'pretty errors'.
4. Grant Read/Write permissions (777) to /cache/, /conf/, and /uploads/
[EDIT] If your server is setup correctly, you shouldn't need to change these permissions - doing so is a security flaw. See the rest of the discussion for more info (thanks to those for highlighting this)5. Create a database (name does not matter).
6. Browse to your install folder in your web browser, and follow the instructions on-screen.
As I said, if you encounter any errors and have completed step 3, you
should have a verbose error - post this and any information about your server (PHP version etc.) and the steps you performed leading up to the error into the community forums.
Hope that helps - thanks to
@benno and
@bean for their help in getting my install working. I used their advice, my experience and the
Documentation to provide the above information.
Good luck!
Comments
- Spam
- Abuse
- Troll
4 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
1 • Off Topic Insightful Awesome LOL •I'd call 777 permissions a security flaw up there with not filtering user input before it gets put in a database query.
An excellent and helpful post otherwise. :)
Developer at Vanilla Forums, Inc. [GitHub, Twitter]
- Spam
- Abuse
- Troll
3 • Off Topic Insightful Awesome LOL •Mark, can you comment on this at all?
- Spam
- Abuse
- Troll
1 • Off Topic Insightful Awesome LOL •Most of the time 777 is not needed.
Directory need 755 (read/execute for all plus write for owner), and files inside can be 644 (read for all, and write for owner).
- Spam
- Abuse
- Troll
1 • Off Topic Insightful Awesome LOL •Developer at Vanilla Forums, Inc. [GitHub, Twitter]
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
1 • Off Topic Insightful Awesome LOL •@Lincoln I've got a free hoster, shared with a friend, now I can do it! :D
I've got a 'Kind-of Mate' named Geoff G. He has a site named Sploder.info, it's completly amazing. Plus he used Vanilla 1, but he's got a Thanks button, report Post button and Quote button. You can Ip scan, and more. I think looking at this, it wil really help with new Updates...
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •4. Grant Read/Write permissions (777) to /cache/, /conf/, and /uploads/
I do not like this at all. You should work out what user/group needs to write to these directories (I guess www-data in Debian/Ubuntu) and make the directory permission match those. Otherwise, on machine that have many users, this is a security risk as anyone can do whatever they want to this directory.
Overall, @iamkeir thanks for this!
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •Can you tell me if the latest version requires Pdo_MySQL
Regards
Robert
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •PHP 5.2.9 with Suhosin-Patch 0.9.7 (cli) (built: Mar 16 2009 18:29:43)
Zend Engine v2.2.0
MySQL Server version: 5.0.85
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
-2 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •today, I downloaded the latest version of Vanilla 2 (Lussumo-Garden-ab7e046). The problem is that when I install it everything works perfectly but I can not log-in. I can not access the administrator user that I put in the installation.
Thank you very much everyone for your responses. CTW.
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •Maybe you double mistyped your password, so please re-install :). Otherwise add this to your conf/config.php file and post the problem/results in a new thread:
$Configuration['Garden']['Errors']['MasterView'] = 'deverror.master.php';
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •At the step 6, I can see this :
"Parse error: syntax error, unexpected T_OBJECT_OPERATOR in /homez.338/website/www/forum2/index.php on line 30"
The 30th line is
Gdn::Session()->Start(Gdn::Authenticator());
and I didn't altered it.
Another question : This forum is on Vanilla 2 ?
I have just installed Vanilla 1.1.10, works great but don't have the slide menu at the right, and other things, as here we are. Normal ?
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •Thank you for answering. I will copy the code then.
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •Fatal error: Class 'PDO' not found in /home/dan/public_html/lussumo-Garden-634f9d6/conf/config-defaults.php on line 16
Any help?
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •It's even mentionned a few comments above.
Maybe it will be a good idea to add a link to the requirements (or copy them) on the comment that started this discussion.
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •There may be a more granular way to solve this as well.
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •Developer at Vanilla Forums, Inc. [GitHub, Twitter]
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •