lazda144 Posted December 15, 2007 Report Share Posted December 15, 2007 man ir skrip kas ipsto tekstu kadaa txt failaa !! ieliku to savaa web lai var pievienot serverus viss itkaa iet bet virs visa raada Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at R:\AppServ\www\serveri.php:18) in R:\AppServ\www\post.php on line 8 ja es uzlieku ini_set('session.auto_start','1'); tad newar ielogoties kaa admins bet ja uzlieku session_start(); tad man raada to!! luudzu paliidzat atrast risinaajumu!! skripts seit!! Link to comment Share on other sites More sharing options...
andrisp Posted December 15, 2007 Report Share Posted December 15, 2007 Izmanto paste.php.lv... Un par headers already sent: http://php.lv/f/index.php?showtopic=7294 Link to comment Share on other sites More sharing options...
lazda144 Posted December 16, 2007 Author Report Share Posted December 16, 2007 Risinājums: Novietojam session_start() pašā skripta sākumā. Kā arī, ja ir, tad izdzēšam BOM simbolus. sitas pat pirms <?php jaaliek?? Link to comment Share on other sites More sharing options...
foxsk8 Posted December 16, 2007 Report Share Posted December 16, 2007 Tev vienkārši divas reizes vienu un to pašu grib palaist. Cik noprotu, darbojas tas tev uz template sistēmu. Tātad atrodi, kur tev tas kods atkārtojās. Link to comment Share on other sites More sharing options...
lazda144 Posted December 16, 2007 Author Report Share Posted December 16, 2007 (edited) karoce man ir fails serveri.php un tajaa ar <?php include("fails.php"); ?> ielikti <?php include("post.php"); ?> un <?php include("r:/AppServ/www/lgsl/index.php"); ?> izmeeginaaaju arii visu paareejo nonemt , bet tik un taa tas pats EDIT:ar lielaam mokaam bet tomeer pats atrisinaaju!! vnk serveri.php netaalu no saakuma ierakstiiju <?php session_start(); ?> bet no post.php vispaar izneemu :) var veert ciet!! edit2: nee tomeer neit!! a kaa var aizveert sesion seit mans serveri.php Edited December 16, 2007 by lazda144 Link to comment Share on other sites More sharing options...
MārisL Posted December 16, 2007 Report Share Posted December 16, 2007 (edited) izmanto paste vnk serveri.php netaalu no saakuma ierakstiiju Liec pašā augšā! <?php session_start(); //Viss pārējāis tāvs superuberpuber kods echo ..... ?> Un pārliecinies, ka fails ir ieseivots utf-8 without BOM. (notepad++) > FORMAT > UTF-8 WITHOUT BOM Edited December 16, 2007 by MārisL Link to comment Share on other sites More sharing options...
marcis Posted December 16, 2007 Report Share Posted December 16, 2007 "aizvērt": unset($_SESSION); session_destroy(); Link to comment Share on other sites More sharing options...
lazda144 Posted December 16, 2007 Author Report Share Posted December 16, 2007 Warning: session_destroy() [function.session-destroy]: Trying to destroy uninitialized session in R:\AppServ\www\serveri.php on line 20 meeginot aizveert sesion paraada sitaadu Link to comment Share on other sites More sharing options...
andrisp Posted December 16, 2007 Report Share Posted December 16, 2007 Un ? Sesija nemaz nav uzsākta. Link to comment Share on other sites More sharing options...
lazda144 Posted December 16, 2007 Author Report Share Posted December 16, 2007 viss aizgaaja pasaa augsaa uzrakstiiju <?php session_start(); ?> Link to comment Share on other sites More sharing options...
andrisp Posted December 16, 2007 Report Share Posted December 16, 2007 (edited) mjā... tas nekas, ka jau pašā sākumā tas tev tika teikts. Edited December 16, 2007 by andrisp Link to comment Share on other sites More sharing options...
lazda144 Posted December 16, 2007 Author Report Share Posted December 16, 2007 vienkaarsi es no kluudiijos vienaa vieta!! thx visiem!! Link to comment Share on other sites More sharing options...
Recommended Posts