mam problem. u mnie na serwerze xammpie wszystko jest ok ale po wgraniu na serwer znajomego wyskakuje taki blad
Warning: session_start() [FUNCTION.session-start]: open(/tmp/sess_c62eaf47adde38dd7769371f7871773a, O_RDWR) failed: No such file OR directory (2) IN /INDEX.php ON line 2 Warning: session_start() [FUNCTION.session-start]: Cannot send session cookie - headers already sent BY (output started at /INDEX.php:2) IN /INDEX.php ON line 2 Warning: session_start() [FUNCTION.session-start]: Cannot send session cache limiter - headers already sent (output started at /INDEX.php:2) IN /INDEX.php ON line 2
plik index.php z zainicjowaniem sesji jest nastepujacy:
<?php session_start(); IF(!isset($_SESSION['lang'])) { $_SESSION['lang']='pl'; } $view = $_GET['view']; $strony = array( "glowna" => "glowna.php", "video" => "video.php", "historia" => "historia.php", "produkcja" => "produkcja.php", "rodzaje" => "rodzaje.php", "kalkulatory" => "kalkulatory.php", "instrukcje" => "instrukcje.php", "onas" => "onas.php", "kontakt" => "kontakt.php"); IF($strony[$view] != '') { require_once ("header.php"); include ($strony[$view]); require_once ("menu.php"); } else { require_once ("header.php"); include ("glowna.php"); require_once ("menu.php"); } ?>
prosze o pomoc