Happening consistently with latest CVS contents. Am trying to add the first sub-album to the top level. Adding an item gets a similar error.
Error (ERROR_LOCK_TIMEOUT)
* in modules/core/classes/helpers/GalleryLockHelper_medium.class at line 424 (gallerystatus::error)
* in modules/core/classes/helpers/GalleryLockHelper_medium.class at line 57 (gallerylockhelper_medium::_acquirelock)
* in modules/core/classes/GalleryCoreApi.class at line 2000 (gallerylockhelper_medium::acquirereadlock)
* in modules/core/ItemAddAlbum.inc at line 53 (gallerycoreapi::acquirereadlock)
* in main.php at line 147 (itemaddalbumcontroller::handlerequest)
* in main.php at line 46
* in main.php at line 39
----
Gallery version 2.0-alpha-4+
PHP version 4.3.9 apache
Webserver Apache/1.3.29 (Unix) mod_become/1.3 DAV/1.0.3 mod_perl/1.29 PHP/4.3.9 mod_fastcgi/2.4.2
Database mysql 4.1.7-log
Toolkits NetPBM, Gd
Operating system FreeBSD lon-web-4.gradwell.net 5.3-STABLE FreeBSD 5.3-STABLE #3: Mon Jan 24 13:07:15 GMT 2005
:/usr/obj/usr/src/sys/LONWEB4-20041115 i386
Browser Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0
Any ideas?
Thanks
- Air
Posts: 7994
Is it possible that your g2data directory is on an NFS mounted filesystem? We're trying to use flock() and that won't work properly on NFS This problem is next on my list of issues to resolve...
Posts: 2
I've asked my host and you are correct, my filesystem is mounted on NFS (at least for the time being).
Thanks for the swift reply bharat. If this is resolved any time soon a reply here would be fantastic :D
Posts: 5
Same error here, even trying something simple like changing the title of the top-level album. Just including this info in case it helps.
Error Detail -
Error (ERROR_LOCK_TIMEOUT)
* in modules/core/classes/helpers/GalleryLockHelper_medium.class at line 424 (gallerystatus::error)
* in modules/core/classes/helpers/GalleryLockHelper_medium.class at line 187 (gallerylockhelper_medium::_acquirelock)
* in modules/core/classes/GalleryCoreApi.class at line 2045 (gallerylockhelper_medium::acquirewritelock)
* in modules/core/ItemEditItem.inc at line 95 (gallerycoreapi::acquirewritelock)
* in modules/core/ItemEdit.inc at line 91 (itemedititem::handlerequest)
* in main.php at line 147 (itemeditcontroller::handlerequest)
* in main.php at line 46
* in main.php at line 39
---
System Information
Gallery version 2.0-alpha-4+
PHP version 4.3.10 cgi
Webserver Apache/2.0.51 (Red Hat)
Database mysql 4.1.8-standard
Toolkits ImageMagick, Gd, NetPBM
Operating system Linux web2.extendcp.co.uk 2.4.21-27.0.1.ELsmp #1 SMP Mon Dec 20 18:47:45 EST 2004 i686
Browser Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)
Posts: 7994
I just committed some code to allow you to choose which type of locking you use, on the Site Admin -> General page. Get a nightly snapshot and try switching to database locking and see if that fixes the problem for you.
Posts: 5
I can confirm that, for me at least, switching to database locking has fixed the problem. Thanks!