Users running a non-download version of Vanilla (pulled from github), on branch release/2019.016 or master from the last 2 weeks should upgrade to release/2019.017 or latest master for security reasons. Downloaded official open sources releases are not affected.

Can't access to Dashboard > Users

About a week ago I've installed three plugins: Spoof, Necro, Multilingual, but didn't do a backup(((. Then I used Spoof on the user of my forum. And few days ago I've seen "Something has gone wrong. We've run into a problem and are unable to handle this request right now. Please check back in a little while."

What I see in section "Users" in the Dashboard:

Disabling plugins and clearing cache didn't get results.

What should I do to solve my problem?

Tagged:

Comments

  • Vanilla ver. 3.3

  • phreakphreak Vanilla*APP (White Label) & Vanilla*Skins Shop MVP

    Mmh, let's try these things:

    1. Do you get more information when you are adding $Configuration['Debug'] = TRUE; to the config file?
    2. Can you reach a users profile like: yourforum.com/user/edit/1 (or another user ID) ?
    3. Did you try removing the plugins from your /plugins folder?
    4. Did you clear the cache manually from the /cache folder?
    • VanillaAPP | iOS & Android App for Vanilla - White label app for Vanilla Forums OS
    • VanillaSkins | Plugins, Themes, Graphics and Custom Development for Vanilla
    caroot
  • 1) When open page https://nachovni.pp.ua/dashboard/user

    Fatal Error in IP2Location\Database.ipVersionAndNumber();

    Call to undefined function IP2Location\bcadd()

    The error occurred on or near: /var/www/nachovni.pp.ua/www/plugins/IP2Location/extras/class.IP2Location.php

     991:     } elseif (filter_var($ip, FILTER_VALIDATE_IP, FILTER_FLAG_IPV6)) {
     992: 	  $result = 0;
     993: 
     994: 	  foreach (str_split(bin2hex(inet_pton($ip)), 8) as $word) {
     995:         $result = bcadd(bcmul($result, '4294967296', 0), self::wrap32(hexdec($word)), 0);
     996:       }
     997: 
     998: 	  return [6, $result];
     999:     } else {
    

    Backtrace:

    [/var/www/nachovni.pp.ua/www/plugins/IP2Location/extras/class.IP2Location.php:1617] IP2Location\Database::ipVersionAndNumber();
    [/var/www/nachovni.pp.ua/www/plugins/IP2Location/class.ip2location.plugin.php:249] IP2Location\Database->lookup();
    [/var/www/nachovni.pp.ua/www/plugins/IP2Location/class.ip2location.plugin.php:224] IP2LocationPlugin->getLocation();
    [/var/www/nachovni.pp.ua/www/plugins/IP2Location/class.ip2location.plugin.php:224] IP2LocationPlugin->UserController_UserCell_Handler();
    [/var/www/nachovni.pp.ua/www/library/Garden/EventManager.php:278] PHP::call_user_func_array();
    [/var/www/nachovni.pp.ua/www/library/core/class.pluginmanager.php:810] Garden\EventManager->fire();
    [/var/www/nachovni.pp.ua/www/library/core/class.pluginmanager.php:768] Gdn_PluginManager->callEventHandler();
    [/var/www/nachovni.pp.ua/www/library/core/class.pluggable.php:137] Gdn_PluginManager->callEventHandlers();
    [/var/www/nachovni.pp.ua/www/applications/dashboard/views/user/users.php:49] Gdn_Pluggable->fireEvent();
    [/var/www/nachovni.pp.ua/www/applications/dashboard/views/user/index.php:51] PHP::include();
    [/var/www/nachovni.pp.ua/www/library/core/class.controller.php:782] PHP::include();
    [/var/www/nachovni.pp.ua/www/library/core/class.controller.php:1386] Gdn_Controller->fetchView();
    [/var/www/nachovni.pp.ua/www/library/core/class.pluggable.php:217] Gdn_Controller->xRender();
    [/var/www/nachovni.pp.ua/www/applications/dashboard/controllers/class.usercontroller.php:163] Gdn_Pluggable->__call();
    [/var/www/nachovni.pp.ua/www/library/core/class.dispatcher.php:872] UserController->index();
    [/var/www/nachovni.pp.ua/www/library/core/class.dispatcher.php:289] Gdn_Dispatcher->dispatchController();
    [/var/www/nachovni.pp.ua/www/index.php:29] Gdn_Dispatcher->dispatch()
    

    2) Yes

    3) Yes, but now I see that problem, with IP2Location plugin. So I've disabled it. Now everything works fine.

    4) Yes

    When open https://nachovni.pp.ua/settings/ip2location @hexasoft

    Debug Trace


    Gdn_ApplicationManager->enabledApplicationFolders() is deprecated.
    
    #0 [internal function]: gdn_ErrorHandler(16384, 'Gdn_Application...', '/var/www/nachov...', 952, Array)
    #1 /var/www/nachovni.pp.ua/www/library/core/functions.general.php(952): trigger_error('Gdn_Application...', 16384)
    #2 /var/www/nachovni.pp.ua/www/library/core/class.applicationmanager.php(188): deprecated('Gdn_Application...')
    #3 /var/www/nachovni.pp.ua/www/plugins/Multilingual/class.multilingual.plugin.php(83): Gdn_ApplicationManager->enabledApplicationFolders()
    #4 [internal function]: MultilingualPlugin->gdn_dispatcher_afterAnalyzeRequest_handler(Object(Gdn_Dispatcher), Array)
    #5 /var/www/nachovni.pp.ua/www/library/Garden/EventManager.php(278): call_user_func_array(Array, Array)
    #6 /var/www/nachovni.pp.ua/www/library/core/class.pluginmanager.php(810): Garden\EventManager->fire('Gdn_Dispatcher_...', Object(Gdn_Dispatcher), Array)
    #7 /var/www/nachovni.pp.ua/www/library/core/class.pluginmanager.php(768): Gdn_PluginManager->callEventHandler(Object(Gdn_Dispatcher), 'Gdn_Dispatcher', 'AfterAnalyzeReq...', 'Handler')
    #8 /var/www/nachovni.pp.ua/www/library/core/class.pluggable.php(137): Gdn_PluginManager->callEventHandlers(Object(Gdn_Dispatcher), 'Gdn_Dispatcher', 'AfterAnalyzeReq...')
    #9 /var/www/nachovni.pp.ua/www/library/core/class.dispatcher.php(286): Gdn_Pluggable->fireEvent('AfterAnalyzeReq...')
    #10 /var/www/nachovni.pp.ua/www/index.php(29): Gdn_Dispatcher->dispatch()
    #11 {main}
    


    Canonical URL https://nachovni.pp.ua/settings/ip2-location !== https://nachovni.pp.ua/dashboard/settings/ip2location.
    
    #0 [internal function]: gdn_ErrorHandler(1024, 'Canonical URL h...', '/var/www/nachov...', 863, Array)
    #1 /var/www/nachovni.pp.ua/www/library/core/class.dispatcher.php(863): trigger_error('Canonical URL h...', 1024)
    #2 /var/www/nachovni.pp.ua/www/library/core/class.dispatcher.php(289): Gdn_Dispatcher->dispatchController(Object(Gdn_Request), Array)
    #3 /var/www/nachovni.pp.ua/www/index.php(29): Gdn_Dispatcher->dispatch()
    #4 {main}
    Constant IP2LOCATION_ROOT already defined
    
    #0 [internal function]: gdn_ErrorHandler(8, 'Constant IP2LOC...', '/var/www/nachov...', 6, Array)
    #1 /var/www/nachovni.pp.ua/www/plugins/IP2Location/views/settings.php(6): define('IP2LOCATION_ROO...', '/var/www/nachov...')
    #2 /var/www/nachovni.pp.ua/www/library/core/class.controller.php(782): include('/var/www/nachov...')
    #3 /var/www/nachovni.pp.ua/www/library/core/class.controller.php(1386): Gdn_Controller->fetchView('settings', '', 'plugins/IP2Loca...')
    #4 /var/www/nachovni.pp.ua/www/library/core/class.pluggable.php(217): Gdn_Controller->xRender('settings', '', 'plugins/IP2Loca...')
    #5 /var/www/nachovni.pp.ua/www/plugins/IP2Location/class.ip2location.plugin.php(89): Gdn_Pluggable->__call('render', Array)
    #6 /var/www/nachovni.pp.ua/www/library/core/class.plugin.php(395): IP2LocationPlugin->Controller_Index(Object(SettingsController), Array)
    #7 /var/www/nachovni.pp.ua/www/plugins/IP2Location/class.ip2location.plugin.php(57): Gdn_Plugin->dispatch(Object(SettingsController))
    #8 /var/www/nachovni.pp.ua/www/library/core/class.dispatcher.php(872): IP2LocationPlugin->SettingsController_IP2Location_Create(Object(SettingsController), Array)
    #9 /var/www/nachovni.pp.ua/www/library/core/class.dispatcher.php(289): Gdn_Dispatcher->dispatchController(Object(Gdn_Request), Array)
    #10 /var/www/nachovni.pp.ua/www/index.php(29): Gdn_Dispatcher->dispatch()
    #11 {main}
    


  • My problem is spammers...

    Грудня 24 = December 24 ;))

Sign In or Register to comment.