Hello ;)
after upgrading from 1.1.10 to 1.1.11.
A poll can not be removed. It then appears the following error:
QuoteAn Error Has Occurred!
Session verification failed. Please try logging out and back in again, and then try again.
I can confirm this. Looks like a checkSession('get') is added to RemovePoll() function in Poll.php but the button 'url' in Display.template.php lacks session id.
Same here.
I have this problem too. Is there any fix for this? I'v used search but only this topic appeared.
Please find in Display.template.php of the default theme, as well as from your theme currently used: (./Themes/default/Display.template.php, ./Themes/your_theme/Display.template.php)
'remove_poll' => array('test' => 'can_remove_poll', 'text' => 'poll_remove', 'image' => 'admin_remove_poll.gif', 'lang' => true, 'custom' => 'onclick="return confirm(\'' . $txt['poll_remove_warn'] . '\');"', 'url' => $scripturl . '?action=removepoll;topic=' . $context['current_topic'] . '.' . $context['start'] . "),
'remove_poll' => array('test' => 'can_remove_poll', 'text' => 'poll_remove', 'image' => 'admin_remove_poll.gif', 'lang' => true, 'custom' => 'onclick="return confirm(\'' . $txt['poll_remove_warn'] . '\');"', 'url' => $scripturl . '?action=removepoll;topic=' . $context['current_topic'] . '.' . $context['start'] . ";sesc=" . $context['session_id']),
It works! Thanks!
Tnx it works now.