Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Weird popup during registration
I have a fresh install of Vanilla in a sub-folder that I am currently building a test theme for. When you go to the registration page and type in anything into the Email field, a weird popup appears that includes 404 elements from the main directory, which happens to be an install of bbPress.
This is the page where the weirdness happens:
http://support.bavotasan.com/vanilla/entry/register?Target=discussions
I tested it out in Firefox 3.6.9, Safari 5.0.1 and Chrome 6.0.4 on a Mac.
Any help would be appreciated.
Thanks.
This is the page where the weirdness happens:
http://support.bavotasan.com/vanilla/entry/register?Target=discussions
I tested it out in Firefox 3.6.9, Safari 5.0.1 and Chrome 6.0.4 on a Mac.
Any help would be appreciated.
Thanks.
Tagged:
0
Comments
It seems that a link is pointing to the root of your website, instead of the sub-directory that Vanilla is installed into.
This is a code bug, and I believe @Lincoln would be the best person to ask about a bug fix.
http://support.bavotasan.com/index.php?p=/dashboard/user/emailavailable/yourname@domain.com/x
So it looks like entry.js isn't respecting your webroot. You might check your config.php file to make sure it's set correctly. Did you move your installation after the setup? You might also try clearing your .ini files in your /cache folder.
If neither of those work, I'd file an issue on GitHub.
Clearing the .ini files didn't do anything. I am not too sure how my config.php file should look. I don't see any reference to a domain or webroot.
var checkUrl = gdn.combinePaths( gdn.definition('WebRoot', ''), 'index.php?p=/dashboard/user/emailavailable/'+encodeURIComponent(email)+'/x' );
to this:
var checkUrl = gdn.url('/dashboard/user/emailavailable/'+encodeURIComponent(email)+'/x');
Vanilla Forums COO [GitHub, Twitter, About.me]
var checkUrl = gdn.combinePaths( gdn.definition('WebRoot', ''), 'index.php?p=/dashboard/user/usernameavailable/'+encodeURIComponent(name) );
to this:
var checkUrl = gdn.url('/dashboard/user/usernameavailable/'+encodeURIComponent(name));
Vanilla Forums COO [GitHub, Twitter, About.me]
Does that mean that it won't be checking if the email address has already been used?