Hello, I'm using PHPNuke 6.5 with Coppermine 1.1 with GD 2. When logged in on the PHPNuke site I get this error when clicking on a picture or uploading a picture. This error will NOT occur when not logged on.
Please can somebody help me?
===============================================
Template error
Failed to find block 'username_input'(#(<!-- BEGIN username_input -->)(.*?)(<!-- END username_input -->)#s) in :
<tr>
<td class="tableh2_compact"><b>{ADD_YOUR_COMMENT}</b></td>
</tr>
<tr>
<form method="post" name="post" action="modules.php?name=coppermine&file=db_input">
<td colspan="3">
<table width="100%" cellpadding="0" cellspacing="0">
<input type="hidden" name="event" value="comment">
<input type="hidden" name="pid" value="{PIC_ID}">
<!-- BEGIN uname_input -->
<td class="tableb_compact">
<input type="text" class="textinput" name="msg_author" size="10" maxlength="20" value={uname}>
</td>
<!-- END uname_input -->
<!-- BEGIN input_box_smilies -->
<td width="100%" class="tableb_compact">
<input type="text" class="textinput" id="message" name="msg_body" onselect="storeCaret_post(this);" onclick="storeCaret_post(this);" onkeyup="storeCaret_post(this);" maxlength="{MAX_COM_LENGTH}" style="width: 100%;"> <!-- END input_box_smilies -->
</td>
<td class="tableb_compact">
<input type="submit" class="comment_button" name="submit" value="{OK}">
</td>
</table>
</td>
</form>
</tr>
<!-- BEGIN smilies -->
<tr>
<td width="100%" class="tableb_compact">
{SMILIES}
</td>
</tr>
<!-- END smilies -->
Your theme is the problem.
QuoteFailed to find block 'username_input'
Quote<!-- BEGIN uname_input -->
Your theme is designed for phpnuke <6.5 which uses uname, and you need to use the themes designed for 6.5+ which uses username. Try using the default theme.
Also, check your install. You might have installed the main code for 6.5, but the themes for 5.5 and 6.0.
I've set the theme to default and now it's working. Thank you. I will search for a newer theme now. Grtz. Gertjan Post