Advertisement:

Author Topic: Remove poll  (Read 16577 times)

Offline Tim

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 2,855
  • Gender: Male
  • Marketing Consultant
    • tim.ceuppens on Facebook
    • http://www.linkedin.com/in/timceuppens on LinkedIn
    • @timcbe on Twitter
    • Tim Ceuppens
Remove poll
« on: December 29, 2009, 09:33:22 AM »
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...

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 67,721
    • Arantor on GitHub
Re: Remove poll
« Reply #1 on: December 29, 2009, 09:38:27 AM »
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.
To assume is to hope that those who came before had the presence of mind and capacity to implement the dreams of those who would come after.

You either die a hero or live long enough to see yourself become the villain. It seems you have chosen which, and now I must do the same.

Offline smartmouse

  • Full Member
  • ***
  • Posts: 534
Re: Remove poll
« Reply #2 on: January 05, 2010, 05:24:33 PM »
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.

Offline smartmouse

  • Full Member
  • ***
  • Posts: 534
Re: Remove poll
« Reply #3 on: January 07, 2010, 11:50:27 AM »
Then? How to solve this problem?

Offline smartmouse

  • Full Member
  • ***
  • Posts: 534
Re: Remove poll
« Reply #4 on: January 08, 2010, 07:34:46 PM »
Please fix it! It is a bug of SMF v1.1.11!

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 67,721
    • Arantor on GitHub
Re: Remove poll
« Reply #5 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.
To assume is to hope that those who came before had the presence of mind and capacity to implement the dreams of those who would come after.

You either die a hero or live long enough to see yourself become the villain. It seems you have chosen which, and now I must do the same.

Offline smartmouse

  • Full Member
  • ***
  • Posts: 534
Re: Remove poll
« Reply #6 on: January 10, 2010, 01:15:08 PM »
No, it's a bug in your theme. You might want to ask the theme author about it.

Ok, i will. Thanks.

Offline smartmouse

  • Full Member
  • ***
  • Posts: 534
Re: Remove poll
« Reply #7 on: January 14, 2010, 01:32:32 AM »
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?

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 67,721
    • Arantor on GitHub
Re: Remove poll
« Reply #8 on: January 14, 2010, 02:51:51 AM »
So does it work on the default theme?
To assume is to hope that those who came before had the presence of mind and capacity to implement the dreams of those who would come after.

You either die a hero or live long enough to see yourself become the villain. It seems you have chosen which, and now I must do the same.

Offline smartmouse

  • Full Member
  • ***
  • Posts: 534
Re: Remove poll
« Reply #9 on: January 14, 2010, 07:06:42 AM »
So does it work on the default theme?

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

Offline smartmouse

  • Full Member
  • ***
  • Posts: 534
Re: Remove poll
« Reply #10 on: January 15, 2010, 11:40:36 AM »
What could be the problem?

Offline Deviliciouz

  • Semi-Newbie
  • *
  • Posts: 16
Re: Remove poll
« Reply #11 on: January 17, 2010, 10:18:54 AM »
I have the same problem and I'm using the default theme, please HELP!!!!!

Offline Deviliciouz

  • Semi-Newbie
  • *
  • Posts: 16
Re: Remove poll
« Reply #12 on: January 17, 2010, 12:30:47 PM »
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

Offline smartmouse

  • Full Member
  • ***
  • Posts: 534
Re: Remove poll
« Reply #13 on: January 17, 2010, 02:49:17 PM »
Please fix it! It is a bug of SMF v1.1.11!

No, it's a bug in your theme.

Someone does not think like us...

Offline smartmouse

  • Full Member
  • ***
  • Posts: 534
Re: Remove poll
« Reply #14 on: January 20, 2010, 07:29:55 PM »
None has the solution to this bug?

Offline mizuno151

  • Newbie
  • *
  • Posts: 1
Re: Remove poll
« Reply #15 on: January 22, 2010, 03:52:08 PM »
i've fixed it!!!

open Themes\default\Display.template.php

find this


Code: [Select]
'url' => $scripturl . '?action=removepoll;topic=' . $context['current_topic'] . '.' . $context['start']),
replace with

Code: [Select]
'url' => $scripturl . '?action=removepoll;topic=' . $context['current_topic'] . '.' . $context['start'] . ';sesc=' . $context['session_id']),
« Last Edit: January 22, 2010, 04:05:21 PM by mizuno151 »

Offline smartmouse

  • Full Member
  • ***
  • Posts: 534
Re: Remove poll
« Reply #16 on: January 22, 2010, 07:31:12 PM »
It worked! Thank you very much!

@admins: Please mark this topic as solved!

Offline JimM

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 11,980
  • Gender: Male
    • Southern Spirit Hunters
Re: Remove poll
« Reply #17 on: January 22, 2010, 07:54:36 PM »
Tim - were you able to use this suggestion and solve your issue?
Jim "JimM" Moore
Former Support Specialist

Please do not PM me for support!                   
Installing SMF
Upgrade SMF
Manual Installation of Mods

Offline Deviliciouz

  • Semi-Newbie
  • *
  • Posts: 16
Re: Remove poll
« Reply #18 on: January 23, 2010, 07:52:45 AM »
@ mizuno151 : Thank You.... Thank You so much!!!!!!!!!!!!

Offline JimM

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 11,980
  • Gender: Male
    • Southern Spirit Hunters
Re: Remove poll
« Reply #19 on: January 25, 2010, 08:18:53 PM »
Be sure and make this change on every theme that you use. 
Jim "JimM" Moore
Former Support Specialist

Please do not PM me for support!                   
Installing SMF
Upgrade SMF
Manual Installation of Mods