[SOLVED] Installation error with Beta 1

lunarboy

Joined: 2002-12-13
Posts: 12
Posted: Sun, 2005-04-03 23:40

I think I encountered this problem before with an alpha version of G2 that I was never able to solve. Anyway, I go through the installer fine, except that at the end, I get the upgrader and it wants to upgrade me from 0.8 to 0.9. It's unable to do so, and gives me the following errors:

Error (ERROR_STORAGE_FAILURE)

    * in modules/core/classes/GalleryStorage/DatabaseStorage.class at line 1162 (gallerystatus::error)
    * in modules/core/classes/GalleryStorage.class at line 241 (mysqldatabasestorage::execute)
    * in modules/core/CoreModuleExtras.inc at line 330 (gallerystorage::execute)
    * in modules/core/module.inc at line 512 (coremoduleextras::upgrade)
    * in modules/core/classes/GalleryModule.class at line 137 (coremodule::upgrade)
    * in upgrade/steps/UpgradeCoreModuleStep.class at line 68 (coremodule::installorupgrade)
    * in upgrade/index.php at line 155 (upgradecoremodulestep::loadtemplatedata) 

Please help!

----

Gallery URL (optional): http://robertsonwong.com/gallery2/
Gallery version: Beta 1
Webserver (with version): Apache 1.3.27
Datatabase (with version): MySQL 4.1.9
PHP version (eg 4.2.1): 4.3.10
phpinfo URL (optional): http://robertsonwong.com/gallery2/phpinfo.php
Graphics Toolkit(s): ImageMagick
Operating system: Linux
Web browser/version:
G1 version (for migration bugs):

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Mon, 2005-04-04 00:23

if you see the upgrader right after the installer then something has already gone wrong. please try a current nightly snapshot and see if the system checks page gives you any warnings.

Edit: I checked your phpinfo and I see that the most recent installer will give you a warning and tell you what needs to be changed in your config.

 
lunarboy

Joined: 2002-12-13
Posts: 12
Posted: Mon, 2005-04-04 02:05

Thanks for the suggestion for using the nightly build. I installed the 2005-04-03 one from http://www.fw2.net/files/gallery/.

I've also upgraded PHP to 5.0.3 (the latest my webhost provides) and increased the memory_limit to 16MB.

The installation was a success. Thanks!

How should I upgrade in the future? I don't have access to the "cvs" command on this host, so I'm not quite sure which files to replace/etc. when upgrading to a newer version of the nightly builds.

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Mon, 2005-04-04 05:53

just extract an entire nightly build on top of your existing code whenever you wish to upgrade to the latest. then visit your gallery.. if a core upgrade is required it will bring up the upgrader.. otherwise visit Site Admin / modules and see if any modules need upgrading (or visit upgrade/index.php and run through the upgrader, which can upgrade modules even if no core upgrade is needed)