Advanced search  

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]

Pages: [1]   Go Down

Author Topic: CPG 1.2, errors with custom theme..  (Read 2306 times)

0 Members and 1 Guest are viewing this topic.

shaggszgn

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
CPG 1.2, errors with custom theme..
« on: February 01, 2004, 09:19:29 pm »

Hi there. I had made a custom theme for CPG 1.1 and it work perfectly fine. Now that I upgraded to CPG 1.2 I get an error when I enter my gallery.
Quote
The error is as followed: Fatal error: Call to undefined function: theme_display_album_list_cat() in /home/*sitename*/public_html/galleries/index.php on line 493


I replaced the new index.php with the old CPG 1.1 index.php, just to see what happends, it all seemed to be working ok, expect I get an error on thumbnails.php that reads:
Quote
Fatal error: Call to undefined function: theme_display_breadcrumb() in /home/*sitename*/public_html/galleries/thumbnails.php on line 122


Here's my question, are the theme files for both releases slightly different? If so, what would I need to add/change to my current theme files to get it to work with v1.2? I did alot of work to this theme and I realy hate to start over again.

Thanks for any help

shaggszgn
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
CPG 1.2, errors with custom theme..
« Reply #1 on: February 01, 2004, 09:53:31 pm »

the themes differ from cpg1.1.x to cpg1.2.x - see http://forum.coppermine-gallery.net/index.php?topic=2708

GauGau
Logged

shaggszgn

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
CPG 1.2, errors with custom theme..
« Reply #2 on: February 01, 2004, 10:28:34 pm »

Thanks, I was able to fix the problem by replacing the old theme.php with the a newer version of theme.php and modify the links.
Logged
Pages: [1]   Go Up
 

Page created in 0.02 seconds with 14 queries.