Not Solved Registration stuck on Checking if username is available
#1
Not Solved
it just hangs, and you get the searching icon just spinning.....on the latest version 1.8.22 anyone have any clues as why this might be happening?
Reply
#2
Not Solved
What was the theme in use when the user was registering? If it's not the MyBB's default one, will the registration experience the same on MyBB's default theme?
Could be wrong but worth a try.
Reply
#3
Not Solved
it's throwing a select2 is undefined in the following jsĀ 


{
MyBB.select2();
$("#referrer").select2({
placeholder: "Search for a user",
minimumInputLength: 2,
multiple: false,
ajax: { // instead of writing the function to execute the request we use Select2's convenient helper
url: "xmlhttp.php?action=get_users",
dataType: 'json',
data: function (term, page) {
return {
query: term, // search term
};
},
results: function (data, page) { // parse the results into the format expected by Select2.
// since we are using custom formatting functions we do not need to alter remote JSON data
return {results: data};
}
},
initSelection: function(element, callback) {
var value = $(element).val();
if (value !== "") {
callback({
id: value,
text: value
});
}
},
});
}
// -->
</script>
<!-- end: member_register_referrer -->
<!-- start: member_register_regimage -->
<br />
<fieldset class="trow2">
<script type="text/javascript">

and if you look at the general.js there is Uncaught TypeError: Cannot read property 'select2' of undefined

In the "if" statement

/
/ Fixes https://github.com/mybb/mybb/issues/1232
 select2: function()
{
if(typeof $.fn.select2 !== "undefined")
{
$.extend($.fn.select2.defaults, {
Reply
#4
Not Solved
are you using MyBB's Stock Theme or a custom theme ? can we have forum url to check ..
Reply
#5
Not Solved
the url is

https://rtr-pca.org/forum/index.php

appreciated
Reply
#6
Not Solved
looks like forum was upgraded from a older version
& theme needs updating codes in templates & stylesheets

perhaps it would be better to install a new theme & use it
[Themes at Extend Section] | [Theme Installation]
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)