HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

"Something gone wrong" - no discussions can be opened

Hi

I have the vanilla forum for a while now, and recently I changed the adres. I had trouble moving the forum to the new adres, but in the end it worked out by using a back up and putting that into the right position after deleting everything. But, now it turns out none of the discussions can be opened, and we get the "something went wrong" page. I asked my host antagonist, but they can't find anything in my error logs (I'm not very good with html and all that, so I don't know where to find them). They suggested we ask here, maybe somebody here can help out?

I'm talking about this forum: https://www.cooperatie-ongeeikt.nl/forum/ (it's private, for internal communication). We have version 3.3. It came from stadscooperatieassen.nl, which isn't online anymore.

I guess the posts are referring to a wrong place so it can't find them, but ...???? I have no idea how to figure this out, so I need some help. Also new discussions can't be opened (though they can be placed).

Thanks a lot for the help.

Eelste

Comments

  • In MyPHP admin I can see all the discussions, the old and the new ones, and everything else. So it's there, but for some reason the forum doesn't know how to acces it?

  • R_JR_J Ex-Fanboy Munich Admin

    Please check if you have the mb_string extension enabled. IIRC that is a typical symtom if that extension is missing.

  • KasparKaspar Moderator

    Wrong/older PHP version gave me some partial similar issue once.

  • MB-string was already enabled.

    PHP was 7.2. Updated it to 7.4, but still can't open the discussions...

  • Which file (or I don't know how you call this) is responsible for linking the discussions, when you open them? To get you to the right page? I guess thats where the issue is, but I have no clue which file I should open...

  • eelsteeelste New
    edited May 2020

    Hi,

    I found a way to get the full debug information:


    Fatal Error in PHP.gdn_ErrorHandler();

    Table 'deb116239_vf4.GDN_ThanksLog' doesn't exist

    The error occurred on or near: /public_html/forum/library/database/class.database.php

    417:                 if (!$message) {
    418:                     $message = $ex->getMessage();
    419:                 }
    420: 
    421:                 trigger_error($message, E_USER_ERROR);
    422:             }
    423: 
    424:         }
    425: 
    

    Backtrace:

    /public_html/forum/library/database/class.database.phpPHP::gdn_ErrorHandler();
    /public_html/forum/library/database/class.database.php:421] PHP::trigger_error();
    /public_html/forum/library/database/class.sqldriver.php:1707] Gdn_Database->query();
    /public_html/forum/library/database/class.sqldriver.php:664] Gdn_SQLDriver->query();
    /public_html/forum/plugins/ThankfulPeople/class.thankslogmodel.php:50] Gdn_SQLDriver->get();
    /public_html/forum/plugins/ThankfulPeople/class.thankslogmodel.php:148] ThanksLogModel->Get();
    /public_html/forum/plugins/ThankfulPeople/class.thankslogmodel.php:128] ThanksLogModel->GetComments();
    /public_html/forum/plugins/ThankfulPeople/class.thankfulpeople.plugin.php:90] ThanksLogModel->GetDiscussionComments();
    /public_html/forum/plugins/ThankfulPeople/class.thankfulpeople.plugin.php:90] ThankfulPeoplePlugin->DiscussionController_Render_Before();
    /public_html/forum/library/Garden/EventManager.php:278] PHP::call_user_func_array();
    /public_html/forum/library/core/class.pluginmanager.php:810] Garden\EventManager->fire();
    /public_html/forum/library/core/class.pluginmanager.php:768] Gdn_PluginManager->callEventHandler();
    /public_html/forum/library/core/class.pluggable.php:205] Gdn_PluginManager->callEventHandlers();
    /public_html/forum/applications/vanilla/controllers/class.discussioncontroller.php:310] Gdn_Pluggable->__call();
    /public_html/forum/library/core/class.dispatcher.php:872] DiscussionController->index();
    /public_html/forum/library/core/class.dispatcher.php:289] Gdn_Dispatcher->dispatchController();
    /public_html/forum/index.php:29] Gdn_Dispatcher->dispatch();
    

    Variables in local scope:

    [sql] 'select t.CommentID as `CommentID`, t.DiscussionID as `DiscussionID`, t.DateInserted as `DateInserted`, t.InsertUserID as `UserID`, u.Name as `Name`
    from `GDN_ThanksLog` `t`
    inner join `GDN_User` `u` on u.UserID = t.InsertUserID
    where `t`.`DiscussionID` = :tDiscussionID'
    [inputParameters] array (
      ':tDiscussionID' => 187,
    )
    [options] array (
      'Type' => 'select',
      'Slave' => NULL,
      'ReturnType' => 'DataSet',
    )
    [returnType] 'DataSet'
    [tries] 2
    [try] 0
    [pDO] array (
    )
    [pDOStatement] false
    [state] '42S02'
    [code] 1146
    [message] 'Table \'deb116239_vf4.GDN_ThanksLog\' doesn\'t exist'
    [ex] array (
    )
    

    Need Help?

    If you are a user of this website, you can report this message to a website administrator.

    If you are an administrator of this website, you can get help at the Vanilla Community Forums.

    Additional information for support personnel:

    • Application: Vanilla
    • Application Version: 3.3
    • PHP Version: 7.4.4
    • Operating System: Linux
    • Server Software: Apache
    • Referer: https://www.cooperatie-ongeeikt.nl/forum/
    • User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36
    • Request Uri: /forum/discussion/187/inzetbaarheid-koopmansplein
    • Controller: PHP
    • Method: gdn_ErrorHandler


  • Solved it! I saw something about the plugin 'thankful people' in the debug information, so I disabled that. That plugin was the problem.

  • Okay... Solved the first issue, but now I used the "Set $Configuration['Debug'] = true; in your conf/config.php to reveal full error messages. Remember to remove it when you are done." and I can't get rid of all the notifications anymore. The line I had to put in config.php is gone, tried putting in the same line but using 'false' instead of true, tried deleting the cache/addon but now the forum is overloaded with errors underneath all the pages...

  • Sorry, got it. Most errors were because of php7.4, so I switched to 7.3 and the errors disappeared.

    And, the debug = true disappeared somewhere between all other lines, not where I put it. So, deleted it and the remaining extra info things are gone too.

Sign In or Register to comment.