Snog
Well-known member
That part of the code hasn't changed and shouldn't be throwing an error.XF 1.4
After the update from 1.0.9 to 1.1.0 I get this error on the forum en can't login in admin.php.
Server ERROR
- Countryflags\Db\Reader->__construct() in Snog/CountryFlags/Listener/Visitor.php at line 69
- Snog_CountryFlags_Listener_Visitor::visitor()
- call_user_func_array() in XenForo/CodeEvent.php at line 90
- XenForo_CodeEvent::fire() in XenForo/Visitor.php at line 469
- XenForo_Visitor::setup() in XenForo/Session.php at line 274
- XenForo_Session::startPublicSession() in XenForo/Controller.php at line 291
- XenForo_Controller->_setupSession() in XenForo/Controller.php at line 304
- XenForo_Controller->preDispatch() in XenForo/FrontController.php at line 346
- XenForo_FrontController->dispatch() in XenForo/FrontController.php at line 134
- XenForo_FrontController->run() in /var/www/html/index.php at line 13
Be sure that you uploaded all of the files to the proper area on your server. And be sure the GeoLite2-Country.mmdb file exists in data/countryflags.
If you did, edit your library/config.php file and add this:
Code:
$config['enableListeners'] = false;
You should then be able to log in and disable the add-on. And you can then comment out or remove that line from your config file.
If there's an error shown in the admin area, I would need to see the entire error as it's listed there.