Advanced search  

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

Pages: [1]   Go Down

Author Topic: change theme to default before you upgrade from 1.1D to 1.2R  (Read 3834 times)

0 Members and 1 Guest are viewing this topic.

yonasb

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
change theme to default before you upgrade from 1.1D to 1.2R
« 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
Logged

DJMaze

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Posts: 831
    • Dragonfly CMS
change theme to default before you upgrade from 1.1D to 1.2R
« Reply #1 on: November 14, 2003, 03:30:56 am »

hmm yes we forgot to put that in coppermine.sql  :oops:
Logged
There are 2 kinds of users in this world: satisfied and complainers.
Why do we never hear something from the satisfied users?
http://coppermine-gallery.net/forum/index.php?topic=24315.0
Pages: [1]   Go Up
 

Page created in 0.017 seconds with 18 queries.