g2 main.php doesn't load

LogicX
LogicX's picture

Joined: 2003-02-23
Posts: 31
Posted: Wed, 2005-03-16 20:21

I installed G2 from CVS @ 1:00PM today and after install, if I try to go to http://logicx.net/gallery2 I just get nothing. and by nothing -- here's what I've discovered.

packet tracing shows that it requests /gallery2 then it gets a 302 redirect to main.php, so it requests that URL -- twice, but gets no reply from the server.

On the server end, there is no record in the logs of the main.php request (though the /gallery2 request with 302 shows fine)

gallery immediate debug shows nothing -- only logged debug:

2005-03-16 15:16:02 [<no session id>] file_exists(/usr/home/lxlocus/logicx.net/g2data/cache/module/_all/0/0/GalleryFactoryHelper_loadRegistry.inc)
2005-03-16 15:16:02 [<no session id>] fopen(/usr/home/lxlocus/logicx.net/g2data/cache/module/_all/0/0/GalleryFactoryHelper_loadRegistry.inc, rb, 0)
2005-03-16 15:16:02 [<no session id>] fread(Resource id #31, 4096)
2005-03-16 15:16:02 [<no session id>] fread(Resource id #31, 4096)
2005-03-16 15:16:02 [<no session id>] fread(Resource id #31, 4096)
2005-03-16 15:16:02 [<no session id>] fclose(Resource id #31)
2005-03-16 15:16:02 [<no session id>] Unimplemented: GalleryUrlGenerator
2005-03-16 15:16:02 [840d474741e0fad65b206f1d11a45eb5] file_exists(/usr/home/lxlocus/logicx.net/g2data/sessions/840d474741e0fad65b206f1d11a45eb5)
2005-03-16 15:16:02 [840d474741e0fad65b206f1d11a45eb5] file_exists(/usr/home/lxlocus/logicx.net/g2data/cache/module/core/0/0/0.inc)
2005-03-16 15:16:02 [840d474741e0fad65b206f1d11a45eb5] fopen(/usr/home/lxlocus/logicx.net/g2data/cache/module/core/0/0/0.inc, rb, 0)
2005-03-16 15:16:02 [840d474741e0fad65b206f1d11a45eb5] fread(Resource id #44, 4096)
2005-03-16 15:16:02 [840d474741e0fad65b206f1d11a45eb5] fclose(Resource id #44)
2005-03-16 15:16:02 [840d474741e0fad65b206f1d11a45eb5] file_exists(/usr/home/lxlocus/logicx.net/html/gallery2/modules/core/classes/helpers/../../../../modules/core/module.inc)
2005-03-16 15:16:02 [840d474741e0fad65b206f1d11a45eb5] realpath(/usr/home/lxlocus/logicx.net/html/gallery2/modules/core/classes/../../..)
2005-03-16 15:16:02 [840d474741e0fad65b206f1d11a45eb5] Binding text domain: modules_core -> /usr/home/lxlocus/logicx.net/html/gallery2/modules/core/locale
2005-03-16 15:16:02 [840d474741e0fad65b206f1d11a45eb5] file_exists(/usr/home/lxlocus/logicx.net/g2data//versions.dat)
2005-03-16 15:16:02 [840d474741e0fad65b206f1d11a45eb5] file(/usr/home/lxlocus/logicx.net/g2data//versions.dat, )
2005-03-16 15:16:02 [840d474741e0fad65b206f1d11a45eb5] [1111004162] can't guarantee 5 -- extending!
2005-03-16 15:16:02 [840d474741e0fad65b206f1d11a45eb5] file_exists(/usr/home/lxlocus/logicx.net/g2data/cache/entity/0/0/4.inc)
2005-03-16 15:16:02 [840d474741e0fad65b206f1d11a45eb5] fopen(/usr/home/lxlocus/logicx.net/g2data/cache/entity/0/0/4.inc, rb, 0)
2005-03-16 15:16:02 [840d474741e0fad65b206f1d11a45eb5] fread(Resource id #60, 4096)
2005-03-16 15:16:02 [840d474741e0fad65b206f1d11a45eb5] fclose(Resource id #60)

No clue what any of this means besides potentially:
Unimplemented: GalleryUrlGenerator

----

Gallery URL (optional): http://logicx.net/gallery2
Gallery version: 2.0 beta 1 + CVS 3/16/05 1:00PM EST
Webserver (with version): apache-2.0.52_4
Datatabase (with version): mysql-server-4.1.9
PHP version (eg 4.2.1): php5-5.0.3_2
phpinfo URL (optional):
Graphics Toolkit(s): gd, imagemagick, netbpm
Operating system: FreeBSD 5.3-RELEASE
Web browser/version: Firefox 1.0.1
G1 version (for migration bugs):

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Wed, 2005-03-16 21:07

the Unimplemented line is normal.
try lib/tools/test/index.php Flush Cache and see if that helps.

 
LogicX
LogicX's picture

Joined: 2003-02-23
Posts: 31
Posted: Wed, 2005-03-16 22:14
mindless wrote:
the Unimplemented line is normal.
try lib/tools/test/index.php Flush Cache and see if that helps.

I'm convinced that the current CVS of gallery2 may be broken -- cuz that seems to not do anything either.

I'm gonna try going back to beta 1 and see how that works for me

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Fri, 2005-03-18 07:54

From looking at your other post I think you hit an upgrade problem that screwed up your install. We've been unable to track that problem down though because we haven't been able to get access to a box with the issue. If you have a DB backup that you could restore which would let us reproduce that issue, we can fix it and get you moved forward to the latest code. As far as I know, there are no issues with the latest code in CVS.

 
LogicX
LogicX's picture

Joined: 2003-02-23
Posts: 31
Posted: Fri, 2005-03-18 14:06
bharat wrote:
From looking at your other post I think you hit an upgrade problem that screwed up your install. We've been unable to track that problem down though because we haven't been able to get access to a box with the issue. If you have a DB backup that you could restore which would let us reproduce that issue, we can fix it and get you moved forward to the latest code. As far as I know, there are no issues with the latest code in CVS.

I've yet to replace with the beta 1 code -- I still have it sitting in this state.
As I'm administrator of the box, I'd be pleased to setup a limited access account to let you take a look at this.

Ironically I had not been doing an upgrade -- all I'd done was download the code from CVS, create a blank database, and went on my way.

Although I don't have any database backups, from what I can tell, I just blow away the database and the problem is reproducible again.

I'm more than happy to contribute in any way I can -- send me a PM or email if you'd like access.

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Sat, 2005-03-19 19:04

If you blow away the database, you must also blow away everything under your g2data directory. If you blow away both, and the problem still occurs then I'd be happy to investigate directly if you'll give me access. Thanks!