Liam W
in memoriam 1998-2020
@Liam W
So I am having some issues with i.e Twitterbot.
From Xenforo
View attachment 95824
From Twitter
View attachment 95825
So we know the user-agent for the bot is Twitterbot.
And as you can see, this is what I use as well.
However the server logs says this:
ErrorException: Undefined index: twitterbot - library/XenForo/Session.php:877
Generert av: Ukjent konto, I går kl 23:19
Stack Trace
#0 /home/4/s/spillforumet/www/library/XenForo/Session.php(877): XenForo_Application::handlePhpError(8, 'Undefined index...', '/home/4/s/spill...', 877, Array)
#1 /home/4/s/spillforumet/www/library/XenForo/Session.php(350): XenForo_Session->getRobotId('Twitterbot/1.0')
#2 /home/4/s/spillforumet/www/library/XenForo/Session.php(257): XenForo_Session::getPublicSession(Object(Zend_Controller_Request_Http))
#3 /home/4/s/spillforumet/www/library/XenForo/Controller.php(291): XenForo_Session::startPublicSession(Object(Zend_Controller_Request_Http))
#4 /home/4/s/spillforumet/www/library/XenForo/Controller.php(304): XenForo_Controller->_setupSession('Index')
#5 /home/4/s/spillforumet/www/library/XenForo/FrontController.php(346): XenForo_Controller->preDispatch('Index', 'XenForo_Control...')
#6 /home/4/s/spillforumet/www/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#7 /home/4/s/spillforumet/www/index.php(13): XenForo_FrontController->run()
#8 {main}
Forespurt status
array(3) {
["url"] => string(84) "http://www.spillforumet.no/traad/halo-5-guardians-multiplayer-beta-desember-2014.71/"
["_GET"] => array(0) {
}
["_POST"] => array(0) {
}
}
Is this something on my side? Something I can do to fix?
Or is it something else?
What if you use a lowercase T in the user agent?
Liam