Advanced search  

News:

cpg1.5.22 maintenance release - upgrade recommended
The Coppermine development team is releasing an update for Coppermine in order to fix several minor issues. All fixes are not security critical, so if your gallery is running fine with cpg1.5.20 you don't need to upgrade. If you are running an older version than cpg1.5.20, you must update to this latest version as soon as possible because of the security impact!
[more]

Pages: [1]   Go Down

Author Topic: Template error after v1.3.2 to v1.4.8 upgrade  (Read 2429 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: 47844
  • 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

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 19981
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
I don't care about what they say, I won't live or die that way.

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: 47844
  • 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.181 seconds with 20 queries.