Installation errors

shadowest

Joined: 2009-02-12
Posts: 2
Posted: Thu, 2009-02-12 19:46

- went to install at /gallery3/installer/
-

Quote:
Fatal error: Class 'InstallException' not found in D:\wamp\www\gallery3\installer\installer.php on line 113

- class InstallException doesn't exist anywhere

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Sun, 2009-02-15 09:14

Good catch! I just submitted a fix for this, it'll be included in the next release unless you want to get the code from subversion.

 
shadowest

Joined: 2009-02-12
Posts: 2
Posted: Mon, 2009-02-16 20:12

Thanks but I still can't install gallery3.
- went to /gallery3/installer/
-

Quote:
Table 'gallery3.users' doesn't exist

- /gallery3/installer/installer.php (line 90) is trying to access the "users" table but it doesn't exist because there's no command to create a "users" table in the first place.

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Mon, 2009-02-16 20:52

This is after a clean reinstall with the latest code from subversion? The SQL to create the users table is around line 290 of installer/install.sql, so your table should exist at this point unless you get an error from mysql. To verify that the SQL is correct, you can always do this:

mysql -u<user> -p<pass> dbname < installer/install.sql

Report back if you get any errors from mysql doing that. If that works, then a clean reinstall should work also.