I have been playin with registration on my site with different questions and such. My questions are not showing up and neither is the image verification. I get an error in the log:
GenericControls.template.php (Line 240)
I have not checked that line yet so i have no idea what it does. I had image verification on and questions and recaptcha I will try to get a screen shot if I can.
Screenshot
Does this happen in more than one browser?
I just tried it in Sea Monkey browser and it's the same thing.
Line 235 to 252 is this:
// Where in the question array is this question?
$qIndex = $verify_context['show_visual'] ? $i - 1 : $i;
echo '
<div class="smalltext">
', $verify_context['questions'][$qIndex]['q'], ':<br>
<input type="text" name="', $verify_id, '_vv[q][', $verify_context['questions'][$qIndex]['id'], ']" size="30" value="', $verify_context['questions'][$qIndex]['a'], '" ', $verify_context['questions'][$qIndex]['is_error'] ? 'style="border: 1px red solid;"' : '', ' tabindex="', $context['tabindex']++, '" required>
</div>';
}
if ($display_type != 'single')
echo '
</div><!-- #verification_control_[i] -->';
// If we were displaying just one and we did it, break.
if ($display_type == 'single' && $verify_context['tracking'] == $i)
break;
}
what is the full error? just telling us there is an error on line xyz does not tell us what the system says the error actually is.
I understand that. I thought that posting the code someone may have been able to spot the error. That's all. I will get the error next time I turn it on and try to register and post here.
Hmm, seems there isn't one in the error log. I'll check in cpanel. Nothing there either.
When I try to add a question the box is there for the answer but no question.
OK, now there is an error when I turn on questions. It is:
Type of error: Undefined
8: Undefined offset: 1 https://www.whatsurbeef.net/index.php?action=signup
file=L2hvbWUvd2hhdHN1cmJlZWYvcHVibGljX2h0bWwvVGhlbWVzL2RlZmF1bHQvR2VuZXJpY0NvbnRyb2xzLnRlbXBsYXRlLnBocA==;line=241]/home/public_html/Themes/default/GenericControls.template.php (Line 241)
I figured it out. Don't worry about this one. Completely my fault. Sorry to waste your time.