Seite 1 von 1

pre-login problem

Verfasst: Mo 9. Dez 2002, 18:44
von martin.e
hallo
nachdem auf meinem localen macOSX das ganze wunderbar funktioniert
wollt ich es halt auch auf unserem webserver (redhat 7.1/ php 4.0.4) betreiben

beim login fenster kommt allerdings immer folgende ausgabe:

0) { extract($arr, EXTR_OVERWRITE); } } ?>
Warning: Cannot add header information - headers already sent by (output started at /usr/local/www/querblicke/htdocs/contenido/inc/globals_off.inc.php:1) in /usr/local/www/querblicke/htdocs/conlib/session.inc on line 462

... das gleiche so weiter 463 bis 465 ...

Warning: Cannot add header information - headers already sent by (output started at /usr/local/www/querblicke/htdocs/contenido/inc/globals_off.inc.php:1) in /usr/local/www/querblicke/htdocs/conlib/session.inc on line 466
auth_loginform() creates a challenge value which is incorporated into this form. When the user tries to submit the form, md5("username:password:challenge") is calculated and filled into the reply field. The password field is erased. The server can calculate the exspected reply and compare it to the actual reply value. If they match, the user is authenticated. If the reply field is empty and password is set, the server knows that the client cannot do JS. The user can still be authenticated, but the password is visible on the network. Modified for hashed password storage by Jim Zajkowski ***************************************************************************/ ?>


und nach dem einloggen bricht sowieso das vollkommene chaos aus

pfade hab ich alle kontrolliert, rechte hab ich auch kontrolliert, die datenbank funkt
auch

bin inzwischen ziemlich hilflos - hab ich wo etwas uebersehen oder bin ich nur zu bloed?

kennt jemand das problem??

thanx
martin

ps: find das ganze teil ziemlich fein und wuerd es eben daher mal gerne fuer mein naechstes projekt verwenden

Verfasst: Mo 9. Dez 2002, 19:28
von detlev
php4.04 reicht nicht
jenseits der 4.1 ist meiner Meinung nach ein Muss.

Gruß
Detlev

Verfasst: Di 10. Dez 2002, 03:30
von Eppi
bei mir läuft das Teil mit 4.0.4pl1 ohne Probleme :-)

Verfasst: Di 10. Dez 2002, 04:51
von Sven777b
hat nix direkt mit der verwendeten PHP-version zu tun... nur indirekt.
die globals_off.inc.php wird bei dir nicht ausgeführt sondern direkt ausgegeben.

prüfe bitte mal den Eintrag in der config.php: (2.Zeile)

Code: Alles auswählen

require_once '/usr/local/www/querblicke/htdocs/contenido/inc/globals_off.inc.php';
wenn das da so steht, schreibe mal bitte in der globals_off.inc.php die erste Zeile um.
von:
<?
in:
<?php

manchmal wird die Kennung "php" noch benötigt. Ist eine Konfigurationssache.

Verfasst: Di 10. Dez 2002, 15:31
von Eppi
wenn das der Fehler ist, muß man leider durch das ganze System und überall ändern...

Verfasst: Di 10. Dez 2002, 21:22
von martin.e
Sven777b hat geschrieben: manchmal wird die Kennung "php" noch benötigt. Ist eine Konfigurationssache.
danke das wars scheinbar (zumindest sind mal die ersten zeilen weg)

was muesste da umkonfiguriert werden damit mensch sich das aendern aller files erspart???

martin

Verfasst: Di 10. Dez 2002, 21:35
von Sven777b
in der php.ini Sektion "Language Options"

; Allow the <? tag. Otherwise, only <?php and <script> tags are recognized.
short_open_tag = On

Verfasst: Di 10. Dez 2002, 23:57
von Björn
ok, bugtracker...