I'm running gallery v1.4-pl2 on FreeBSD 5-CURRENT.
I'm having a couple of problems which I think have the same root
cause. First, search is returning a page that only contains the box
at the top of the page to go back to the gallery. Second, when trying
to move photos to another album, the Move/Cancel buttons don't appear
below the list of the albums.
I spend some time today trying to debug the search problem by putting
'print's at various places ...
I determined that the AlbumDB constructor isn't returning (line 87 in
In the AlbumDB constructor (classes/AlbumDB.php), I get through the:
while ($i < sizeof($this->albumOrder))
loop between 60 and 68 times, then $album->load($name,$loadphotos)
doesn't return. In load(), loadFromFile() doesn't return. In
loadFromFile(), the first getFile($filename) doesn't return. In
util.php, I see that fread($fd, 65536) doesn't return.
Another thing I've noticed is that the album that it stalls on changes
as I add more prints and such.
In other cases, such as loading the main page, the AlbumDB constructor
So, what's going on here? Is there some timeout in the
gallery/PHP/apache that I'm exceeding so my request gets killed?
(This would also explain the move photo problem, as well as an upgrade
album problem I had last week).
Is my album store corrupt in some way? Is there a tool to check
the integrity of my albums? I know I had an album that wasn't linked
into the album tree, but I managed to delete it.
Any other thoughts or suggestions?
PS. Upgrading to pl2 put my dates back to US standard. Thanks for the
suggestion. Changing my css fixed my color issue; thanks again.
James E. Pace <jepace@...>