millers Posted January 6, 2008 Report Share Posted January 6, 2008 man ir 2 jautajumi 1 .... kapec man ir sads te erros Warning: session_start() [function.session-start]: open(C:/DOCUME~1/Forever/LOCALS~1/Temp\sess_5927735a79fd9b8cdefffed6e14d112a, O_RDWR) failed: No such file or directory (2) in C:\AppServ\www\main.php on line 2 Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at C:\AppServ\www\main.php:2) in C:\AppServ\www\main.php on line 2 Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at C:\AppServ\www\main.php:2) in C:\AppServ\www\main.php on line 2 Warning: Cannot modify header information - headers already sent by (output started at C:\AppServ\www\main.php:2) in C:\AppServ\www\main.php on line 3 un 2 jautajums kapec man neradas image verifikatijon kods !!? ludzu palidzat Link to comment Share on other sites More sharing options...
Paulinjsh Posted January 6, 2008 Report Share Posted January 6, 2008 tak errori skaidri un gaiši rakstīti - nav tāda direktorija. Link to comment Share on other sites More sharing options...
KillerBean Posted January 6, 2008 Report Share Posted January 6, 2008 a) nav tāda faila b) Session_start() ieliec kā 1. rindiņu.. un skaties, vai Tev nav UTF-8 with BOM encodings. Link to comment Share on other sites More sharing options...
cucumber Posted January 6, 2008 Report Share Posted January 6, 2008 Warning: Cannot modify header information - headers already sent by - shi ir viena no trivialakam kludam, kas paradas php, foruma n-tas reizes aprunata tema. Link to comment Share on other sites More sharing options...
aldis Posted January 7, 2008 Report Share Posted January 7, 2008 (edited) 1. - Nēesi izveidojis direktoriju vai nepastav tāds fails [tīri pārtulkoju no angļu valodas] 2.- AndrisP par so labu pamacību uzdragajis ir --> http://apblog.lv/2007/05/07/utf-8-bom-simb...s-already-sent/ =) Un ko tu biji domajis ar sho un 2 jautajums kapec man neradas image verifikatijon kods !!? īsti nesapratu! Edited January 7, 2008 by aldis Link to comment Share on other sites More sharing options...
millers Posted January 7, 2008 Author Report Share Posted January 7, 2008 1. - Nēesi izveidojis direktoriju vai nepastav tāds fails [tīri pārtulkoju no angļu valodas] 2.- AndrisP par so labu pamacību uzdragajis ir --> http://apblog.lv/2007/05/07/utf-8-bom-simb...s-already-sent/ =) Un ko tu biji domajis ar sho īsti nesapratu! ar to es biju domajis kad es ieeju registra man neradas mans verifikatijon kods bilde neparadas bet itka visam butu jaiet nez kas pa vainu! Link to comment Share on other sites More sharing options...
ray Posted January 7, 2008 Report Share Posted January 7, 2008 (edited) Warning: session_start() [function.session-start]: open(C:/DOCUME~1/Forever/LOCALS~1/Temp\sess_5927735a79fd9b8cdefffed6e14d112a, O_RDWR) failed: No such file or directory (2) in C:\AppServ\www\main.php on line 2 atrisini šo problēmu, kur jau kā citi rakstīja, problēma ir tā, ka direktorija (C:/DOCUME~1/Forever/LOCALS~1/Temp\sess_5927735a79fd9b8cdefffed6e14d112a) neeksistē un pārējās (iespējams) pazudīs. Header parādās, ka ir nosūtīts, jo tas tiek izdarīts izmetot to kļūdas paziņojumu. Edited January 7, 2008 by ray Link to comment Share on other sites More sharing options...
andrisp Posted January 7, 2008 Report Share Posted January 7, 2008 Īstenība te ir nedaudz savādāka problēma. Izskatās, ka php pazaudē vai nemāk izmantot paša izveidoto temp failu priekš sesijas. Pamēģini iekš php.ini session.save_path direktīvu norādīt, piem., c:\temp\ (Tikai neaizmirsti izveidot to direktoriju). Izlasi tur komentārus noteikti pirmos ko dari. Link to comment Share on other sites More sharing options...
Recommended Posts