Template Error Template Error
 

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

Main Menu

Template Error

Started by holly79, April 25, 2006, 08:30:33 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

holly79

Hi,

at first: comgratulations for that nice gallery!   :)

Now I have a problem:
   I have installed the Mac OS x Theme. If I now enlarge an image, I get the following error:

I am using Coppermine Photo Gallery 1.4.5 (stable)!

Template error
Failed to find block 'report_file_button'(#(<!-- BEGIN report_file_button -->)(.*?)(<!-- END report_file_button -->)#s) in :

<tr>
<td align="center" valign="middle" class="navmenu" width="48">
<a href="{THUMB_TGT}" title="{THUMB_TITLE}"><img src="images/spacer.gif" width="16" height="4" border="0" alt="" /><img src="images/folder.gif" width="16" height="16" border="0" align="absmiddle" alt="{THUMB_TITLE}" /></a>
</td>
<td align="center" valign="middle" class="navmenu" width="48">
<a href="javascript:;" onClick="blocking('picinfo','yes', 'block'); return false;" title="{PIC_INFO_TITLE}"><img src="images/spacer.gif" width="16" height="4" border="0" alt="" /><img src="images/info.gif" width="16" height="16" border="0" align="absmiddle" alt="{PIC_INFO_TITLE}" /></a>
</td>
<td align="center" valign="middle" class="navmenu" width="48">
<a href="{SLIDESHOW_TGT}" title="{SLIDESHOW_TITLE}"><img src="images/spacer.gif" width="16" height="4" border="0" alt="" /><img src="images/slideshow.gif" width="16" height="16" border="0" align="absmiddle" alt="{SLIDESHOW_TITLE}" /></a>
</td>
<td align="center" valign="middle" class="tableh1" style="border-left: 1px solid #838383;" witdh="100%">
<b>{PIC_POS}</b>
</td>
<td align="center" valign="middle" class="navmenu" width="48">
<a href="{ECARD_TGT}" title="{ECARD_TITLE}"><img src="images/spacer.gif" width="16" height="4" border="0" alt="" /><img src="images/ecard.gif" width="16" height="16" border="0" align="absmiddle" alt="{ECARD_TITLE}"></a>
</td>
<td align="center" valign="middle" class="navmenu" width="48">
<a href="{PREV_TGT}" class="navmenu_pic" title="{PREV_TITLE}"><img src="images/spacer.gif" width="16" height="4" border="0" alt="" /><img src="images/prev.gif" width="16" height="16" border="0" align="absmiddle" alt="{PREV_TITLE}" /></a>
</td>
<td align="center" valign="middle" class="navmenu" width="48">
<a href="{NEXT_TGT}" class="navmenu_pic" title="{NEXT_TITLE}"><img src="images/spacer.gif" width="16" height="4" border="0" alt="" /><img src="images/next.gif" width="16" height="16" border="0" align="absmiddle" alt="{NEXT_TITLE}" /></a>
</td>
</tr>


Can anybody help me???   I love these theme!!!

maybe another helpful warning if I try to go the comfiguration:
You are trying to access Coppermine's config page using an outdated link - the file config.php has been renamed to admin.php. You probably updated your site and haven't changed your theme as suggested in the theme upgrade guide.
You are now being redirected to the actual page you were looking for.


If I click on next, all configs can be done!

Greets, Holly

donnoman

To me it looks like you upgraded from a previous version of coppermine and didn't get ALL of the new files uploaded.

Make sure your FTP client sends all the files again, not just what it thinks is newer.

holly79

#2
I have no updates done. I have installed it on my webserver. All work fine till I use these theme. If I change the theme all work fine. Only the Macosx-theme make problems.   ???
I have overwrite the old theme by ftp and have upload a new copy in another directoby but the same error comes.
please help me  :'(  :'(  :'(


Nibbler

QuoteI have installed the Mac OS x Theme

What does that mean ? That theme comes as standard and just needs selecting in config.

Joachim Müller

@Nibbler: holly79 apears to have used an outdated MAC_OS_X theme as suggested in http://forum.coppermine-gallery.net/index.php?topic=30807.0

@holly79: do as suggested in the other thread and use the theme that was built for your version and even ships with coppermine. Don't use the files the russian leeches provide, but the originals. Don't trust people who offer something that is available for free from the original creators.. There must be a reason for them to waste their bandwidth instead of making people use the original files.