redirect loop after successful installation

Yogie

Joined: 2003-07-03
Posts: 19
Posted: Tue, 2012-07-03 13:39

Hi,

I have just freshly installed Gallery 3 into

http://gallery.sensorgraphy.net/

I do have set the default var folder.

After install I have a blank page and as far as I can see I do have also a redirect loop but my host is not on the list http://codex.gallery2.org/Gallery3:Host_specific_issues so I'm not quite sure what I can do!?

Any help appreciated...

Many thanks
Yogie

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Tue, 2012-07-03 14:08

Apache error logs?

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
Yogie

Joined: 2003-07-03
Posts: 19
Posted: Tue, 2012-07-03 14:24

I'm on a shared host I don't know if and how I can have a look at these...!?

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Tue, 2012-07-03 17:33
Quote:
I'm on a shared host

http://codex.gallery2.org/Gallery3:Host_specific_issues

Quote:
and how I can have a look at these...!?

FAQ: I get an error 500 when I visit my Gallery 3 install for the first time

You can ask you host as to why that page does not work.

Dave

_____________________________________________
Blog & G2 || floridave - Gallery Team

 
Yogie

Joined: 2003-07-03
Posts: 19
Posted: Wed, 2012-07-11 11:27
Quote:
You can ask you host as to why that page does not work.

Hi,

finally I got an answer by my host (I hoped to get a more detailed answer and an abstract of any logfile) but he simply referred that Gallery has a PHP 5.3 incompatibility!?

Is there any information known about it?

Cheers
Joerg

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Wed, 2012-07-11 14:00

Works fine for me with PHP: 5.3.10

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
Yogie

Joined: 2003-07-03
Posts: 19
Posted: Thu, 2012-07-19 11:39

I'm sorry are there any specific questions I may ask my host to limit this down to something that can be worked with to solve this problem?

 
Yogie

Joined: 2003-07-03
Posts: 19
Posted: Thu, 2012-07-19 11:41
floridave wrote:
Works fine for me with PHP: 5.3.10

But it seems not to work with 5.3.13 at least this is what my host says.
The error log does not show any errors as it (as my host said) crashes with a segmentation fault!?

Does that help?

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Sat, 2012-07-21 03:57
floridave wrote:
Apache error logs?

How about a phpinfo file at: http://gallery.sensorgraphy.net/
FAQ: How do I create a phpinfo page?

Dave

_____________________________________________
Blog & G2 || floridave - Gallery Team

 
Yogie

Joined: 2003-07-03
Posts: 19
Posted: Mon, 2012-07-23 04:33
floridave wrote:
floridave wrote:
Apache error logs?

How about a phpinfo file at: http://gallery.sensorgraphy.net/

Hi Dave,

as the Apache will not show anything I'm glad that at least this is something I can easily provide:

http://gallery.sensorgraphy.net/myphpinfo.php

Cheers
Yogie

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Mon, 2012-07-23 04:57
your_phpinfo wrote:
session.save_path /is/htdocs/user_tmp/wp1060657_TM13RPTQYT /tmp

does /is/htdocs/user_tmp/wp1060657_TM13RPTQYT exist? Is it writable? Why not /tmp?

What if you install it in a directory of sensorgraphy.net/ and not a subdomain, just to test?
Another thing that stick out is suhosin. See if you can disable that as some people have reported issues with that.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
CillaMaria55

Joined: 2012-07-23
Posts: 1
Posted: Mon, 2012-07-23 08:21

I have the same PHP error message and I have asked my host to advise. Will post when I receive a response.

 
Yogie

Joined: 2003-07-03
Posts: 19
Posted: Tue, 2012-07-24 19:45
floridave wrote:
your_phpinfo wrote:
session.save_path /is/htdocs/user_tmp/wp1060657_TM13RPTQYT /tmp

does /is/htdocs/user_tmp/wp1060657_TM13RPTQYT exist? Is it writable? Why not /tmp?

What if you install it in a directory of sensorgraphy.net/ and not a subdomain, just to test?
Another thing that stick out is suhosin. See if you can disable that as some people have reported issues with that.

Hi Dave,

/is/htdocs/wp1060657_TM13RPTQYT/

is my home (root) path, there is nothing I can do about nor can I check or change anything below. But it seems that there is a tmp folder /is/htdocs/user_tmp/wp1060657_TM13RPTQYT which has a alias called /tmp but I do not know anything about this!

I have activated a parked domain to point to my gallery as well http://www.yogie.de (NO LONGER IN USE FOR GALLERY3 TESTING). -> no change

I'm in the position to change the server default of PHP Suhosin Executor Allow Symlink & PHP Suhosin Session Encryption I set both to OFF -> no change
I'm in the position to change the server default of PHP Suhosin Executor Allow Symlink & PHP Suhosin Session Encryption I set both to ON -> no change
I changed both back to their server default.

Cheers
Yogie

 
Yogie

Joined: 2003-07-03
Posts: 19
Posted: Tue, 2012-07-24 08:07

Hi Dave,

I have done the following on my install and tried to run the installer again...

1.) I deleted the database.php from the /var folder and got several errors...

Warning: file_put_contents(/is/htdocs/wp1060657_TM13RPTQYT/www/gallery/var/logs/.htaccess) [function.file-put-contents]: failed to open stream: Permission denied in /is/htdocs/wp1060657_TM13RPTQYT/www/gallery/installer/init_var.php on line 10

Warning: file_put_contents(/is/htdocs/wp1060657_TM13RPTQYT/www/gallery/var/tmp/.htaccess) [function.file-put-contents]: failed to open stream: Permission denied in /is/htdocs/wp1060657_TM13RPTQYT/www/gallery/installer/init_var.php on line 11

Warning: Cannot modify header information - headers already sent by (output started at /is/htdocs/wp1060657_TM13RPTQYT/www/gallery/installer/init_var.php:10) in /is/htdocs/wp1060657_TM13RPTQYT/www/gallery/installer/installer.php on line 169

2.) So I deleted the database.php again and removed all .htaccess files that I found below /var plus it's subfolders! I deleted the tables at the database...

3.) I started the installer again and got the success message nothing changed and no logs were written nor is there any entry at the ERROR log

4.) I also tried to install Gallery on a subfolder instead of the domains root but the result was the same!

I know that there are no problems at all for Gallery 2 on a similar webpack - just like the one that I have in use - but it has a lower PHP Version 5.2.x installed! But I'm not able to roll back to a lower version of PHP and I don't want to use Gallery 2!

Cheers
Yogie

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Tue, 2012-07-24 14:48
Quote:
3.) I started the installer again and got the success message nothing changed and no logs were written nor is there any entry at the ERROR log

So gallery3/var/database.php is created?
but
gallery3/var/logs/<timestamp>.php is not?

Sounds to me like some permissions issue with the webserver user not being able to write to some locations.

Perhaps anther community member will have a idea as I'm out of ideas.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
Yogie

Joined: 2003-07-03
Posts: 19
Posted: Tue, 2012-07-24 18:13
floridave wrote:
So gallery3/var/database.php is created?
but
gallery3/var/logs/<timestamp>.php is not?

Yes, but only due to the fact that I didn't remove the .htaccess files from the first run...

or should there always be a /var/logs/<timestamp>.php file after install?

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Tue, 2012-07-24 19:24
Quote:
or should there always be a /var/logs/<timestamp>.php file after install?

As far as I know it is created each day that the site is visited. So you should have one created on the first visit after the install. If not it could be a permissions issue or that the code to write the file in not run yet from attempting to browse the site.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
Yogie

Joined: 2003-07-03
Posts: 19
Posted: Thu, 2012-07-26 04:28
floridave wrote:
Quote:
or should there always be a /var/logs/<timestamp>.php file after install?

As far as I know it is created each day that the site is visited. So you should have one created on the first visit after the install. If not it could be a permissions issue or that the code to write the file in not run yet from attempting to browse the site.

Well as I'm getting the white screen only and run into the loop and even the Apache error log does not show any error as Gallery3 (as my host said) crashes with a segmentation fault there is no file created either.

So assuming my host is right and Gallery3 does not work with PHP 5.3.13? What are the next steps? Who will take care and try to find out and try to fix?

I opened a trac ticket https://sourceforge.net/apps/trac/gallery/ticket/1901

Cheers
Yogie

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Thu, 2012-07-26 04:34
Quote:
So assuming my host is right and Gallery3 does not work with PHP 5.3.13?

Don't know, my host has PHP: 5.3.14 and it works just fine. I can't see a significant difference between the two versions.

Best bet as I can can't reproduce.
Perhaps some other community member will have a idea.

Dave

_____________________________________________
Blog & G2 || floridave - Gallery Team

 
BillWill

Joined: 2008-08-28
Posts: 205
Posted: Thu, 2012-07-26 13:01

My php version is on the other side of you: I'm using 5.3.8 and except for tags, everything is working as expected.

===========================
Version: 3.0.4 (Ricochet)
Operating system: Linux 2.6.18-194.11.4.el5
Apache/2.2.21
PHP: 5.3.8
MySQL: 5.0.95
Clean Canvas theme
Graphics Toolkit = ImageMagick
Albums: 205
Photos: 70736

 
Yogie

Joined: 2003-07-03
Posts: 19
Posted: Thu, 2012-07-26 13:32

Would be great if there is anybody having 5.3.13 ... ?

 
Yogie

Joined: 2003-07-03
Posts: 19
Posted: Tue, 2012-07-31 07:49

Well Gallery2 works on the same server! I just tried to install and it worked out perfectly...!
But I would rather make usage of Gallery3...

 
Yogie

Joined: 2003-07-03
Posts: 19
Posted: Fri, 2012-08-03 06:10

As I have to make any progress I redirected my domains to another installation ...

But I'm still willing and trying to get Gallery 3 to run and here is the new domain for that: http://gal3.yogie.de
I did a fresh installation but having still the same issue: successful message and when clicking on start using I get a blank screen!

So if there is someone who tried Gallery 3 with PHP 5.3.13 please let me know.

And as said before Gallery 2 has no issues with my shared server at my host.

Cheers
Yogie

 
Yogie

Joined: 2003-07-03
Posts: 19
Posted: Sun, 2012-08-12 13:56

No one to help?

 
Anoobossi

Joined: 2011-09-15
Posts: 3
Posted: Sun, 2012-08-26 05:29

Hosteurope is using 5.3.13 with its Webpacks at the moment and Gallery 3 isn't working, too.
Support said that they had offered their help to the developers to fix this problem.
I don't know anything else.

 
Ruffits

Joined: 2012-09-05
Posts: 1
Posted: Wed, 2012-09-05 14:05

Hi,

today my Provider, also Host Europe changed PHP Version to version 5.3.14. Since now using this PHP version I've got the same issue.

The HTTP response is completely empty.

Here is a screen to the request on the mainsite of gallery3

[img]http://i45.tinypic.com/2zqhe0x.png[/img]

Cheers

 
McRib

Joined: 2005-02-01
Posts: 13
Posted: Fri, 2012-09-07 10:03

PLEASE have a look at this guys! This is an ever increasing number of installation having the problem!

 
khorton

Joined: 2012-08-31
Posts: 6
Posted: Mon, 2012-09-10 20:21

My provider is using PHP 5.3.13 (as reported by phpinfo() on my site), and my gallery 3.0.4 works fine. There must be another variable, other than simply PHP version.
--
Kevin Horton
Ottawa, Canada

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Thu, 2012-09-13 00:08

There are so, so many ways to configure PHP that it's really hard for us to diagnose what's going wrong. Your host has enough information to figure it out, but he's not taking the time to investigate. We're trying to help you while wearing a blindfold, it's not a successful strategy. There's almost definitely a smoking gun in your hosts log files - when he gives us that data we'll tell you how to fix it (the fix itself is probably very easy).
---
Problems? Check gallery3/var/logs
file a bug/feature ticket | upgrade to the latest code! | hacking G3? join us on IRC!

 
Yogie

Joined: 2003-07-03
Posts: 19
Posted: Tue, 2012-09-25 09:20

Hi,

I was able to make Gallery work with the Kohana.php fix!

Cheers
Yogie

 
Yogie

Joined: 2003-07-03
Posts: 19
Posted: Thu, 2012-09-27 08:28

Finally Host Europe fixed the settings on 26.09.2012 17:53 so for me I could revert back to the original Kohana.php file and Gallery 3 is still working.

This is what their log for the short downtime while fixing says (German!):

Quote:
Aktualisierte Konfiguration für Zend Guard Loader.
Durch einen Bug im Zend Guard Loader kann es je nach Programmierung zu einem Segfault des Webserver Unterprozesses kommen.
"Empty Response" ist in einigen Fällen die Fehlermeldung des Browsers.
Der Webserver wird zum aktivieren der Konfiguration neu gestartet.

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Thu, 2012-09-27 12:40
Quote:
Durch einen Bug im Zend Guard Loader

As others have said in other forums.

Glad they helped out.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team