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
Everything seemed to work smoothly (made the new configuration), but I can't view the albums. I can see the preview but as soon as I want to view the album, I just get

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

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Wed, 2002-09-18 08:50

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.

 
borgi

Joined: 2002-09-17
Posts: 5
Posted: Wed, 2002-09-18 09:42

Ahh, thank you
I rechecked the files and indeed, some were still old. Now everything is working!

THX!!!

 
borgi

Joined: 2002-09-17
Posts: 5
Posted: Wed, 2002-09-18 11:50

fine now! :smile: