mam problem, trochę nie wiem o co chodzi bo wszystko śmigało, tyle że po pewnych poprawkach które właściwie sesji nie dotyczyły posypały się sesje. Nie zmieniałem żadnych ustawień php.
początek pliku admin.php od którego wszystko się zaczyna
<?php # ladowanie konfiga require_once("modules/configs/config.php"); require_once("modules/configs/config.menu.php"); # ladowanie bibliotek require_once("modules/lib/FCKeditor/fckeditor.php"); require_once("modules/lib/Smarty/libs/Smarty.class.php"); # ladowanie core'a require_once("modules/core/class.RequestAnalyzer.php"); require_once("modules/core/class.iDB_connect.php"); require_once("modules/core/class.mySmarty.php"); ?>
i tam trochę dalej leci jeszcze plik ale to nie ważne w tym momencie, to taki pseudo-kontroler...
komunikat jak się pojawia przy włączonym error_reporting i ini_set
Kod
Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at C:\Documents and Settings\pawelhenek\Pulpit\xampp\xampp\htdocs\myprojects\lemar_new\admin.php:1) in C:\Documents and Settings\pawelhenek\Pulpit\xampp\xampp\htdocs\myprojects\lemar_new\admin.php on line 3
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at C:\Documents and Settings\pawelhenek\Pulpit\xampp\xampp\htdocs\myprojects\lemar_new\admin.php:1) in C:\Documents and Settings\pawelhenek\Pulpit\xampp\xampp\htdocs\myprojects\lemar_new\admin.php on line 3
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at C:\Documents and Settings\pawelhenek\Pulpit\xampp\xampp\htdocs\myprojects\lemar_new\admin.php:1) in C:\Documents and Settings\pawelhenek\Pulpit\xampp\xampp\htdocs\myprojects\lemar_new\admin.php on line 3
i ustawienia php jeszcze (wybrane):
Kod
[Session]
session.save_handler = files
session.save_path = "C:\Documents and Settings\pawelhenek\Pulpit\xampp\xampp\tmp"
session.use_cookies = 1
session.use_only_cookies = 1
session.name = PHPSESSID
session.auto_start = 0
session.cookie_lifetime = 0
session.cookie_path = /
session.cookie_domain =
session.serialize_handler = php
session.gc_probability = 1
session.gc_divisor = 100
session.gc_maxlifetime = 1440
session.bug_compat_42 = 1
session.bug_compat_warn = 1
session.referer_check =
session.entropy_length = 0
session.entropy_file =
session.cache_limiter = nochache
session.cache_expire = 180
session.use_trans_sid = 0
session.hash_function = 0
session.hash_bits_per_character = 4
url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=,fieldset="
session.save_handler = files
session.save_path = "C:\Documents and Settings\pawelhenek\Pulpit\xampp\xampp\tmp"
session.use_cookies = 1
session.use_only_cookies = 1
session.name = PHPSESSID
session.auto_start = 0
session.cookie_lifetime = 0
session.cookie_path = /
session.cookie_domain =
session.serialize_handler = php
session.gc_probability = 1
session.gc_divisor = 100
session.gc_maxlifetime = 1440
session.bug_compat_42 = 1
session.bug_compat_warn = 1
session.referer_check =
session.entropy_length = 0
session.entropy_file =
session.cache_limiter = nochache
session.cache_expire = 180
session.use_trans_sid = 0
session.hash_function = 0
session.hash_bits_per_character = 4
url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=,fieldset="
więc chyba wszystko jest w porządku. Problem pojawia się zarówno na localhoscie jak i na ftp.livenet.pl z tym że wcześniej nie występował, o czym komunikat mówi to wiem, z tym że nie wysyłałem żadnych headerów, jak to wszystko jest możliwe? (przeglądarka obsluguje cookie)