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.

Problem with vanilla.functions.php

edited April 2007 in Vanilla 1.0 Help
I upgraded to 1.1.2 and on the main discussions page (http://www.reachrecords.com/speak), which has several sticky announcements, I get this: ************************************************************** Notice: Undefined index: TEXT_STICKY in /home/.figoro/reachrecords/reachrecords.com/speak/library/Vanilla/Vanilla.Functions.php on line 18 Notice: Undefined index: TEXT_STICKY in /home/.figoro/reachrecords/reachrecords.com/speak/library/Vanilla/Vanilla.Functions.php on line 19 Notice: Undefined index: TEXT_STICKY in /home/.figoro/reachrecords/reachrecords.com/speak/library/Vanilla/Vanilla.Functions.php on line 18 Notice: Undefined index: TEXT_STICKY in /home/.figoro/reachrecords/reachrecords.com/speak/library/Vanilla/Vanilla.Functions.php on line 19 Notice: Undefined index: TEXT_STICKY in /home/.figoro/reachrecords/reachrecords.com/speak/library/Vanilla/Vanilla.Functions.php on line 18 Notice: Undefined index: TEXT_STICKY in /home/.figoro/reachrecords/reachrecords.com/speak/library/Vanilla/Vanilla.Functions.php on line 19 Notice: Undefined index: TEXT_STICKY in /home/.figoro/reachrecords/reachrecords.com/speak/library/Vanilla/Vanilla.Functions.php on line 18 Notice: Undefined index: TEXT_STICKY in /home/.figoro/reachrecords/reachrecords.com/speak/library/Vanilla/Vanilla.Functions.php on line 19 Notice: Undefined index: TEXT_STICKY in /home/.figoro/reachrecords/reachrecords.com/speak/library/Vanilla/Vanilla.Functions.php on line 18 Notice: Undefined index: TEXT_STICKY in /home/.figoro/reachrecords/reachrecords.com/speak/library/Vanilla/Vanilla.Functions.php on line 19 ************************************************************** Any suggestions?

Comments

  • You sure you uploaded all the files fully? Seems to me you're running an outdated version of that file at least.
  • I replaced the vanilla.functions.php, and now it gives me this error: Fatal error: Call to a member function on a non-object in /home/.figoro/reachrecords/reachrecords.com/speak/library/Vanilla/Vanilla.Functions.php on line 18 You were right, I hadn't upgraded the old file. Do you know what it wrong now? Thanks minisweeper
  • My best guess is that if that file didnt quite get uploaded right then there might be a whole bunch of others that didnt...Have you tried reuploading everything?
  • MarkMark Vanilla Staff
    You are using a custom theme, right?

    1.1.1 Upgrade problem # 9
  • Mini, I reuploaded everything again, still the same error. Mark, I only have the default theme working with no others installed. My error is: Fatal error: Call to a member function on a non-object in /home/.figoro/reachrecords/reachrecords.com/speak/library/Vanilla/Vanilla.Functions.php on line 18
  • Sorry Mark, I'm not really sure what I need to do with the info on that post. I'm new to this. Are you saying put that code into those files somewhere?
  • yea he problaby wants you to copy paste those code lines into your language file : probably languages/english/definitions.php (sorry dont have ftp or a good enoug memory atm :)
  • I tried to paste it in the conf/languages.php file because it said not to alter the languages/english/definitions.php. I'm still getting the error on the main page of my vanilla board: Fatal error: Call to a member function on a non-object in /home/.figoro/reachrecords/reachrecords.com/speak/library/Vanilla/Vanilla.Functions.php on line 18 Any ideas?
  • uhm. its ok to alter that file. thats where you change the text that appears on your website. if u want to make a translation, what you would do is copy this definition.php file and alter it.
  • it says in the definitions file "DO NOT ALTER", but instead add it to the conf/languages.php cause it will override the definitions.php
  • MarkMark Vanilla Staff
    You can add those codes in either the conf/languages.php or the definitions.php file - it will have the same effect.
  • I already added it into the conf/languages.php and the error is still there
  • Any more suggestions? The board is down
  • MarkMark Vanilla Staff
    Look at these files in subversion and make sure that your copies look exactly the same: http://lussumo.com/svn/vanilla/trunk/themes/discussion.php http://lussumo.com/svn/vanilla/trunk/themes/discussions.php http://lussumo.com/svn/vanilla/trunk/languages/English/definitions.php http://lussumo.com/svn/vanilla/trunk/library/Vanilla/Vanilla.Control.DiscussionGrid.php
  • thanks mark, I enlisted the help of a friend and we got it up. He said he followed your instructions and now it works.
This discussion has been closed.