Error (ERROR_PLATFORM_FAILURE) during setup of a second gallery (within multisite)

ofwegen

Joined: 2004-08-10
Posts: 4
Posted: Sun, 2005-12-25 13:02

I've setup a multisite gallery. After first installation, no problems. Then after creating the second one, problem bellow occured. If I look into the /stage/websites/gallery_data/jc_db directory, only an installation log file is there. Last few lines of the log file:

2005-12-25 12:30:27 [<no session id>] Core module activated successfully
2005-12-25 12:30:27 [<no session id>] Commit transaction
2005-12-25 12:30:27 [<no session id>] Committed transaction successfully
2005-12-25 12:30:27 [<no session id>] Finish install core module step
2005-12-25 12:30:27 [<no session id>] Error: Failure during install core module step
2005-12-25 12:30:27 [<no session id>] [1135510227] can't guarantee 30 -- extending!


Gallery version (2.0.2):
PHP version (4.3.9-3.9):
PHPInfo Link (see att):
Webserver (Apache 2.0.52-19):
Database (MySql 4.1.12-3.RHEL4.1):
Activated toolkits (NetPbm, ImageMagic):
Operating system (Linux CentOS 4.2):
Browser (Firefox 1.0.7):

Error installing Gallery Core

Stack Trace:
Error (ERROR_PLATFORM_FAILURE) : /stage/websites/gallery_data/jc_db/locks/0/1/1

* in modules/core/classes/FlockLockSystem.class at line 261 (gallerystatus::error)
* in modules/core/classes/FlockLockSystem.class at line 69 (flocklocksystem::_acquirelock)
* in modules/core/classes/helpers/GalleryLockHelper_simple.class at line 66 (flocklocksystem::acquirereadlock)
* in modules/core/classes/GalleryCoreApi.class at line 2068 (gallerylockhelper_simple::acquirereadlock)
* in modules/core/classes/helpers/GalleryPermissionHelper_advanced.class at line 1120 (gallerycoreapi::acquirereadlock)
* in modules/core/classes/helpers/GalleryPermissionHelper_advanced.class at line 201 (gallerypermissionhelper_advanced::_getaccesslistcompacterlock)
* in modules/core/classes/helpers/GalleryPermissionHelper_advanced.class at line 80 (gallerypermissionhelper_advanced::_changepermission)
* in modules/core/classes/GalleryCoreApi.class at line 671 (gallerypermissionhelper_advanced::addgrouppermission)
* in modules/core/CoreModuleExtras.inc at line 1728 (gallerycoreapi::addgrouppermission)
* in ??? at line 0 (coremoduleextras::_createrootalbumitem)
* in modules/core/CoreModuleExtras.inc at line 206
* in modules/core/module.inc at line 490 (coremoduleextras::upgrade)
* in modules/core/classes/GalleryModule.class at line 158 (coremodule::upgrade)
* in install/steps/InstallCoreModuleStep.class at line 125 (coremodule::installorupgrade)
* in install/index.php at line 167 (installcoremodulestep::loadtemplatedata)

Apache error file:

[client 10.55.20.200] PHP Warning: fopen(/stage/websites/gallery_data/jc_db/locks/0/1/1): failed to open stream: No such file or directory in /stage/websites/gallery/modules/core/classes/GalleryPlatform.class on line 367, referer: http://gallery.ofwegen.com/install/index.php?step=7

AttachmentSize
test.php.htm.txt38.7 KB
 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Sun, 2005-12-25 14:33

please delete the data dir of your multisite and delete the corresponding database.
then try to install again.
if it fails, do not hit refresh or so, just copy the install log from the data directory and attach it here. thanks.

 
ofwegen

Joined: 2004-08-10
Posts: 4
Posted: Tue, 2005-12-27 22:08

Hmmm that did the trick. Strange, because I create subsites with a script.