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

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

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.