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 |
|
Posts: 27300
Apache error logs?
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 19
I'm on a shared host I don't know if and how I can have a look at these...!?
Posts: 27300
http://codex.gallery2.org/Gallery3:Host_specific_issues
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
Posts: 19
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
Posts: 27300
Works fine for me with PHP: 5.3.10
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 19
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?
Posts: 19
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?
Posts: 27300
How about a phpinfo file at: http://gallery.sensorgraphy.net/
FAQ: How do I create a phpinfo page?
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 19
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
Posts: 27300
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
Posts: 1
I have the same PHP error message and I have asked my host to advise. Will post when I receive a response.
Posts: 19
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
Posts: 19
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
Posts: 27300
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
Posts: 19
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?
Posts: 27300
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
Posts: 19
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
Posts: 27300
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
Posts: 205
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
Posts: 19
Would be great if there is anybody having 5.3.13 ... ?
Posts: 19
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...
Posts: 19
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
Posts: 19
No one to help?
Posts: 3
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.
Posts: 1
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
Posts: 13
PLEASE have a look at this guys! This is an ever increasing number of installation having the problem!
Posts: 6
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
Posts: 7994
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!
Posts: 19
Hi,
I was able to make Gallery work with the Kohana.php fix!
Cheers
Yogie
Posts: 19
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!):
Posts: 27300
As others have said in other forums.
Glad they helped out.
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team