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.
errpostbackkeyinvalid?
hi. i'm using vanilla 1.1.2 with a custom theme. when trying to post a comment, i get this error message very often. any ideas if i'm missing something here? and i'm able to post, even if i don't check "remember me" when logging in, if that matters.
edit: this happens on a gridserver from mediatemple
0
This discussion has been closed.
Comments
session
the webroot in conf/settings.php is set to "/", as the forum resides in the root dir of the domain
edit: sorry for that mess, i have no idea what is causing that many linebreaks between those two tables
To set a session folder for each domain do as follow. You need to connect the server using ssh with your server admin account (see Obtaining and using SSH; you also need to enable the ssh connection for the Admin account in "WebControl > Server Administrator ").
Once connected to the server do:
echo $PWD
you get something like that /home/xxxx/users/.home . Now do (replacing xxxx, and forum.domain.com with your own)
mkdir /home/xxxx/domains/forum.domain.com/data chmod 710 /home/xxxx/domains/forum.domain.com/data mkdir /home/xxxx/domains/forum.domain.com/data/session chmod 770 /xxxx/domains/forum.domain.com/data/session
then edit /home/xxxx/domains/forum.domain.com/html/.htaccess. it should look like something like that:
AddHandler php5-script .php #path to the session folder php_value session.save_path "/home/####/domains/forum.domain.com/data/session" #Set the time in minute the session will be valid php_value session.cache_expire 180 #Here, it's in second php_value session.gc_maxlifetime 10800 #turn it off when you are done debugging your forum php_flag display_errors On
In each vanilla form there is a hidden key, unique to each user and to its session. Before proceeding anything, vanilla compare the key it received with the one in the user session. If they are not the same, Vanilla don't proceed anything and give you the error message. You just need to post again with a valid postbackkey to have you message posted.
That's why you need to have your php session working properly.
Hope you can help, I followed your instructions to the word, am also on a grid and MT servers, but am still getting the popup message "There was a problem authenticating your post information"
Im gutted as this only happened after i changed the themes and installed some extensions, and in particular updated to Vanilla 3. Am tempted to roll back, what do you think? is it worth it?