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: Problem after upgrading to 1.2  (Read 3468 times)

0 Members and 1 Guest are viewing this topic.

gulf

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
    • http://www.fotogenet.dk
Problem after upgrading to 1.2
« on: October 16, 2003, 11:58:51 am »

Hi everyone,

I really hope you can help me out on this one, cause my website is kind of a mess right now :-(

I followed the instructions about how to upgrade from version 1.1 to 1.2 and the update script say everything was OK, but now I get the following error when running index.php

Fatal error: Call to undefined function: theme_display_album_list_cat() in /hotel/fotogenet_dk/WWW/coppermine/index.php on line 493

Like it can't find that function, my guess was that this function should be found in some include file or something but I can't seam to find it anywhere?

My idea is that it has something to do with read/write/execute premissions to some files, but I don't know which ones?

Hope someone can help me out there..
I'm kind of new with php so it might just be some dumbass thing I have overseen :-)
Logged
Best Regards,
Jonas Jensen
www.fotogenet.dk

Tarique Sani

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 2712
    • http://tariquesani.net
Problem after upgrading to 1.2
« Reply #1 on: October 16, 2003, 12:16:44 pm »

The said function is in the file theme.php - did you replace it?

[update] http://www.fotogenet.dk/coppermine/index.php?theme=igames

This works - your default theme.php is bad - in case you are using a modified theme - please be aware that themes are not backward compatible
[/update]
Logged
SANIsoft PHP applications for E Biz

gulf

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
    • http://www.fotogenet.dk
Problem after upgrading to 1.2
« Reply #2 on: October 16, 2003, 12:30:00 pm »

Hi,

Thx a lot for your reply and yes I'm using a customized theme, so that's why, I guess I have to update the database to set the config back to a default theme before it works.

Thanks a lot I will try that. right away.

//Jonas
Logged
Best Regards,
Jonas Jensen
www.fotogenet.dk

Gujustud

  • Coppermine newbie
  • Offline Offline
  • Posts: 1
Problem after upgrading to 1.2
« Reply #3 on: October 27, 2003, 06:40:07 am »

Thanks for the info. I had this problem also.

It seems if you made a custom theme, and had it set when you do the upgrade, you'll get the 493 error. Make sure you erase your old themes, and install the newest ones.
Logged
Pages: [1]   Go Up
 

Page created in 0.016 seconds with 19 queries.