Blank Screen

Grom

Joined: 2009-11-30
Posts: 4
Posted: Mon, 2009-11-30 10:52

Hohi,

i am getting a blank screen when accessing my Gallery 2.


Gallery version: 2.2
PHP version: 5.2.11
PHPInfo Link: http://galerie.die-glaeserne-klinge.de/phpinfo.php
Webserver: unknown
Database: MySql 4.1.22
Activated toolkits: unknown
Operating system: Linux
Browser: Firefox 3.5.1 and Internet Explorer 7

To solve the problem i tried the following:
* i have set the gallery into debug mode (like this)
* i have changed the main.php to show php-errors (like this)
* i have tried to install 2.3
but whatever i tried, i allways get a blank page. Even whith debug-mode and error-reporting active.
After i wasn't able to upgrade to 2.3, i deleted everything and uploaded a backup i made before trying to repair Gallery2.
The changes in config.php and main.php are still active.

I uploaded an empty error_log.txt but it remains empty.

I can't change the memory-settings as i don't know where to find the php.ini.

The error-log of the server doesn't contain any information about Gallery 2.

I can't check the integrity of the files, as the two links here are dead.

The Gallery2 is part of some open-source software, offered by the host and worked fine for approx. a year.

Thanks in advance for your help.

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16503
Posted: Mon, 2009-11-30 18:31

Put your gallery back into buffered debug mode and post back when you've done that.

FAQ: How to set/use Gallery in debug mode?

The /install and /upgrade links are probably "dead" because you've either deleted those directories or you've set the permissions so they can't be accessed via the web.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
Grom

Joined: 2009-11-30
Posts: 4
Posted: Mon, 2009-11-30 21:28

The gallery was set to beffered mode when i tried it out. Provided that the ' have to be in $gallery->setDebug('buffered').

Well, now i understand why the links didn't work...

The http://galerie.die-glaeserne-klinge.de/upgrade/index.php is also blank and a "install"-directory does not exist.
But there is a __install-directory. After renaming it to /install/ it worked.

The results are, that there are a lot of files missing, as far as i can say that are mostly localiation-files i deleted to save space. The Gallery worked fine without localisation files. List
Also there are some changed files e.g. Logos i changed and the main.php. List

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16503
Posted: Mon, 2009-11-30 21:49

I don't know why it's blank. Without debug or error messages there's not much we can do.

I can only offer these FAQ:
FAQ: I get only a blank screen when trying to view my Gallery, what's wrong?

FAQ: I get a blank page / a network/webserver error, what's wrong?

FAQ: install/index.php is blank or shows an error. What's wrong?
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
Grom

Joined: 2009-11-30
Posts: 4
Posted: Tue, 2009-12-01 11:26

Very helpfull, wowwowa... ;)

@ nivekiam
1. I have tried everything there, despite the memory thing, because i don't know where to find the php.ini. I am always getting a blank screen.

2. I am using php version 5.2.11

3. Well, um, not applicable as far as i can see.

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16503
Posted: Tue, 2009-12-01 14:44

I doubt it's a memory issue because according to your phpinfo you have 50MB available.

If you're able to PM me (click Write to author) SSH or FTP login details I can try taking a closer look.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16503
Posted: Tue, 2009-12-01 17:10

There were several issues, all in config.php

Someone had edited config.php and it was missing several lines, didn't close comments correctly and didn't close the open <?php bracket

There also wasn't a ; at the end of the line to specify the debug mode.

Once I cleared all that up, everything looked fine. I took Gallery out of debug mode and removed the error reporting from main.php

You should be able to upgrade just fine to 2.3
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
Grom

Joined: 2009-11-30
Posts: 4
Posted: Wed, 2009-12-02 10:20

Thank you very much, nivekiam :)

Hm, who might have done those dire changes...