"Page cannot be displayed" Errors on some menu opt

acanthis

Joined: 2004-08-13
Posts: 2
Posted: Fri, 2004-08-13 07:07

I have recently completed a fresh install of Gallery 1.4.4 and have imported my albums previously created under 1.3.4 (formerly on a Win2K/IIS box)

I am now finding that several menu options from the top level of the gallery return the IE error page: "Cannot find server - The page cannot be displayed" Specifically: "delete album" and "move album" from album menus and "Find Orphans" off the main menu.

Here is the tail of the Apache error log after getting such a message:

[Fri Aug 13 08:20:58 2004] [notice] child pid 4394 exit signal Segmentation fault (11)
[Fri Aug 13 08:20:58 2004] [notice] child pid 4393 exit signal Segmentation fault (11)
[Fri Aug 13 08:20:58 2004] [notice] child pid 4391 exit signal Segmentation fault (11)
[Fri Aug 13 08:20:58 2004] [notice] child pid 4389 exit signal Segmentation fault (11)
[Fri Aug 13 08:20:59 2004] [notice] child pid 4392 exit signal Segmentation fault (11)
[Fri Aug 13 08:20:59 2004] [notice] child pid 4314 exit signal Segmentation fault (11)
[Fri Aug 13 08:20:59 2004] [notice] child pid 4309 exit signal Segmentation fault (11)
[Fri Aug 13 08:20:59 2004] [notice] child pid 4280 exit signal Segmentation fault (11)
[Fri Aug 13 08:21:00 2004] [notice] child pid 4395 exit signal Segmentation fault (11)

I'm scratching my head trying to track this one down. Everything else works fine. I can create new albums, upload images etc. etc. Gallery configuration went through with no errors, and the albums converted OK.

The only other info that I can offer which may be relevant is that I'm using name-based virtual hosts under Apache, but I can't see how this could cause the problem; other PHP-based apps on the same virtual host, like Mambo and Phorum are running fine. (And before anyone asks, I'm not trying to run multiple instances of Gallery under different virtual hosts - there's only one install on one host)

At this stage I'm about ready to uninstall and try 1.3.4 which I know did previously work fine on this system.

Any ideas or at least suggestions of what to try?

----
Give us your Gallery/webserver information to get a faster answer.
Get this information from the PHP diagnostic (in the configuration wizard).
Gallery URL (optional but very useful):
Gallery version: 1.4.4
Apache version: 2.0.46
PHP version (don't just say PHP 4, please): 4.3.1
Graphics Toolkit:
Operating system: SuSE Linux 8.2
Web browser/version (if applicable): IE 6.0.2800.1106

 
acanthis

Joined: 2004-08-13
Posts: 2
Posted: Fri, 2004-08-13 11:02

OK, well here was my solution:

1) Uninstall Gallery 1.4.4
2) Delete all albums
3) Install Gallery 1.4.pl2
4) Restore albums from my version 1.3.4 backup

et voila - problem solved!

Something has obviously changed in 1.4.4 and it seems to break PHP, at least on my system. Sorry, but I can't have something running that keeps generating segmentation faults all over the place!

For what it's worth, the limited testing and hacking that I did on the errant find_orphans.php indicated that the PHP interpreter was being crashed on the call to new AlbumDB(), if that's any help to anyone.

 
dbrzoska

Joined: 2004-06-16
Posts: 10
Posted: Wed, 2004-09-15 13:34

I'm running 1.4.4-pl2 and have a similar problem. Find Orphans kicks out a 'page cannot be displayed'. Error. Everything else seems to work just fine. I put in a new install for another domain and I don't have the same problem. Any ideas on where to look or what I should do?

 
SamBeckett
SamBeckett's picture

Joined: 2002-09-29
Posts: 146
Posted: Thu, 2004-09-16 20:19

/gallery/tools/find_orphans.php

Quote:
error 500: Internal Server Error

The server encountered an unexpected condition which prevented it from fulfilling the request.

 
alindeman
alindeman's picture

Joined: 2002-10-06
Posts: 8194
Posted: Thu, 2004-09-16 20:24

Yikes ... please check for more verbose errors in your Apache error log

 
mbuna
mbuna's picture

Joined: 2002-12-26
Posts: 96
Posted: Wed, 2004-11-24 05:30

I get the same error on find_orphans and also got it on move photos.

1.4.4

 
mbuna
mbuna's picture

Joined: 2002-12-26
Posts: 96
Posted: Wed, 2004-11-24 05:55

Ok, got mine to work. Two things to check. Make sure that you aren't running out of memory for php. Edit the php.ini file and bump up memory_limit.

Also make sure that you haven't disabled the system() call in php.

 
cww

Joined: 2006-08-30
Posts: 2
Posted: Wed, 2006-09-06 01:24

For what it's worth (and nearly two years later), I solved a zero size reply problem in find_orphans.php by adding "php_value memory_limit 32M" to my .htaccess file in gallery/tools/. It was previously choking on the default 8 MB limit.

Gallery v1.5.4 running on Apache 2.0.55 with mod_php4 v4.4.2.

Colin