I considered starting a new topic, but I guess my problem is quite similar to this, so I write here.
Like some others here I keep getting these strange error message (thumbnails.php)
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've tried the fix Nibbler posted:
http://forum.coppermine-gallery.net/index.php?topic=24295.0I've checked the servers disk space (some suggested to do so) and found it should be enough space left.
I've checked my (somehow modified) theme files and theme.inc.php. Maybe I've just overlooked something, but it seems like I can reproduce that same bug with the cpg demo gallery here, so the mods to my installation should not be relavant:
http://coppermine-gallery.net/demo/cpg14x/thumbnails.php?album=190the result is the error message I've posted above.
"album=190" is a bogus value - it doesn't exist.
I guess that is the problem: invalid parameters and the way cpg handles them.
In my case: I've replaced my old 1.3.x installation of Coppermine with a fresh install of 1.4.x just a few days ago. Serveral links from other websites to my gallery were valid before, but now pointing to the fresh install, where they are no longer valid. The results are not regular cpg error messages, but that strange "template errors".
Can anyone reproduce this?
Any idea how to solve it?