forum.coppermine-gallery.net

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Themes/Skins/Templates => Topic started by: Doedeli on December 16, 2004, 10:02:16 am

Title: how to solve this error?
Post by: Doedeli on December 16, 2004, 10:02:16 am
Hello.

I have got a problem using the script.

If i want to look at (click on) uploaded images i get the following error message.

Code: [Select]
Template error
Failed to find block 'ipinfo'(#(<!-- BEGIN ipinfo -->)(.*?)(<!-- END ipinfo -->)#s) in :

<tr>
<td>
<table width="100%" cellpadding="0" cellspacing="0">
<td class="tableh2_compact" nowrap>
<b>{MSG_AUTHOR}</b>
</td>
<td class="tableh2_compact" align="right" width="100%">
{BUTTONS}
</td>
<td class="tableh2_compact" align="right" nowrap>
<span class="comment_date">[{MSG_DATE}]</span>
</td>
</table>
</td>
</tr>
<tr>
<td class="tableb_compact">
<div id="cbody{MSG_ID}" style="display:block">
{MSG_BODY}
</div>
<div id="cedit{MSG_ID}" style="display:none">
{EDIT}

</div>
</td>
</tr>


How can i fix this? I used coppermine 1.0 before and here my template und the script works fine.

Thx for your help.

Title: Re: how to solve this error?
Post by: Hein Traag on December 16, 2004, 10:11:42 am
Your trying to use an old template and script file which worked in 1.0 in the new stable version 1.3.2 ??

If you are an admin there's a button called Upload approval in case users have uploaded pictures. Maybe you mean that option.
Title: Re: how to solve this error?
Post by: Doedeli on December 16, 2004, 10:35:33 am
I use an templete which i made for version 1.0. Bute the temple looks fine. But eif i click on a thumbnail of any picture i have uploaded, then i get the above mentioned message.
Title: Re: how to solve this error?
Post by: Joachim Müller on December 16, 2004, 10:40:26 am
http://coppermine.sourceforge.net/demo/docs/theme.htm

Joachim