Install worked, but pages rendered are blank

speckle

Joined: 2004-12-09
Posts: 36
Posted: Fri, 2005-02-25 13:14

fresh install of G2beta: there are no errors given now (previous errors were permission based) but now pages are rendered without head or body content.
----

Gallery URL (optional):
Gallery version:
Webserver (with version):
Datatabase (with version):
PHP version (eg 4.2.1):
phpinfo URL (optional):
Graphics Toolkit(s):
Operating system:
Web browser/version:

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Fri, 2005-02-25 17:14

try immediate debug mode in config.php

 
speckle

Joined: 2004-12-09
Posts: 36
Posted: Fri, 2005-02-25 17:28

ok, am doing it. there's a lot to read. meanwhile, maybe i can explain my problem:
for a few days now i've been headaching over gallery. whenever i try with a fresh install (last releases based on nightly builds) i get this error:

Security Violation The action you attempted is not permitted. 
Error (ERROR_BAD_PARAMETER): 
in file modules/core/classes/helpers/GalleryEntityHelper_simple.class at line 50 (gallerystatus::error) 
in file modules/core/classes/GalleryCoreApi.class at line 2042 (galleryentityhelper_simple::loadentitiesbyid) 
in file modules/core/classes/GalleryView.class at line 328 (gallerycoreapi::loadentitiesbyid) 
in file modules/core/ShowItem.inc at line 44 (showitemview::_getitem) 
in file modules/core/classes/GalleryView.class at line 210 (showitemview::getthemename) 
in file main.php at line 286 (showitemview::doloadtemplate) 
in file main.php at line 46 
in file main.php at line 39 

Once, I got as far as removing this error. Apart from g2data (which is chmodded to 777 for tests) I also chmodded others likewise, and in return got blank pages.

Now I'm trying again, but the error's reappearing. It doesn;t seem to depend on build... I need help.

 
speckle

Joined: 2004-12-09
Posts: 36
Posted: Fri, 2005-02-25 17:55

DEBUG OUTPUT:
file_exists(/usr/local/psa/home/vhosts/mysite.com/httpdocs/g2data/cache/module/_all/0/0/GalleryFactoryHelper_loadRegistry.inc)
Unimplemented: GalleryUrlGenerator
file_exists(/usr/local/psa/home/vhosts/mysite.com/httpdocs/g2data/sessions/e1258cfa5fb27e63163edaf99de2e81d)
clearstatcache()
filesize(/usr/local/psa/home/vhosts/mysite.com/httpdocs/g2data/sessions/e1258cfa5fb27e63163edaf99de2e81d)
fopen(/usr/local/psa/home/vhosts/mysite.com/httpdocs/g2data/sessions/e1258cfa5fb27e63163edaf99de2e81d,
rb, 0)
flock(Resource id #30, 6, )
fread(Resource id #30, 144)
flock(Resource id #30, 3, )
fclose(Resource id #30)
file_exists(/usr/local/psa/home/vhosts/mysite.com/httpdocs/g2data/cache/module/core/0/0/0.inc)
file_exists(/usr/local/psa/home/vhosts/mysite.com/httpdocs/modules/core/classes/helpers/../../../../modules/core/module.inc)
realpath(/usr/local/psa/home/vhosts/mysite.com/httpdocs/modules/core/classes/../../..)
Binding text domain: modules_core ->
/usr/local/psa/home/vhosts/mysite.com/httpdocs/modules/core/locale
file_exists(/usr/local/psa/home/vhosts/mysite.com/httpdocs/g2data//versions.dat)
file(/usr/local/psa/home/vhosts/mysite.com/httpdocs/g2data//versions.dat,
)
[1109354043] can't guarantee 5 -- extending!
file_exists(/usr/local/psa/home/vhosts/mysite.com/httpdocs/g2data/cache/entity/0/0/4.inc)
file_exists(/usr/local/psa/home/vhosts/mysite.com/httpdocs/g2data/cache/module/_all/0/0/GalleryPluginHelper_fetchPluginStatus.inc)
file_exists(/usr/local/psa/home/vhosts/mysite.com/httpdocs/modules/core/classes/../../../modules/core/ShowItem.inc)
file_exists(/usr/local/psa/home/vhosts/mysite.com/httpdocs/modules/core/classes/../../../modules/core/ShowItem.inc)
realpath(/usr/local/psa/home/vhosts/mysite.com/httpdocs/modules/core/classes/../../..)

 
fryfrog

Joined: 2002-10-30
Posts: 3236
Posted: Sat, 2005-02-26 04:36

When you re-install G2, you are of course dropping / re-creating the database and doing an rm -Rf /g2data/* right? You should probably be installing it into as clean a setup as possible, though I think it has recently gotten better about installing into old/dirty setups?

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Sun, 2005-02-27 18:05

speckle, a) you didn't post any of the requested info about your setup. b) if you PM me ssh/ftp access to your server i can try to debug.