Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: Template Error  (Read 5736 times)

0 Members and 1 Guest are viewing this topic.

GertjanPost

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
    • http://www.familiepost.com
Template Error
« on: October 07, 2003, 10:12:19 am »

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 -->
Logged

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Template Error
« Reply #1 on: October 07, 2003, 05:00:05 pm »

Your theme is the problem.
Quote
Failed 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.
Logged
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

GertjanPost

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
    • http://www.familiepost.com
Thank you
« Reply #2 on: October 07, 2003, 07:44:14 pm »

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
Logged
Pages: [1]   Go Up
 

Page created in 0.016 seconds with 14 queries.