Undefined function: setpassword()

kvdb

Joined: 2002-10-10
Posts: 29
Posted: Thu, 2002-10-10 23:07

Hi,

Just pulled gallery2 from CVS 10 minutes before this post.
while running setup.php after creating the database I get this error:

Fatal error: Call to undefined function: setpassword() in /var/www/html/setup/setup.php on line 500.

Line 500 is:
$user->setPassword('admin');

And there is no fucntion in GalleryUser.class called setpassword so I guess this is stil 'under construction'?

 
aroundmyroom

Joined: 2002-09-09
Posts: 32
Posted: Fri, 2002-10-11 07:08

yup,
I installed gallery2 at a 2nd host (without having a mysql database already)

- it created the database
- it was creating tables
- gave same error you encounter

So in the installation process of the cvs:

- installing gallery2 into an existing mysql database: error creating 'database' / tables message
- installing gallery2 into a not existing mysql database: database is created, tables also, but giving above error

I'm using 2 different mysql versions: 3.23.39 & 3.23.47
first at a cobalt server, 2nd at a Mandrake Linux box.

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Sat, 2002-10-12 00:59

A bug! I've fixed it in CVS.

 
kvdb

Joined: 2002-10-10
Posts: 29
Posted: Sat, 2002-10-12 09:11

Yes, works now.