Zum Inhalt springen
View in the app

A better way to browse. Learn more.

Fachinformatiker.de

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Fehlermeldung bei session_start()

Empfohlene Antworten

Hallo!!!

Wenn ich folgenden php-code erstelle und ausführe bekomme ich untenstehende Fehlermeldung, weiß aber absolut nicht wieso!!!

<?php

session_start();

$vorname = "Matthias";

session_register("vorname");

?>

<HTML>

<HEAD>

<TITLE></TITLE>

</HEAD>

<BODY TEXT="#000000" BGCOLOR="#FFFFFF" LINK="#FF0000" ALINK="#FF0000" VLINK="#FF0000">

Session geschrieben<BR><BR>

<a href="session2.php?<?=sid?>">Weiter</A>

</BODY>

</HTML>

Warning: open(/tmp\sess_0f4d23ab58cd23250ca4da9918ff9804, O_RDWR) failed: m (2) in c:\apache\htdocs\schule\session1.php on line 2

Kann mir da wer weiterhelfen???

Ich hab die Einstellungen in der PHP.ini schon nach den angaben aus dem Buch "PHP 4 + MySQL" von DataBecker überprüft!!!

mfg

Matthias

in der php.ini stimmt dein sesion path nicht.

du hast bestimmt nicht das verzeichnis /tmp erstellt.

am besten legst du das verzeichnis neu an zB c:/tmp

und speicherst diesen pfad dann in der php.ini unter session path und dann gehts.

apache neustart nicht vergessen :)

Archiv

Dieses Thema wurde archiviert und kann nicht mehr beantwortet werden.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.