Author Topic: Weisse Seite nach login -- blank page after login v.1.7.1  (Read 13941 times)

0 Members and 1 Guest are viewing this topic.

Offline ManniC

  • Full Member
  • ***
  • Posts: 182
    • View Profile
    • photographic impressions
Weisse Seite nach login -- blank page after login v.1.7.1
« on: August 17, 2005, 12:54:06 PM »
Hallo zusammen,

ich bekomme nach Klick auf den Anmeldebutton plötzlich eine weisse Seite -- wenn ich dann die Galerie erneut aufrufe war das Login erfolgreich, Logout ergibt wieder eine weisse Seite.

login.php sowie im template 4light_grey user_loginfo.html / user_loginform.html sind original. Ergänzung in meiner config.php ini_set("session.use_trans_sid", "0"); -- erfolglos.

Ich habe den Verdacht dass der Provider an der PHP-Konfi was geändert hat und die session-id crasht.

Testlink / PHP-Info:
http://www.mc-com.de/4images  user: test password: test
http://www.mc-com.de/TEST/phpinfo.php

Schonmal danke.


Hi all,

since 2 days i get a blank page after login -- when calling the gallery once more the login was sucessful, logout results in a blank page again.

login.php and in template 4light_grey user_loginfo.html / user_loginform.html are original versions. adding ini_set("session.use_trans_sid", "0"); to my config.php wasn't successful.

i suggest that the provider changed something in php-configuration so that the session-id crashes.

Testlink / PHP-Info:
http://www.mc-com.de/4images  user: test password: test
http://www.mc-com.de/TEST/phpinfo.php

Thanks in advance.

Viele Grüße / Best Regards
Manfred
------------------------------------------------------
photographic impressions powered by mc-com.de[/color][/url][/size]

Offline ManniC

  • Full Member
  • ***
  • Posts: 182
    • View Profile
    • photographic impressions
Re: Weisse Seite nach login -- blank page after login v.1.7.1
« Reply #1 on: August 17, 2005, 02:11:24 PM »
OK, Problem gelöst --- ich habe komplett neu hochgeladen. Trotzdem würde mich interessieren woran es gelegen haben könnte....


Oki, problem solved -- i uploaded the complete set. But: What could have caused this fault ???
Viele Grüße / Best Regards
Manfred
------------------------------------------------------
photographic impressions powered by mc-com.de[/color][/url][/size]

Offline horo

  • Newbie
  • *
  • Posts: 10
    • View Profile
Re: Weisse Seite nach login -- blank page after login v.1.7.1
« Reply #2 on: February 11, 2006, 07:37:55 PM »
I experience exactly the same problem. After login (or logout), a blank page or an error msg from the webserver (http error 404 page not found). However, pressing the back-button on the browser and going to the main screen shows that I am logged in. Same stuff for logout.

Ich erlebe genau das gleiche Problem. Nach dem loogin (oder logout) erscheint eine leere Seite oder ein Hinweis vom Webserver (http error 404 page not found), dass der URL hier nicht gefunden werden konnte. Drückt man den Zurück-Knopf am Browser und geht auf die Hauptseite, sieht man sich eingeloggt (ditto logout).

You may test this behaviour on Dieses Verhalten kann man testen auf http://horo.dyndns.org/4images/ User='tester' pass='tester'.

Suggestions? Vorschläge?

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: Weisse Seite nach login -- blank page after login v.1.7.1
« Reply #3 on: February 11, 2006, 08:49:03 PM »
what do the error logs say?
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline horo

  • Newbie
  • *
  • Posts: 10
    • View Profile
Re: Weisse Seite nach login -- blank page after login v.1.7.1
« Reply #4 on: February 12, 2006, 10:33:19 AM »
No cgi and php errors on the server. The error log just logs http error 404 page not found. Not very helpful, really. I haven't messed with the login.php and logout.php files, yet. They look good to me but then, my PHP knowledge is still a bit mundane and something might have escaped my attention. Thanks for taking an interest in this.

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: Weisse Seite nach login -- blank page after login v.1.7.1
« Reply #5 on: February 12, 2006, 11:38:43 AM »
Well, in the logs what page exactly is not found? there must be a filename/page to it included in the log.
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline horo

  • Newbie
  • *
  • Posts: 10
    • View Profile
Re: Weisse Seite nach login -- blank page after login v.1.7.1
« Reply #6 on: February 12, 2006, 11:53:38 AM »
Here the log entries of the most recent try. It says the login.php and logout.php.

Access through my Intranet:

epiam1 - - [12/Feb/2006:11:40:56 +0100] "POST /4images/login.php?sessionid=03210f7f88e125db350d77832bdf3566 HTTP/1.1" 404 0 "http://epiam1/4images/index.php" "Mozilla/5.0 (Windows; U; Windows NT 5.0; de; rv:1.8.0.1) Gecko/20060111 Firefox/1.5.0.1"

epiam1 - - [12/Feb/2006:11:41:14 +0100] "GET /4images/logout.php HTTP/1.1" 404 0 "http://epiam1/4images/index.php" "Mozilla/5.0 (Windows; U; Windows NT 5.0; de; rv:1.8.0.1) Gecko/20060111 Firefox/1.5.0.1"

I have the possibility to sit into a machine outside my network through a Citrix tunnel and look back from the Internet:

epiam1 - - [12/Feb/2006:11:45:48 +0100] "POST /4images/login.php?sessionid=bd9662cc1d068c18963a3740c3b7fa23 HTTP/1.0" 404 0 "http://horo.dyndns.org/4images/" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)"

epiam1 - - [12/Feb/2006:11:46:20 +0100] "GET /4images/logout.php HTTP/1.0" 404 0 "http://horo.dyndns.org/4images/details.php?image_id=2&sessionid=bd9662cc1d068c18963a3740c3b7fa23" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)"

Looks as if there is a config problem, possibly in my Xitami server?






Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: Weisse Seite nach login -- blank page after login v.1.7.1
« Reply #7 on: February 12, 2006, 12:01:47 PM »
Ok, one thing for sure I know that it gives 404 error when 4images sends header Location: ...(i.e. http://horo.dyndns.org/4images/details.php it supposed to simply redirect to home page)
I guess there is something wrong with your server...
Sorry, I ran out of clues :?
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: Weisse Seite nach login -- blank page after login v.1.7.1
« Reply #8 on: February 12, 2006, 12:10:18 PM »
Ok, knowing the cause, googling returned some good news ;)

Lets test it:
in login.php find:
Code: [Select]
"Location: "Replace it with:
Code: [Select]
((@preg_match('/Microsoft|WebSTAR|Xitami/', getenv('SERVER_SOFTWARE'))) ? 'Refresh: 0; URL=' : 'Location: ')
now, try to login. If it works, then you can do the same thing to all .php files...;)
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline horo

  • Newbie
  • *
  • Posts: 10
    • View Profile
Re: Weisse Seite nach login -- blank page after login v.1.7.1
« Reply #9 on: February 12, 2006, 01:56:54 PM »
Aye! That did the trick.  The line reads now

// -- Bugfix for Xitami, courtesy V@no)
//      header("Location: ".$site_sess->url($url, "&"));
      header(((@preg_match('/Microsoft|WebSTAR|Xitami/', getenv('SERVER_SOFTWARE'))) ? 'Refresh: 0; URL=' : 'Location: ').$site_sess->url($url, "&"));

categories.php 1; details.php 2; download.php 4; global.php 1; login.php 4; logout.php 2; postcards.php 3; member.php 7 instances to correct, if anybody else should experience the same problem.

Thanks V@no for your tireless support.

Offline NIROSTA

  • Pre-Newbie
  • Posts: 2
    • View Profile
Re: Weisse Seite nach login -- blank page after login v.1.7.1
« Reply #10 on: February 22, 2006, 08:08:19 PM »
Hallo,
erst seit kruzem hab ich genau das gleiche Problem!
Nach dem ein und ausloggen erscheint eine weiße Seite!

Allerdings hat kein Trick, der hier angesprochen wurde geholfen!

Hier der Link zur Gallerie: www.rr30.de/bilder.
Bin blutiger Anfänger mit allem was mit PHP zu tun hat!

Hoffe ihr könnt mir trotzdem weiter helfen!

Offline NIROSTA

  • Pre-Newbie
  • Posts: 2
    • View Profile
Re: Weisse Seite nach login -- blank page after login v.1.7.1
« Reply #11 on: March 04, 2006, 12:24:15 AM »
Hat sich nach dem Update auf Version 1.7.2 erledigt!

 :wink: