Zum Inhalt springen

Login geht nicht

Erstellt am 15. Juni 2006 · 10 Antworten · letzte Antwort am 16. Juni 2006

Tags: Frage

Soul04 ·

Hallo zusammen,
wir haben Typo3 immer in der Firma benutzt, jetzt hab ichs auch mal auf meinen vServer (Server4You) installiert.

Ich möchte in einem privaten Projekt die Website www.fussballportal.net aufbauen, für das ich Typo3 als CMS ausgesucht habe.

Ich hab das quickstart-3.8.1 Paket heruntergeladen und auf den Server geschoben. Hat auch alles soweit funktioniert. Install Tool aufgebrufen und die einzelnen Schritte aus der Doku vollzogen. Frontend funktioniert, die Loginseite fürs Backend kommt auch. Gebe ich aber die Daten ein, kommt immer die Meldung: "Your login attempt did not succeed. Make sure to spell your username and password correctly, including upper/lowercase characters."

Die Anbindung an die Datenbank ist da, hab auch im instll-Tool einen neuen Admin angelegt, welches ich auch über phpmyadmin sehen konnte. Database-Analyser zeigt keine Fehler an. Auch alles andere ist soweit ok, einige Fehlermeldungen habe ich durch vergabe der Schreibrechte behoben. Nur in der Kategorie "About" habe ich folgendes gefunden, was evtl. nicht ganz richtig ist:

Header legend:
Just information
This is a simple message with some information about something.

Check was successful
Indicates that something was checked and returned an expected result.

Notice!
Indicates that something is important to be aware of.
This does not indicate an error.

Warning!
Indicates that something may very well cause trouble and you should definitely look into it before proceeding.
This indicates a potential error.

Error!
Indicates that something is definitely wrong and that TYPO3 will most likely not perform as expected if this problem is not solved.
This indicates an actual error.

ich habe jetzt seit gestern das ganze Internet durchsucht, einige Sachen habe ich auch gefunden, was mir aber alles nicht geholfen hat. Deshalb hoffe ich auf eure Hilfe.
------------------------------------------
### DEBUG SYSTEM INFORMATION - START ###
HTTP_HOST : www.fussballportal.net
TYPO3_HOST_ONLY : www.fussballportal.net
TYPO3_PORT :
PATH_INFO :
QUERY_STRING : TYPO3_INSTALL[type]=phpinfo
REQUEST_URI : /typo3/install/index.php?TYPO3_INSTALL[type]=phpinfo
HTTP_REFERER : http://www.fussballportal.net/typo3/install/index.php?TYPO3_INSTALL[type]=about
TYPO3_REQUEST_HOST : http://www.fussballportal.net
TYPO3_REQUEST_URL : http://www.fussballportal.net/typo3/install/index.php?TYPO3_INSTALL[type]=phpinfo
TYPO3_REQUEST_SCRIPT: http://www.fussballportal.net/typo3/install/index.php
TYPO3_REQUEST_DIR : http://www.fussballportal.net/typo3/install/
TYPO3_SITE_URL : http://www.fussballportal.net/
TYPO3_SITE_SCRIPT : typo3/install/index.php?TYPO3_INSTALL[type]=phpinfo
TYPO3_SSL :
SCRIPT_NAME : /typo3/install/index.php
TYPO3_DOCUMENT_ROOT : /var/www/web11/html
SCRIPT_FILENAME : /var/www/web11/html/typo3/install/index.php
REMOTE_ADDR : 80.139.134.175
REMOTE_HOST :
HTTP_USER_AGENT : Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.0.4) Gecko/20060508 Firefox/1.5.0.4
HTTP_ACCEPT_LANGUAGE: de-de,de;q=0.8,en-us;q=0.5,en;q=0.3
CONST: PHP_OS : Linux
CONST: TYPO3_OS :
CONST: PATH_thisScri: /var/www/web11/html/typo3/install/index.php
CONST: php_sapi_name: apache2handler
OTHER: TYPO3_VERSION: 3.8.1
OTHER: PHP_VERSION : 4.3.5
imagecreatefromgif(): 1
imagecreatefrompng(): 1
imagecreatefromjpeg(: 1
imagegif() :
imagepng() : 1
imagejpeg() : 1
imagettftext() : 1
OTHER: IMAGE_TYPES : 14
OTHER: memory_limit : 16M
SERVER: SERVER_PORT : 80
SERVER: SERVER_SOFTW: Apache/2.0.48 (RedHat 9/Server4You)
SERVER: GATEWAY_INTE: CGI/1.1
SERVER: SCRIPT_NAME : /typo3/install/index.php
SERVER: PATH_TRANSLA: /var/www/web11/html/typo3/install/index.php
T3CV_GFX: image_proc: 1
T3CV_GFX: gdlib : 1
T3CV_GFX: gdlib_png : 0
T3CV_GFX: gdlib_2 : 0
T3CV_GFX: im : 1
T3CV_GFX: im_path : /usr/X11R6/bin/
T3CV_GFX: im_path_lz: /usr/bin/
T3CV_GFX: im_version: 0
T3CV_GFX: im_negate_: 0
T3CV_GFX: im_imvMask: 0
T3CV_GFX: im_combine: combine
### DEBUG SYSTEM INFORMATION - END ###

Soul04 ·

Ach noch was, bentze eigentlich immer Firefox, teste aber auch immer mit IE. Geht mit beiden nicht, obwohl beide JavaScript und Cookies akzeptieren. Die Firewall aus dem ServicePack 2 hab ich auch deaktiviert.

woida ·

Setz mal über phpmyadmin in der Tabelle "be_users" die Spalte "disableIPlock" bei deinem Nutzer auf "1".

Soul04 ·

Danke für deine Antwort, hat aber nichts gebracht, kann mich immer noch nicht einloggen.

ich hatte jetzt auch noch das Problem, dass der Server bis vorhin nihct mehr erreichbar war, da ich einige Änderungen im httpd durchgeführt habe, die ich jetzt aber wieder rückgängig gemacht habe.

Das einzige was da jetzt noch steht ist:

php_admin_value memory_limit 16M
php_admin_flag safe_mode Off

Hat es vielleicht mit den Sessions des Servers zu tun? Ich meine, so etwas im netz gelesen zu haben, gab aber keine Lösung zu. Wie kann ich das prüfen?

Hab auch folgendes schon gemacht, hat auch nicht geholfen:
http://www.traum-projekt.com/forum/622251-beitrag5.html

Soul04 ·

habs immer noch nicht hinbekommen, ich glaube aber, es liegt an der Session.
hier der part zur Session aus der php.ini:

[Session]
; Handler used to store/retrieve data.
session.save_handler = files

; Argument passed to save_handler. In the case of files, this is the path
; where data files are stored. Note: Windows users have to change this
; variable in order to use PHP's session functions.
; As of PHP 4.0.1, you can define the path as:
; session.save_path = "N;/path"
; where N is an integer. Instead of storing all the session files in
; /path, what this will do is use subdirectories N-levels deep, and
; store the session data in those directories. This is useful if you
; or your OS have problems with lots of files in one directory, and is
; a more efficient layout for servers that handle lots of sessions.
; NOTE 1: PHP will not create this directory structure automatically.
; You can use the script in the ext/session dir for that purpose.
; NOTE 2: See the section on garbage collection below if you choose to
; use subdirectories for session storage
session.save_path = /tmp

; Whether to use cookies.
session.use_cookies = 1

; This option enables administrators to make their users invulnerable to
; attacks which involve passing session ids in URLs; defaults to 0.
; session.use_only_cookies = 1

; Name of the session (used as cookie name).
session.name = PHPSESSID

; Initialize session on request startup.
session.auto_start = 0

; Lifetime in seconds of cookie or, if 0, until browser is restarted.
session.cookie_lifetime = 0

; The path for which the cookie is valid.
session.cookie_path = /

; The domain for which the cookie is valid.
session.cookie_domain =

; Handler used to serialize data. php is the standard serializer of PHP.
session.serialize_handler = php

; Define the probability that the 'garbage collection' process is started
; on every session initialization.
; The probability is calculated by using gc_probability/gc_divisor,
; e.g. 1/100 means there is a 1% chance that the GC process starts
; on each request.

session.gc_probability = 1
session.gc_divisor = 100

; After this number of seconds, stored data will be seen as 'garbage' and
; cleaned up by the garbage collection process.
session.gc_maxlifetime = 1440

; NOTE: If you are using the subdirectory option for storing session files
; (see session.save_path above), then garbage collection does *not*
; happen automatically. You will need to do your own garbage
; collection through a shell script, cron entry, or some other method.
; For example, the following script would is the equivalent of
; setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
; cd /path/to/sessions; find -cmin +24 | xargs rm

; PHP 4.2 and less have an undocumented feature/bug that allows you to
; to initialize a session variable in the global scope, albeit register_globals
; is disabled. PHP 4.3 and later will warn you, if this feature is used.
; You can disable the feature and the warning seperately. At this time,
; the warning is only displayed, if bug_compat_42 is enabled.

session.bug_compat_42 = 1
session.bug_compat_warn = 1

; Check HTTP Referer to invalidate externally stored URLs containing ids.
; HTTP_REFERER has to contain this substring for the session to be
; considered as valid.
session.referer_check =

; How many bytes to read from the file.
session.entropy_length = 0

; Specified here to create the session id.
session.entropy_file =

;session.entropy_length = 16

;session.entropy_file = /dev/urandom

; Set to {nocache,private,public,} to determine HTTP caching aspects
; or leave this empty to avoid sending anti-caching headers.
session.cache_limiter = nocache

; Document expires after n minutes.
session.cache_expire = 180

; trans sid support is disabled by default.
; Use of trans sid may risk your users security.
; Use this option with caution.
; - User may send URL contains active session ID
; to other person via. email/irc/etc.
; - URL that contains active session ID may be stored
; in publically accessible computer.
; - User may access your site with the same session ID
; always using URL stored in browser's history or bookmarks.
session.use_trans_sid = 0

; The URL rewriter will look for URLs in a defined set of HTML tags.
; form/fieldset are special; if you include them here, the rewriter will
; add a hidden <input> field with the info which is otherwise appended
; to URLs. If you want XHTML conformity, remove the form entry.
; Note that all valid entries require a "=", even if no value follows.
url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=,fieldset="

könnte es sein, das einige Verzeichnisse nicht gefunden werden? Das Verzeichnis "tmp" gibt es auf der Ebene gar nicht, wie unter "session.save_path = /tmp" angegeben.

steffenk ·

Du brauchst einen /tmp - Ordner.
Wenn er nicht vorhanden ist, leg ihn an und gebe volle Schreibrechte.

Soul04 ·

wo genau muss dieser tmp ordner sein? Ich habe jetzt im gleichen Verzeichnis wo auch die php.ini ist, den Odener tmp angelegt mit 777. Geht trotzdem nicht.

Pfad:
etc/php.ini
etc/tmp

Pfad zum "Kunden" wo die Website und auch Typo abgelegt ist:

var/www/web111/html

woida ·

wo genau muss dieser tmp ordner sein?

Wie steffenk geschrieben hat in /tmp und nicht in /etc/tmp

Soul04 ·

Den ordner gibt es bereits, hat auch 1777

ich verzweifle langsam... wahrscheinlich wechske ich auf ein anderes CMS, obwohl ich Typo richtig geil finde und gerne damit arbeiten würde.

Soul04 ·

ES GEHT JETZT!

Zwar nur mit dem IE, aber ich kann mich jetzt einloggen. Ich hab das login auch immer mit Firefox und IE getestet. Bis vor einigen Stunden gin nichts, jetzt kann ich wenigstens mit dem IE einloggen. kann eigentlich nur an dem tmp Ordner liegen, sonst habe ich nichts mehr geändert. Kann es aber auch nicht genau sagen.

Danke für die Hilfe, die ich wahrscheinlich noch zu anderen Problem brauchen werde.

DANKE!

woida ·

Wenn du dir schon so sicher bist, daß es an den Session liegt, schau in die phpinfo(), ob "Session Support enabled" drinsteht.

Danach kannst überprüfen, ob in /tmp/ irgendwelche sess_* -Dateien rumliegen. Dann werden Sessions erstellt.

Dann erstellst dir ein kleines PHP-Skript, daß eine Session starten und eine Variable anlegt, die du dann auf einer anderen Seite ausgibst.