forum.coppermine-gallery.net

Support => Older/other versions => cpg1.2 PHPnuke/Postnuke Support => Topic started by: yonasb on November 14, 2003, 12:40:12 am

Title: change theme to default before you upgrade from 1.1D to 1.2R
Post by: yonasb on November 14, 2003, 12:40:12 am
I was using the water-drop theme in my 1.1D-phpnuke port and I followed the InstallEnglish.txt to upgrade to 1.2RC2. every thing went smooth. But when I try to view my photos I got an error that says "FAtal Error: function theme_display_album_list_cat() is not defained in index.php ...".

Solution 1)
before you upgrade go to your config and change the theme to default

or

solution 2)
use phpMyadmin or any other was to apply the following cmd.

UPDATE `cpg_config` SET `value` = 'default' WHERE `name` = 'theme' LIMIT 1 ;

assuming that cpg_ is your table prefix.

--yonas
Title: change theme to default before you upgrade from 1.1D to 1.2R
Post by: DJMaze on November 14, 2003, 03:30:56 am
hmm yes we forgot to put that in coppermine.sql  :oops: