Jump to content
php.lv forumi

Sesijas gljuks


KillerBean

Recommended Posts

Probleema taada :( ... ->

Warning: session_start(): Cannot send session cookie - headers already sent by (output started at ...index.php:1) in ...index.php on line 1
Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at ...index.php:1) in ...index.php on line 1

 

Bet index.php saakas ar:

<? session_start(); ?>

<html>

<head>
...

 

edit: hosts -> eclub.lv. mosh tur vaina?? vnk vakar viss bija, ok... bet shodien kkaa vairs neiet. :(

Edited by KillerBean
Link to comment
Share on other sites

aa nu jaa... ;) tur chakareejos vakaraa ar paarkodeeshanu... no ANSI uz UTF-8, un tapeec arii index.php gljuko :P

 

edit: blondi, bet searchojot atradu... visur mineets -> magjiskie 3 simbolinji... a kaa vinjus novaakt - nav :D ar Notepad'u vinji neuzraadaas :(

Edited by KillerBean
Link to comment
Share on other sites

Atver ar HEX editoru un idzēs faila sākumā esošos trīs EF, BB, BF kodus =)

 

Bet ja nopietni, tad pameklē kādu editoru, kas ļauj saglabāt utf-8 bez BOM (tā saucās tie trīs nevajadzīgie chari). Tā būs daudz ērtāk un vienkāršāk.

Edited by andrisp
Link to comment
Share on other sites

×
×
  • Create New...