Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

Problem after Updating 1.1.1

hi when i try to manage my updated vanilla i always get this message : http://aymenalobaid.googlepages.com/vanilla.png how can i solve this problem ? Regards ,
«1

Comments

  • edited March 2007
    i can't even add a new Discussion ! it gives me the same Error
  • I can't reproduce the errors.
    There must be something wrong with your php session or your cookie settings.

    If each time you visit a page your visit count (on the account page) increase, your php session doesn't work.
  • did you try to empty cache and restart browser?
  • edited March 2007
    yep not only me , all visitors have the same problem
  • only extensions are workn' , nothing from Vanilla works
  • did you check the visit count ?
  • MarkMark Vanilla Staff
    edited March 2007
    In the new version of Vanilla there is a session variable created that holds a "postbackkey". When you submit a form, it puts the value in your session into the form (hidden from your view) and after the form is submitted, it compares that value with the one in your session. If they match, your post information is considered to be "authenticated" and the form data is processed as usual. If the values fail to match, or they are empty, you will receive the message above. So, the problem is probably that your sessions aren't working properly. I bet when you sign in, you have to use the remember me option or you can't stay logged in. Is that correct? If so, your sessions definitely aren't working.
  • edited March 2007
    Vanilla create a key for each user, save it in his session and add it to all forms. Before processing anything, Vanilla compare the key in the form and the one in the session. If they are different, Vanilla won't process the action and will give you the error.

    The php session doesn't work, the key is recreated every time and the comparaison with the key in the form always fails.


    lol what mark said.

    One clue to know if there is a problem with session is to check the visit count.

    Go on the account page, check the visit count. Click again on the account link. If the visit count changed, you have a problem with the your php session.
  • Thnx , but i already restored my 1.0.3 Vanilla , until another upgrade is released :)
  • edited March 2007
    If the problem is the php session a new version of vanilla won't change anything.

    Can you do this simple test?

    Go on the account page, check the visit count. Click again on the account link. If the visit count has changed, you have a problem with the your php session.
  • Thanx , you were very nice & helpful , it worked after fixn' the PHP thing :D Wish u BEST : )
  • im facing the same error message when deleting comments, activating/deactivating extensions etc. how do you fix the php session thingy? my visit count doesn't increase each time I click on the account link.
  • edited March 2007
    That should not be a session problem then.

    which version of Vanilla?
    Have you tried to clear the cache?
  • Hi folks. I can't login anymore on my local server since I updated from 1.0.3 to 1.1.2. I'm just redirected on the discussions page. Looks like it's a PHP session problem because each time I try to login, the visit count on my account page increases.

    I cleaned the cache and checked "remember me" but nothing changed. Now, errr, what am I supposed to do to fix this PHP session thingy?
  • MarkMark Vanilla Staff
    edited March 2007
    If php sessions aren't working, that's a php problem - not a vanilla problem. I don't have time to help you fix it, but I'd suggest that if no-one here can help you, you try out one of the millions of php support forums online...
  • Well, looks like it was a cookie problem. I've tried your suggestion in this discussion: Fresh install bug # 11 (Comments Link is great by the way) and now everything seems to be fine.
  • If the count increase it is because you are successfully logged in on the server side (count++) then redirect to vanilla, but since there is problem with the cookie, the session cookie is not sent to vanilla, like you were not logged in.
  • Yep, it fixed it. I'm glad to know the solution in case I encounter the same issue after upgrading one of my live sites. Thanks :)
  • Hej! :) I just installed vanilla 1.12 on my vmware debian etch. i can change the language, themes and styles but i cannot activate any extensions. The Visit Count doesn't increase when I click on the Acc. link. Any ideas?
This discussion has been closed.