A slew of problems: progress bar doesn't update, lock not acquired, internal server errors...

heathert

Joined: 2008-07-23
Posts: 37
Posted: Sat, 2008-08-02 04:49

Error Detail -
Error (ERROR_LOCK_TIMEOUT) : /home/users/web/b2312/sl.orientalstampart/public_html/osagallery/g2data/locks/339
in modules/core/classes/FlockLockSystem.class at line 109 (gallerycoreapi::error)
in modules/core/classes/GalleryLockSystem.class at line 147 (flocklocksystem::_acquirelock)
in modules/core/classes/helpers/GalleryLockHelper_simple.class at line 176 (flocklocksystem::acquirewritelock)
in modules/core/classes/GalleryCoreApi.class at line 2193 (gallerylockhelper_simple::acquirewritelock)
in modules/core/classes/helpers/GalleryEntityHelper_medium.class at line 42 (gallerycoreapi::acquirewritelock)
in modules/core/classes/GalleryCoreApi.class at line 2271 (galleryentityhelper_medium::deleteentitybyid)
in modules/core/ItemDelete.inc at line 79 (gallerycoreapi::deleteentitybyid)
in main.php at line 231 (itemdeletecontroller::handlerequest)
in main.php at line 94
in main.php at line 83
System Information
G2: http://www.orientalstampart.com/osagallery/
G1: http://www.orientalstampart.com/v-web/gallery/ (G1 version 1.5.7, finally updated from 1.3.4 today)
Gallery version 2.2.5
PHP version 4.4.7 cgi
Webserver Apache
Database mysqlt 5.0.51a-log
Toolkits SquareThumb, ImageMagick, Thumbnail, NetPBM, Gd
Operating system Linux boscgi2003.eigbox.net 2.6.24.7 #1 SMP Wed May 7 12:55:23 EDT 2008 i686
Browser Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1)

I'm supposed to be migrating some 450 albums from 1.5.7 and I'm just having the worst time... Either nothing seems to be happening on the orange bar -- i.e., it says "importing x.jpg" and shows maybe a 20th of the orange bar, and then just sits there (sometimes there's a large number, then 32M in the right upper corner, never any error problems beneath the bar), but then I go into the main gallery page and there's PART of the album there. Or else it tells me I don't have permissions. Or else I get a 500 error doc. Or else there's no data lock. Can anybody give me some little clue of what's going on?? I'm so desperate for this to be over...

Please fill out the following form and take a look at the linked pages. The more information you supply, the better we can help you. Remove this FAQ information from your post before submitting.

 
alecmyers

Joined: 2006-08-01
Posts: 4342
Posted: Sat, 2008-08-02 15:58

Many Hosting providers deliberately limit the length of time any process is permitted to run, so if you start a long process like adding hundreds of items to an album it will fail silently half-way through (hence, maybe, the stalled orange bar).

Try importing the albums one at a time, and see if that helps.

One of the downsides of Gallery2's flexibility is the associated complexity and high demands on the server, for which not all hosting providers' offerings are suitable.

 
heathert

Joined: 2008-07-23
Posts: 37
Posted: Sat, 2008-08-02 16:34

Thanks for the response. Unfortunately, this happens with only 1 album, too.

 
alecmyers

Joined: 2006-08-01
Posts: 4342
Posted: Sat, 2008-08-02 19:06

How many items in that album?

 
heathert

Joined: 2008-07-23
Posts: 37
Posted: Sat, 2008-08-02 19:12

72, I think...

 
alecmyers

Joined: 2006-08-01
Posts: 4342
Posted: Thu, 2008-10-09 11:43

Big images, small images?

FAQ: I get a blank page / a network/webserver error, what's wrong?Checkout the bit about raising the memory limit.

Ultimately, unfortunately, there can be a huge range of different server-based issues with running long scripts - memory limits, limits on the number of open files, processor resource limits - all imposed by different hosting provider policies and setups.