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.
Wordpress & Vanilla Integration Bug
I'm having a bit of trouble... think I found a bug...
"Allow non-members to browse the forum" Unchecked
Signin via Vanilla with "Remember me" unchecked - forum comes up, signed in.
Signin via Vanilla with "Remember me" checked - bonk. signin form refreshes with no error indicated.
"Allow non-members to browse the forum" Checked
Signin via Vanilla with "Remember me" unchecked - forum comes up, signed in.
Signin via Vanilla with "Remember me" checked - forum comes up, but not signed in.
So it appears there is something going on with the "Remember me" checkbox and setting the cookie right.
Interestingly, and found out by accident, if I signin without checking "Remember me", get logged in, then hit the 'Back' button on the browser and sign in again only checking the box, I get:
You are signed in
* Click here to continue to the discussions
* Click here to continue to the categories
Which I don't get the other times I sign in.
So I theorize that there's nothing wrong with the cookie setting, but something wrong with the getting of identity for the purposes of setting the cookie?
[EDIT] I checked by closing out my browsers-- cookie is not being set right. Erg.
Any ideas?
0
This discussion has been closed.
Comments
I've got a couple local copies in a similar fashion for testing, where WP is in / and vanillia is in /forum, and it was fine operationally. The only exception was one of my local test boxes, which had apache 1.3.33, and PHP 4.3.4, but that was prior to WP integration.
I did integrate that one though, and integration was fine although some of the AJAX wasn't. Probably missing something locally on that machine, as it's a bare minimum WS install.
I did successfully integrate (including theme) on a box that is more up to date, and it didn't have any issues.
That particular box is running CentOS 4.3, Apache 1.3.36, PHP 4.4.3, MySQL 4.1.x, and it has a lot more installed with it since it's a production box.
This box is set up like this, for testing:
domain.tld
password_protected_dir
index.php (for WP)
/dir
- WP Core Files
/community
- Vanilla
WP integration as per Mark's write-up was successful, as were
the additional steps from the community for theme and function
integration. Took out people.php, and let WP handle logins.
I'd triple check the cookie path, as mini mentioned. Also, might
look to make sure you're calling the right include path for files
that are being included. An extra or missing ../ or something could
really hose things up.
Nothing of interest in the error logs or anything?