Advanced search  

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

Pages: [1]   Go Down

Author Topic: Template Error  (Read 4027 times)

0 Members and 1 Guest are viewing this topic.

bmm

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Template Error
« on: January 09, 2023, 05:23:21 pm »

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 -->
Logged

Joe Carver

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 1545
  • aka 'i-imagine'
    • Home Page
Re: Template Error
« Reply #1 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))

KchoPrro

  • Coppermine frequent poster
  • ***
  • Country: es
  • Offline Offline
  • Gender: Male
  • Posts: 296
    • Adolfo Ventas - Naturaleza Andaluza
Re: Template Error
« Reply #2 on: January 10, 2023, 02:18:18 pm »

  • 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. ;)
Logged
Pages: [1]   Go Up
 

Page created in 0.018 seconds with 20 queries.