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: Failed to find block 'admin_approval'  (Read 3844 times)

0 Members and 1 Guest are viewing this topic.

pibby

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Failed to find block 'admin_approval'
« on: February 08, 2006, 06:04:01 pm »

I just checked one of my galleries and saw this error
Code: [Select]
Template error
Failed to find block 'admin_approval'(#(<!-- BEGIN admin_approval -->)(.*?)(<!-- END admin_approval -->)#s) in :

                <div align="center">
                <table cellpadding="0" cellspacing="1">
                        <tr>

                                <td class="admin_menu"><a href="admin.php" title="{ADMIN_TITLE}">{ADMIN_LNK}</a></td>
                                <td class="admin_menu"><a href="catmgr.php" title="{CATEGORIES_TITLE}">{CATEGORIES_LNK}</a></td>
                                <td class="admin_menu"><a href="albmgr.php{CATL}" title="{ALBUMS_TITLE}">{ALBUMS_LNK}</a></td>
                                <td class="admin_menu"><a href="groupmgr.php" title="{GROUPS_TITLE}">{GROUPS_LNK}</a></td>
                                <td class="admin_menu"><a href="usermgr.php" title="{USERS_TITLE}">{USERS_LNK}</a></td>
                                <td class="admin_menu"><a href="banning.php" title="{BAN_TITLE}">{BAN_LNK}</a></td>
                                <td class="admin_menu"><a href="reviewcom.php" title="{COMMENTS_TITLE}">{COMMENTS_LNK}</a></td>
<!-- BEGIN log_ecards -->
                                <td class="admin_menu"><a href="db_ecard.php" title="{DB_ECARD_TITLE}">{DB_ECARD_LNK}</a></td>
<!-- END log_ecards -->
                                <td class="admin_menu"><a href="picmgr.php" title="{PICTURES_TITLE}">{PICTURES_LNK}</a></td>
                                <td class="admin_menu"><a href="searchnew.php" title="{SEARCHNEW_TITLE}">{SEARCHNEW_LNK}</a></td>
                                <td class="admin_menu"><a href="util.php" title="{UTIL_TITLE}">{UTIL_LNK}</a></td>
                                <td class="admin_menu"><a href="profile.php?op=edit_profile" title="{MY_PROF_TITLE}">{MY_PROF_LNK}</a></td>
<!-- BEGIN documentation -->
                                <td class="admin_menu"><a href="{DOCUMENTATION_HREF}" title="{DOCUMENTATION_TITLE}" target="cpg_documentation">{DOCUMENTATION_LNK}</a></td>
<!-- END documentation -->
                        </tr>
                </table>
                </div>


I customized this theme when I upgraded to 1.4.3, yet as far as I know, this error has just recently popped up. When I did the theme, I followed the sample template and compared with other themes that I downloaded to make sure I had the necessary items.

My template.html is as follows:
Code: [Select]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html dir="{LANG_DIR}">
<head>
<title>{TITLE}</title>
<meta http-equiv="Content-Type" content="text/html; charset={CHARSET}" />
<meta http-equiv="Pragma" content="no-cache" />
{META}
<link rel="stylesheet" href="themes/experience_the_woodlands/style.css" type="text/css" />
<script type="text/javascript" src="scripts.js"></script>
<!-- $Id: template.html,v 1.20 2005/10/25 01:16:24 Cobalt Sky Exp $ -->
</head>
<body>
  {CUSTOM_HEADER}
  <table width="728" border="0" cellpadding="0" cellspacing="0" align="center">
    <tr>
      <td valign="top" style="border: 1px solid #CCD7E0; background-color: #FFFFFF;">
        <table width="728" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td width="100%" align="center">
            <a href="http://www.experiencethewoodlands.com/gallery/"><img src="themes/experience_the_woodlands/images/header_image.jpg" alt="Experience The Woodlands Gallery" /></a>
              Sponsored by The Flory Team of The Woodlands, TX<br />
              <a href="http://www.experiencethewoodlands.com">Experience The Woodlands Weblog</a><br />
              <a href="http://www.micheleflory.com">Michele Flory - Your Woodlands Realtor</a><br /><br />
              {SYS_MENU}<br />{SUB_MENU}
            </td>
          </tr>
        </table>
        <img src="images/spacer.gif" width="1" height="15" alt="" />
        <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
          <tr>
            <td valign="top">
              {ADMIN_MENU}
              {GALLERY}
              <div style="text-align:center;">
              <div>
  {LANGUAGE_SELECT_FLAGS}<br />
  {THEME_SELECT_LIST}{LANGUAGE_SELECT_LIST}
  </div>
    <a href="http://www.cobaltsky.com">Design and Hosting by Cobalt Sky Design &amp; Development</a><br />
  </div>
            </td>
          </tr>
        </table>
      </td>
    </tr>
  </table>
  {CUSTOM_FOOTER}{VANITY}
</body>
</html>

And yes, I did read the sticky at the top of this forum, but I have no idea where the 'admin_approval' block even is since it is not in any theme file that I have looked at.

Thank you!
« Last Edit: February 08, 2006, 07:50:42 pm by Nibbler »
Logged

Nibbler

  • Guest
Re: Failed to find block 'admin_approval'
« Reply #1 on: February 08, 2006, 06:05:38 pm »

Test if your gallery works properly if you switch to the classic theme. (append ?theme=classic to your url).
Logged

pibby

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: Failed to find block 'admin_approval'
« Reply #2 on: February 08, 2006, 06:11:32 pm »

Thank you for the response, Nibbler. Unfortunately, I receive the same error. The link is http://www.experiencethewoodlands.com/gallery/ or http://www.experiencethewoodlands.com/gallery/?theme=classic with the classic theme amendment that you suggested.
Logged

Nibbler

  • Guest
Re: Failed to find block 'admin_approval'
« Reply #3 on: February 08, 2006, 06:13:13 pm »

Logged

pibby

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: Failed to find block 'admin_approval'
« Reply #4 on: February 08, 2006, 07:46:05 pm »

Thank you Nibbler! I didn't need to add that code that you posted, but that person saying their disk was full turn out to be my problem. It seems my host let their /tmp directory fill up and caused a whole mess of problems for Coppermine and Wordpress users.

Thanks again for your patience and quick responses!  :)
Logged
Pages: [1]   Go Up
 

Page created in 0.024 seconds with 20 queries.