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.

Issues with flag and announce functions

I'm very new to vanilla and so far I like what I have seen but I have a couple of strange issues. I have a virtually brand new install of vanilla 2.1.1 on my server and I have a few issues with some of the more important functions of the software. I can't delete or flag a comment or discussion nor can I set a discussion to be an announcement. If I try to do any of those things it simply says "Whoops! There was an error." I think I have also seen it say "DiscussionController->Discussion not found." I'm signed in as an admin but I know they don't work as a moderator either, same issue. I want anyone with an account to be able to flag a discussion for review and I want at least admins to be able to delete anything but I know users can't delete their own comments and such like I think they should. Any ideas?

Comments

  • peregrineperegrine MVP
    edited August 2014

    I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

  • Alright with your suggested troubleshooting I have an error message not quite a solution yet. It's not the theme, i have cleared the cache and all of that good stuff and no change. I turned on the debug mode in the configuration file (had to manually add the debug entry for the record) I got this:

    "DiscussionController->Discussion not found."

    LOCATION: C:\Web Server\xampp\htdocs\derpycards.com\applications\vanilla\controllers\class.discussioncontroller.php
    

    40: Deprecated('DiscussionController->CommentData', "DiscussionController->Data('Comments')");
    41: return $this->Data('Comments');
    42: break;
    43: }

    44: throw new Exception("DiscussionController->$Name not found.", 400);

    45: }
    46:
    47: /**
    48: * Default single discussion display.

    BACKTRACE:
    [C:\Web Server\xampp\htdocs\derpycards.com\plugins\SEOCompanion\default.php 31] DiscussionController->__get();
    [C:\Web Server\xampp\htdocs\derpycards.com\library\core\class.pluginmanager.php 705] SEOCompanion->Base_Render_Before();
    [C:\Web Server\xampp\htdocs\derpycards.com\library\core\class.pluginmanager.php 642] Gdn_PluginManager->CallEventHandler();
    [C:\Web Server\xampp\htdocs\derpycards.com\library\core\class.pluggable.php 196] Gdn_PluginManager->CallEventHandlers();
    [C:\Web Server\xampp\htdocs\derpycards.com\applications\vanilla\controllers\class.discussioncontroller.php 608] Gdn_Pluggable->__call();
    [C:\Web Server\xampp\htdocs\derpycards.com\applications\vanilla\controllers\class.discussioncontroller.php 608] DiscussionController->Render();
    [C:\Web Server\xampp\htdocs\derpycards.com\applications\vanilla\controllers\class.discussioncontroller.php 608] DiscussionController->Delete();
    [C:\Web Server\xampp\htdocs\derpycards.com\library\core\class.dispatcher.php 350] PHP::call_user_func_array();
    [C:\Web Server\xampp\htdocs\derpycards.com\index.php 46] Gdn_Dispatcher->Dispatch();
    
  • did you disable your plugins one by one as the troubleshooting instructions said:

    particularly SEOCompanion

    I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

  • peregrineperegrine MVP
    edited August 2014

    if the problem goes away after you disable seo companion plugin.

    then try this.

    http://vanillaforums.org/discussion/23893/seocompanion-if-you-use-this-plugin-on-vanilla-2-1

    I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

  • Yea i disable it and the issues goes away immediately

    unfortunately the fix that you sent me didn't fix the issues i'm having with it enabled, it did fix the php errors on the top of the page but the issues with discussions and comments and everything come right back with it enabled

    something else is that at the bottom of the page is says "Need to re-index theme cache" and "Need to re-index plugin cache" what does that mean?

  • peregrineperegrine MVP
    edited August 2014

    Yea i disable it and the issues goes away immediately

    You are very welcomE :)

    glad I could help you solve flagging and announcement issue and what caused it.

    don't use the plugin the plugin that gives you problems. or start a new discussion - go to plugin, choose ask question.
    here:

    http://vanillaforums.org/post/discussion?AddonID=611

    something else is that at the bottom of the page is says "Need to re-index theme cache" and "Need to re-index plugin cache" what does that mean?

    http://vanillaforums.org/search?adv=1&search=Need+to+re-index+theme+cache

    it always appears with debug on - nothing to be concerned about - nothing to be fixed.

    searching for phrases helps as well

    http://vanillaforums.org/discussion/comment/206876/#Comment_206876

    also post info here:

    http://vanillaforums.org/discussion/26703/plugins-themes-that-work-and-don-t-work-in-vanilla-2-1

    I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

  • peregrineperegrine MVP
    edited August 2014

    always a good idea to add to this and to read this.

    http://vanillaforums.org/discussion/26703/plugins-themes-that-work-and-don-t-work-in-vanilla-2-1

    • by adding your plugins that work and don't work to the discussion - you help the community.

    • by just reading it passively, without adding to it - you help yourself

      • (albeit without helping someone else or the community).

    feel free to duplicate answers - the more answers the better the consensus.

    then look around at the numerous 2.1 posts on the forum from all users, and see who uses 2.1 and who posted in that discussion( http://vanillaforums.org/discussion/26703/plugins-themes-that-work-and-don-t-work-in-vanilla-2-1 )
    to attempt to help others, then scratch your head, and say to yourself, why did so few people add to the discussion, when there are so many people using 2.1. and all it requires a comment added to that thread.

    I asked myself - I'm still stumped. Could be, the majority of forum questioners don't have 5 minutes to help the community.

    I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

  • Alright well thank for all of your help, I really want that plugin so I will be making a new discussion in the plugin page

Sign In or Register to comment.