Template Error Template Error
 

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]

Main Menu

Template Error

Started by bmm, January 09, 2023, 05:23:21 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

bmm

Hope I am posting in the correct forum
I have version 1.5.30
I made a couple of minor changes in config and now get the following.
I realise it is a theme template problem but I cannot even get into config to undo the changes.
Any help appreciated thank you

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

            <!-- BEGIN my_gallery -->
        <a href="{MY_GAL_TGT}" title="{MY_GAL_TITLE}" >{MY_GAL_LNK}</a> <img src="themes/water_drop/images/orange_carret.gif" width="8" height="8" border="0" alt="" />
  <!-- END my_gallery -->  <!-- BEGIN allow_memberlist -->
        <a href="{MEMBERLIST_TGT}" title="{MEMBERLIST_TITLE}" >{MEMBERLIST_LNK}</a> <img src="themes/water_drop/images/orange_carret.gif" width="8" height="8" border="0" alt="" />
  <!-- END allow_memberlist -->  <!-- BEGIN my_profile -->
        <a href="{MY_PROF_TGT}" title="{MY_PROF_TITLE}" >{MY_PROF_LNK}</a> <img src="themes/water_drop/images/orange_carret.gif" width="8" height="8" border="0" alt="" />
  <!-- END my_profile -->  <!-- BEGIN enter_admin_mode -->
        <a href="{ADM_MODE_TGT}" title="{ADM_MODE_TITLE}" >{ADM_MODE_LNK}</a> <img src="themes/water_drop/images/orange_carret.gif" width="8" height="8" border="0" alt="" />
  <!-- END enter_admin_mode -->  <!-- BEGIN leave_admin_mode -->
        <a href="{USR_MODE_TGT}" title="{USR_MODE_TITLE}" >{USR_MODE_LNK}</a> <img src="themes/water_drop/images/orange_carret.gif" width="8" height="8" border="0" alt="" />
  <!-- END leave_admin_mode -->  <!-- BEGIN sidebar -->
        <a href="{SIDEBAR_TGT}" title="{SIDEBAR_TITLE}" >{SIDEBAR_LNK}</a> <img src="themes/water_drop/images/orange_carret.gif" width="8" height="8" border="0" alt="" />
  <!-- END sidebar -->  <!-- BEGIN upload_pic -->
        <a href="{UPL_PIC_TGT}" title="{UPL_PIC_TITLE}" >{UPL_PIC_LNK}</a> <img src="themes/water_drop/images/orange_carret.gif" width="8" height="8" border="0" alt="" />
  <!-- END upload_pic -->  <!-- BEGIN register -->
        <a href="{REGISTER_TGT}" title="{REGISTER_TITLE}" >{REGISTER_LNK}</a> <img src="themes/water_drop/images/orange_carret.gif" width="8" height="8" border="0" alt="" />
  <!-- END register -->  <!-- BEGIN login -->
        <a href="{LOGIN_TGT}" title="{LOGIN_TITLE}" >{LOGIN_LNK}</a>
  <!-- END login -->  <!-- BEGIN logout -->
        <a href="{LOGOUT_TGT}" title="{LOGOUT_TITLE}" >{LOGOUT_LNK}</a>
  <!-- END logout -->

Joe Carver


  • You should update to Coppermine 1.6.2
  • Use a different theme to access your site - use mysite . com/index.php?theme=curve
    (or theme=hardwired, eyeball, or water drop (or any other theme in the themes folder))

KchoPrro

Quote from: Joe Carver on January 10, 2023, 12:00:24 AM

  • You should update to Coppermine 1.6.2
  • Use a different theme to access your site - use mysite . com/index.php?theme=curve
    (or theme=hardwired, eyeball, or water drop (or any other theme in the themes folder))

Oh my gosh!!!   :o :o, I used to change the configuration theme just to see my website in a different theme, I didn't know that it could be displayed just by adding that section in the url

Thanks for the input. I hope the fellow can reverse the problem, definitely upgrading to 1.6 is the best option, I also had to do the same and it's worth it. ;)