I get this. Fatal error: Call to a member function DefinePermissions() on a non-object in /home/mcwh/public_html/forum/library/core/class.session.php on line 318
Second, if you open /public_html/forum/library/core/class.session.php and go to line 318, what do you see? You need to find the object, the DefinePermissions() method is accessed from.
Look above this line (5 lines above, usually the start of the function) why the object is not defined (message is a 'non-object'). Try to conclude the reason, otherwise copy / paste 5 lines above / 5 lines under line 318 (or start of the function, whichever is closest) in this thread.
So you have the master branch. If you look in the link I gave (branching model) either look in the 'develop' branch or in the 'release branch'
See if you can reproduce the problem that you had with the master branch in either of those 2 branches (develop or release).
For every problem you have, the same tips I gave still apply : Try to interpret the error, look above your line of error why this thing happened, then either solve the problem or copy / paste approximately 10 lines of code concerning the problem.
Great, thanks! Next question: In order to test my localization right from the start, I do it how? Copypaste all strings to definitions.php before I start the installation?
@Sheila: No, you make a locale plugin. Go to /locales, copy the skeleton folder and give it a name (e.g. en-US or whatever makes sense to you). Then copy the strings in the definitions.php.
Alternatively you can also just create 2 files with the core and dashboard seperately as it is on transifex. In this case you will want to keep the definitions.php with only containing the info data.
Comments
Which branch did you install from gitHub?
Refer to http://vanillaforums.org/discussion/19820/vanilla-forums-git-branching-model for which branch to install.
Second, if you open /public_html/forum/library/core/class.session.php and go to line 318, what do you see? You need to find the object, the DefinePermissions() method is accessed from.
Look above this line (5 lines above, usually the start of the function) why the object is not defined (message is a 'non-object'). Try to conclude the reason, otherwise copy / paste 5 lines above / 5 lines under line 318 (or start of the function, whichever is closest) in this thread.
What to do if I get a Bonk Error?
Vanilla Wiki : Join and help edit our Wiki! | View all Vanilla issues on GitHub | Report a new Vanilla issue on GitHub
Deploying a new Forum and adding a Theme | Give thanks to the Vanilla Developers!
- Spam
- Abuse
0 · Insightful Awesome LOL ·I just went to https://github.com/vanillaforums/Garden and clicked the ZIP button.
- Spam
- Abuse
0 · Insightful Awesome LOL ·So you have the master branch. If you look in the link I gave (branching model) either look in the 'develop' branch or in the 'release branch'
See if you can reproduce the problem that you had with the master branch in either of those 2 branches (develop or release).
For every problem you have, the same tips I gave still apply : Try to interpret the error, look above your line of error why this thing happened, then either solve the problem or copy / paste approximately 10 lines of code concerning the problem.
What to do if I get a Bonk Error?
Vanilla Wiki : Join and help edit our Wiki! | View all Vanilla issues on GitHub | Report a new Vanilla issue on GitHub
Deploying a new Forum and adding a Theme | Give thanks to the Vanilla Developers!
- Spam
- Abuse
0 · Insightful Awesome LOL ·NVM, I got it to work.
- Spam
- Abuse
0 · Insightful Awesome LOL ·If I wanna test 2.1, that is the url to download it?
- Spam
- Abuse
0 · Insightful Awesome LOL ·I think it's this one: https://github.com/vanillaforums/Garden/tree/develop
What to do if I get a Bonk Error?
Vanilla Wiki : Join and help edit our Wiki! | View all Vanilla issues on GitHub | Report a new Vanilla issue on GitHub
Deploying a new Forum and adding a Theme | Give thanks to the Vanilla Developers!
- Spam
- Abuse
0 · Insightful Awesome LOL ·I believe in most cases you want to take the zip from here to test ver 2.1 (but I've been wrong before).
https://github.com/vanillaforums/Garden
it will say in index.php define('APPLICATION_VERSION', '2.1a19');
factoid: Most questions have been previously answered, try the search box first, please provide your Vanilla version Number!
Peregrine's Addons - donations gladly accepted for "successful solutions" and addons - kind of like tipping a waiter at a restaurant
- Spam
- Abuse
1 · Insightful 1Awesome LOL ·Great, thanks! Next question: In order to test my localization right from the start, I do it how? Copypaste all strings to definitions.php before I start the installation?
- Spam
- Abuse
1 · Insightful 1Awesome LOL ·@Sheila: No, you make a locale plugin. Go to /locales, copy the skeleton folder and give it a name (e.g. en-US or whatever makes sense to you). Then copy the strings in the definitions.php.
Alternatively you can also just create 2 files with the core and dashboard seperately as it is on transifex. In this case you will want to keep the definitions.php with only containing the info data.
- Spam
- Abuse
1 · Insightful 1Awesome LOL ·Thank you @HalfCat !
- Spam
- Abuse
2 · Insightful 2Awesome LOL ·