Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: Template Error  (Read 6274 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.018 seconds with 18 queries.