Problems after upgrade
borgi
Joined: 2002-09-17
Posts: 5 |
Posted: Tue, 2002-09-17 22:14 |
I just upgraded my gallery from 1.2.5 to 1.3.1 Fatal error: Call to undefined function: cancreatesubalbum() in /home/senpaiweb/public_html/gallery/view_album.php on line 221 http://www.grosshennig.de/gallery/ Is there a solution for me? THX Patrick |
|
Posts: 7994
Patrick,
At a guess I'd say that you didn't copy over all the files when you upgraded. The "canCreateSubAlbums" function is defined in two classes:
% grep -nri "function cancreatesub" classes
classes/Album.php:1147: function canCreateSubAlbum($uid) {
classes/User.php:150: function canCreateSubAlbum($album) {
make sure that you have the right version of these two files. And if you don't, then you should verify ALL the files in your install.
Posts: 5
Ahh, thank you
I rechecked the files and indeed, some were still old. Now everything is working!
THX!!!
Posts: 5
fine now! :smile: