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.
"Fatal Error" after making discussions sticky.
Hey all,
I am new to this bb thing and I am not a php developer in the least, but I am a decent web designer and pretty good at puttering around and getting things to work. I installed Vanilla on my HOA website so my neighbors could communicate with each other, and everything was working wonderfully. Changed the theme... and everything still worked wonderfully. Started setting up some categories and some discussions... still everything was fine. Then, as the administrator of this site, I attempted to make my introduction "discussions" sticky. Once I clicked the "make discussion sticky link"... All I can get now is a fatal error. In fact, this is the error verbatim:
"Fatal error: Call to a member function on a non-object in /home/content/m/a/r/marilynridge/html/vanillaforum/library/Vanilla/Vanilla.Functions.php on line 18"
Any idea what's up? Why would making a discussion sticky do such damage? Like I said, I am not a php guy by any stretch... so you are welcome to talk down to me. That isn't an invitation to be an asshole, but nicely talking to me like I am 6 years old is fine.
Thanks so much in advance for your help!
Josh
0
This discussion has been closed.
Comments
You said neither the default theme nor the tabled one work?? Then maybe it is a language file problem...
// Added for Vanilla 1.1 on 2007-02-20
Next, look at your themes/tabled/comments.php file, and the themes/tabled/discussions.php file. Look for something labled DiscussionPrefix--you might have to do a find 'cause it might be buried in the middle of a line of code. it should have parentheses following it that makes it look just like this:
DiscussionPrefix($this->Context, $this->Discussion)
If you see $this->Context->Configuration take that ->Configuration out. Save/upload the files and see if that makes any diffrence.
An addition to the above notes: the discussion.php file will have just $Discussion inside instead of $this->Discussion--that is OK.