forum.coppermine-gallery.net

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Themes/Skins/Templates => Topic started by: bajskorv on November 02, 2005, 12:11:12 pm

Title: TEMPLATE ERROR when clicking on PICTURE!!!
Post by: bajskorv on November 02, 2005, 12:11:12 pm
HELLO! visit http://shakira.wagoo2.com/gallery/cpg135/ and check out a pic and see what happends! WHY? this is what it says:

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>



I haven't changed anything in the template (well except for adding a header pic). what's wrong help
Title: Re: TEMPLATE ERROR when clicking on PICTURE!!!
Post by: kegobeer on November 02, 2005, 12:28:45 pm
It's your theme causing that error.  It's been modified and the ipinfo block has been removed (look in the classic theme.php and you'll see plenty of <!--BEGIN--> <!--END> blocks.)  The classic theme works just fine on your site.