News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

Remove poll

Started by Tim, December 29, 2009, 09:33:22 AM

Previous topic - Next topic

Tim

Hi,

is anyone else having problems with removing polls from a topic in 1.1.11?

I get this error:
Session verification failed. Please try logging out and back in again, and then try again

Which I did, without success...

Arantor

As of 1.1.11, there was an additional session check added; your Display.template.php needs updating to include the session variable in the remove-poll link. It's done in the default theme.

smartmouse

Hi, i have the same problem:

Quote
An Error Has Occurred!
Session verification failed. Please try logging out and back in again, and then try again.

Please can you tell me what is the part of the code that i have to paste in Display.template.php of my theme?

Thank you.

smartmouse

Then? How to solve this problem?

smartmouse

Please fix it! It is a bug of SMF v1.1.11!

Arantor

No, it's a bug in your theme. You might want to ask the theme author about it.

smartmouse

Quote from: Arantor on January 08, 2010, 07:40:39 PM
No, it's a bug in your theme. You might want to ask the theme author about it.

Ok, i will. Thanks.

smartmouse

I posted there and they said that it's not a problem depending by custom theme neither default theme.
(see http://www.tinyportal.net/index.php?topic=12933.160)

Can you help me to try to understand what is the matter?

Arantor

So does it work on the default theme?

smartmouse

Quote from: Arantor on January 14, 2010, 02:51:51 AM
So does it work on the default theme?

No, i get the same error:
QuoteSession verification failed. Please try logging out and back in again, and then try again

smartmouse

What could be the problem?

Deviliciouz

I have the same problem and I'm using the default theme, please HELP!!!!!

Deviliciouz

By the way....I don't think it's a bug in the theme, I've just installed a brand new smf 1.1.11 , I don't use custom theme's (as I said before I'm using the default theme) and I've still got the problem. So it's a bug in SMF 1.1.11

smartmouse

Quote from: smartmouse on January 08, 2010, 07:34:46 PM
Please fix it! It is a bug of SMF v1.1.11!

Quote from: Arantor on January 08, 2010, 07:40:39 PM
No, it's a bug in your theme.

Someone does not think like us...

smartmouse

None has the solution to this bug?

mizuno151

#15
i've fixed it!!!

open Themes\default\Display.template.php

find this


'url' => $scripturl . '?action=removepoll;topic=' . $context['current_topic'] . '.' . $context['start']),

replace with

'url' => $scripturl . '?action=removepoll;topic=' . $context['current_topic'] . '.' . $context['start'] . ';sesc=' . $context['session_id']),

smartmouse

It worked! Thank you very much!

@admins: Please mark this topic as solved!

JimM

Tim - were you able to use this suggestion and solve your issue?
Jim "JimM" Moore
Former Support Specialist

Deviliciouz

@ mizuno151 : Thank You.... Thank You so much!!!!!!!!!!!!

JimM

Be sure and make this change on every theme that you use. 
Jim "JimM" Moore
Former Support Specialist

Advertisement: