forum.coppermine-gallery.net
Support => Older/other versions => cpg1.2 Standalone Support => Topic started by: gulf 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 :-)
-
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]
-
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
-
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.