Jump to content
php.lv forumi

headers already sent problēma


Snaip3Rs

Recommended Posts

Es mēģinu kautko taisīt ar include no vienas mapes uz citu un man tagad tāds error lūdzu palīdziet un pasakiet kā var sataisīt!

Warning: session_start() [function.session-start]: Cannot send

session cache limiter - headers already sent (output started

at /home2/jzvac/public_html/viesugramata.php:6)

in /home2/jzvac/public_html/viesugramata/index.php on line 2

 

Ja vajag tad es arī ielikšu index.php un viesugramata.php

 

Bet bubu es tavu linku apskatiju bet tikuntā man nekas nesanāca!

Edited by Snaip3Rs
Link to comment
Share on other sites

Bubu es meginaju, bet man tapat nesanāca man vajag no mapes guestbook ielikt guestbook.php faila ra include sanakt sanāk bet met to error virsu! Kā var sataisīt nepielec varbūt tu vari pateikt?

Edited by bubu
Lūdzu netaisīt bezjēdzīgas QUOTEs
Link to comment
Share on other sites

Kā tas ir kā sataisīt? Neviens cits bez tevis nezin kā tev tur viss uztaisīts. Pašu header funkciju lietot ir elementāri:

header("Location: ...urlis...");

un viss. Galvenais, lai pirms tās nav nekāds outputs, kas arī ir aprakstīts andra p. blogā ielinkotajā adresē.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...