gallery2 only a blank page..

stfi
stfi's picture

Joined: 2004-08-17
Posts: 7
Posted: Fri, 2005-06-24 15:08

Hi,

I have installed my G2 succesfully. After is finishing the installation, i only have a blank white page.
what can I do?
I didn´t have any errors while installing!

please help

steffi
----

Gallery URL (optional): stfi.info/gallery2
Gallery version: 2 beta 3
Webserver (with version):
Datatabase (with version):
PHP version (eg 4.2.1):
phpinfo URL (optional):
Graphics Toolkit(s):
Operating system:
Web browser/version:
G1 version (for migration bugs):

 
buut
buut's picture

Joined: 2003-06-18
Posts: 196
Posted: Fri, 2005-06-24 15:37

stfi,

Could you upgrade your 2 beta 3 version to the last nightly build from
http://galleryupdates.jpmullen.com

See if this solves your blank page

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16503
Posted: Fri, 2005-06-24 20:00

Did you have any errors about missing files when installing?

This file should exist but doesn't:
http://stfi.info/gallery2/modules/core/module.inc

I assume there's probably other missing files.

 
stfi
stfi's picture

Joined: 2004-08-17
Posts: 7
Posted: Fri, 2005-06-24 21:04

yes i had but thought that doesnt matter.

how come? i extracted zip file via ssh on my server?!

what can i do? copy that files from somewhere or reinstall?

maybe someone can help me installing it i´m not very practised

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Fri, 2005-06-24 21:28

maybe try the tar.gz and unarchive it with tar -xzf gallery2.tar-gz
we don't know why, but some archiving binaries on some platforms have problems with our archives.

what platform is it anyway? linux x86? and did you use unzip gallery2.zip?

how many missing/modified files do you have? (you can safely go to the installer and view the system checks page).

 
stfi
stfi's picture

Joined: 2004-08-17
Posts: 7
Posted: Sat, 2005-06-25 07:41

hm

if i enter this tar -xzf gallery-2.0-beta-3.tar.gz, nothing happens...

sry but don´t know the platform, i have taken a look into providers interface but couldn´t find any information bout that.

how can I go to the system checks page?

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Sat, 2005-06-25 10:56

@tar: strange

system checks: go to yourgalleryurl/install/, and step 3 or so is the system checks step. are there any warnings?

 
stfi
stfi's picture

Joined: 2004-08-17
Posts: 7
Posted: Sat, 2005-06-25 12:44

there are no warnings, no erros. it is still nat working :(

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Sat, 2005-06-25 13:38

but in a previous post you said there were warnings.

Quote:
yes i had but thought that doesnt matter.

??

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16503
Posted: Sat, 2005-06-25 13:44

Do you have access to your error logs in Apache? If so, can you try accessing your site, then seeing if there are any errors generated?

I figure this isn't going to work, but does any debug info display/pop-up if you enable debugging in your config.php?

I was wrong before where I said you were missing that file, it was a 403 error not a 404 error. It appears .inc files are just disallowed from the casual browser, but that apache has access to them, which is the important part. Can you double check the permissions on those files? Example the permissions on /gallery2/modules/core/module.inc, it should be something like 644 (or -rw-r--r--).

 
stfi
stfi's picture

Joined: 2004-08-17
Posts: 7
Posted: Sat, 2005-06-25 15:03

yes but after i´ve gone again to the install folder, there were no errors!

sorry but as i already told, i´m not very practised. i only like to have that g2 for my pictures :D

i have not the faintest clue of apache and what else u r writing :D

 
buut
buut's picture

Joined: 2003-06-18
Posts: 196
Posted: Sat, 2005-06-25 21:17

nivekiam, valiant,

When I try to browse to a 'module.inc' it generates a 403 error, Could all this be due to wrong filepermissions?

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Sat, 2005-06-25 21:33

no, 403 is the http status code for "forbidden" (google it ;) ). so this is perfectly fine.

still, don't know why she'd get a blank page after the install.

stfi, so the install was successful, you could finish all steps successfully, correct?
could you open config.php and change the debug mode from false to 'immediate' ? and then browse to main.php again. any output?

and if you have no output there, can you check the apache error log? (not the access log, the error log).

 
smokey7722

Joined: 2005-06-24
Posts: 11
Posted: Sat, 2005-06-25 21:36

valiant, if stfi has the same problem I had, then setting debug to immediate still won't output anything and nothing came up in the apache error logs for me. Just giving my input since i had the same problem (due to other reasons though i just did a fresh install).

 
buut
buut's picture

Joined: 2003-06-18
Posts: 196
Posted: Sat, 2005-06-25 21:41

valiant,

When I try to browse to a module.inc on my own site I get a dialogbox instead of a error. Therefore I suspected filepermissions.

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Sat, 2005-06-25 21:50

buut, that depends on the apache configuration. you can define if requests for .inc files should be denied etc. this has nothing to do with g2 and doesn't affect the correct operation of g2. a php include('bla.inc') has nothing to do with which files apache serves and doesn't serve.

smokey7722, well, this is a fresh install. so that won't help here. let's see if there's any output here.

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16503
Posted: Sat, 2005-06-25 23:21

Before you got a 403 error. What did you change? A dialog box to do what? Download the file? There shouldn't be a problem with that. As long as the webserver can read the file, it shouldn't matter if you don't have access to it.

By it giving a 403 error, that can mean 2 things. 1) the webserver doesn't have access to it, which will cause problems 2) the webserver has been setup to not serve files with those extentions. The webserver (Apache, IIS, etc) can still access them, but will not send them to people browsing for them.

Example, I've just setup my .htaccess file to deny access to all .inc files. You'll get a 403 error here: http://photos.kevinnehls.com/modules/core/module.inc

But my gallery works just fine, http://photos.kevinnehls.com/

Here's what that part of my .htaccess file looks like

<Files ~ "\.htpasswd$|\.inc$">
order allow,deny
deny from all
</Files>

Your webhost might be doing this at the httpd.conf level.

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Sun, 2005-06-26 00:09

could we please just ignore the 403 stuff? because it has nothing to do with this issue.
</offtopic>

 
stfi
stfi's picture

Joined: 2004-08-17
Posts: 7
Posted: Sun, 2005-06-26 07:33

gm

tonight a friend of me was so kind to help me! everything was working, I already imported G1 Files, change theme and was happy!

10 Minuten later, I went again to my g2 and.... i see again the install page! everything was gone but i cannot understand it :(

i have no access to my error logs! my friend told me to create a file in my gallery root .htaccess with "hp_value display_errors on" in it. maybe we can see the errors there? I don´t know for what it is

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Sun, 2005-06-26 11:36

G2 worked in the meantime?
what did your friend do to get it working?
(i understand that it doesn't work at the moment, but if it worked at one point, we know that we should be able to get back to this state)

 
stfi
stfi's picture

Joined: 2004-08-17
Posts: 7
Posted: Mon, 2005-06-27 19:05

sure, i dont know what he did and he is not online very often so i was not able to ask him up to now!

maybe someone else can take a look at it i don´t know what to do :(