CPG 1.2, errors with custom theme.. CPG 1.2, errors with custom theme..
 

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

CPG 1.2, errors with custom theme..

Started by shaggszgn, February 01, 2004, 09:19:29 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

shaggszgn

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.
QuoteThe 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:
QuoteFatal 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

Joachim Müller


shaggszgn

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.