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 after v1.3.2 to v1.4.8 upgrade  (Read 5088 times)

0 Members and 1 Guest are viewing this topic.

The Old Man

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 20
Template error after v1.3.2 to v1.4.8 upgrade
« on: August 03, 2006, 04:10:56 pm »

Hi,
I have just upgraded to v1.4.8 from v1.3.2 and all went well during the upgrade.
My albumbs are intact etc and I have updated my theme to be compatible with the new CSS additions/edits.
The gallery works okay except when I open an album, then click on an image.
Instead of the image page opening with the file details etc I see the following message:

Code: [Select]
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}" class="navmenu_pic" title="{THUMB_TITLE}"><img src="images/folder.gif" width="16" height="16" align="absmiddle" border="0" 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/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/slideshow.gif" width="16" height="16" border="0" align="absmiddle" alt="{SLIDESHOW_TITLE}" /></a>
                </td>
                <td align="center" valign="middle" class="navmenu" witdh="100%">
                        {PIC_POS}
                </td>
                <td align="center" valign="middle" class="navmenu" width="48">
                        <a href="{ECARD_TGT}" title="{ECARD_TITLE}"><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/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/next.gif" width="16" height="16" border="0" align="absmiddle" alt="{NEXT_TITLE}" /></a>
                </td>
        </tr>

as can be seen here:
http://www.sarahjaneredmond.com/gallery/displayimage.php?album=7&pos=1

Can you assist? Thank you!
« Last Edit: August 06, 2006, 04:04:31 am by TranzNDance »
Logged

Sami

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 3686
  • BMossavari
    • My Project
Re: Template error after v1.3.2 to v1.4.8 upgrade
« Reply #1 on: August 03, 2006, 04:17:42 pm »

do as suggested under theme upgrading documantation:
http://coppermine-gallery.net/demo/cpg14x/docs/theme/index.html
Logged
‍I don't answer to PM with support question
Please post your issue to related board

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Template error after v1.3.2 to v1.4.8 upgrade
« Reply #2 on: August 03, 2006, 06:39:31 pm »

Has been asked many times over - in the future, please search the board for the error message you got before re-posting the same question over.
Logged

The Old Man

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 20
Re: Template error after v1.3.2 to v1.4.8 upgrade
« Reply #3 on: August 04, 2006, 02:33:58 pm »

Sorry!

I missed out the extra steps after editing the CSS.
I have now edited the template file and it passed XHTML validation after some editing. All seems to work well minus the button links which are the wrong colours, I'll fix that. However, if you click on the validator button at the bottom of the theme it fails to validate after making the final changes in the guide to make it a compatible coppermine theme:

http://validator.w3.org/check?uri=http%3A%2F%2Fwww.sarahjaneredmond.com%2Fgallery%2Fdisplayimage.php%3Falbum%3D10%26pos%3D5&charset=%28detect+automatically%29&doctype=Inline&ss=1

Logged

Nibbler

  • Guest
Re: Template error after v1.3.2 to v1.4.8 upgrade
« Reply #4 on: August 04, 2006, 03:13:49 pm »

You have 2 html tags. Remove the <html>.
Logged

MTRLE

  • Coppermine newbie
  • Offline Offline
  • Posts: 1
Re: Template error after v1.3.2 to v1.4.8 upgrade
« Reply #5 on: August 11, 2006, 01:07:02 pm »

I tried to upgrade the Template two times now and it is still not working at all.
You can see the error here:
HERE
Can someone help me? Please!!  :-\
Logged

Sami

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 3686
  • BMossavari
    • My Project
Re: Template error after v1.3.2 to v1.4.8 upgrade
« Reply #6 on: August 11, 2006, 07:34:18 pm »

You shouldn't post to solved thread !!!
Create your own thread ...
Logged
‍I don't answer to PM with support question
Please post your issue to related board

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Template error after v1.3.2 to v1.4.8 upgrade
« Reply #7 on: August 11, 2006, 07:39:05 pm »

Locking...
Logged
Pages: [1]   Go Up
 

Page created in 0.03 seconds with 21 queries.