Frozen Life Posted January 23, 2011 Report Share Posted January 23, 2011 Sveiki atkal man ir problēma ar login :( Bet šoreiz tāda intresanta. Tā, tad reku ir errors 1. Warning: Cannot modify header information - headers already sent by (output started at D:\xampp\htdocs\index.php:11) in D:\xampp\htdocs\inc\login2.php on line 8 Un reku 2. Warning: Cannot modify header information - headers already sent by (output started at D:\xampp\htdocs\index.php:11) in D:\xampp\htdocs\inc\login2.php on line 10 1. erros atkārtojas vairākas reizes, bet otrais tikai 1x Reku ir scripts <? if(isset($_GET['logout'])) { foreach($_COOKIE as $cookie => $value) { setcookie($cookie, -1, time()-9999999); } header("location: http://84.237.204.82"); } if(!isLoggedIn()) { ?> Un 8 kļūda ir setcookie($cookie, -1, time()-9999999); Un 10. header("location: http://84.237.204.82"); P.S UTF8 BOM jau ir uzlikts :) Quote Link to comment Share on other sites More sharing options...
gta1151 Posted January 23, 2011 Report Share Posted January 23, 2011 Lasīt nemāki,pieraksti skripta augša session_start(); Quote Link to comment Share on other sites More sharing options...
mad182 Posted January 23, 2011 Report Share Posted January 23, 2011 Ar session start gan tur nav nekāda sakara... Gan jau kaut kas pirms tam tike izvadīts index failā. Quote Link to comment Share on other sites More sharing options...
daGrevis Posted January 23, 2011 Report Share Posted January 23, 2011 http://kb2.adobe.com/community/publishing/505/cpsid_50572.html LASI! Quote Link to comment Share on other sites More sharing options...
gta1151 Posted January 23, 2011 Report Share Posted January 23, 2011 (edited) Ar session start gan tur nav nekāda sakara... Gan jau kaut kas pirms tam tike izvadīts index failā. Bet tas man palīdzēja,skatījos google daudzi rakstīja forumos. Edited January 23, 2011 by gta1151 Quote Link to comment Share on other sites More sharing options...
daGrevis Posted January 23, 2011 Report Share Posted January 23, 2011 (edited) Tu arī varētu izlasīt to linku. Vai Tev zobu iztīrīšana palīdz pret galvassāpēm? =] Edited January 23, 2011 by daGrevis Quote Link to comment Share on other sites More sharing options...
briedis Posted January 23, 2011 Report Share Posted January 23, 2011 Jau otrais topiks no viena lietotāja, par vienu un to pašu tēmu, par kuru ir PIESPRAUSTS TOPIKS šajā forumā http://php.lv/f/topic/7294-headers-already-sent/ Ne cilvēks vispirms meklē, vai nav jau atbildēts uz šo jautājumu, ne izlasa piespraustos topikus, nu ibio Quote Link to comment Share on other sites More sharing options...
daGrevis Posted January 23, 2011 Report Share Posted January 23, 2011 Briedis jau ir TIK dusmīgs, ka smaidiņus liek kā attēlus! =D Uzmanās! =] Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.