leimis Posted October 25, 2004 Author Report Posted October 25, 2004 tas pats erors Warning: Cannot modify header information - headers already sent by (output started at E:\Maajas_lapa\config.inc:1) in E:\Maajas_lapa\Zinja.php on line 12 12. rinda: header('location: Zinja.php');
Aleksejs Posted October 25, 2004 Report Posted October 25, 2004 tas pats erors Warning: Cannot modify header information - headers already sent by (output started at E:\Maajas_lapa\config.inc:1) in E:\Maajas_lapa\Zinja.php on line 12 12. rinda: header('location: Zinja.php'); palasi šos meklēšanas rezultātus un izdari secinājumus (-;
leimis Posted October 25, 2004 Author Report Posted October 25, 2004 OK pielieku pashaa lapas saakumaa funkciju ob_start(); tagad saakaas citi gljuki. Kompilaators vairs nesaprot sho funkciju mysql_fetch_array():
Aleksejs Posted October 25, 2004 Report Posted October 25, 2004 OK pielieku pashaa lapas saakumaa funkciju ob_start();tagad saakaas citi gljuki. Kompilaators vairs nesaprot sho funkciju mysql_fetch_array(): Mazticams, ka nesaprot. Kādu kļūdu tad viņš rāda?
des Posted October 25, 2004 Report Posted October 25, 2004 Nu tad paskaties, ko dara config.inc. Es biju domaajis, ka config.inc tikai pieshkjir parametru veertiibas. Tas config.inc veel kaut ko drukaa? Izvaac jebkaadu outputu no taa!
leimis Posted October 25, 2004 Author Report Posted October 25, 2004 config.inc fails: <?php $dbhost = "localhost"; $dbuser = "root"; $dbpass = "qwerty"; $dbname = "Artuurs"; ?>
des Posted October 25, 2004 Report Posted October 25, 2004 config.inc fails: <?php $dbhost = "localhost"; $dbuser = "root"; $dbpass = "qwerty"; $dbname = "Artuurs"; ?> Izdzees pilniibaa visus speisus, enterus, kas ir virs <?php un zem ?> Arii whitespeiss skaitaas outputs.
leimis Posted October 25, 2004 Author Report Posted October 25, 2004 Juus varat pastiities kaa straadaa, kods ir taads pats kaa des man iedeva! adrese: /80.81.56.202 ejat zinjaa iekshaa un kaut ko nokomenteejiet. Luudzams nepiespamot manu DB!
Aleksejs Posted October 25, 2004 Report Posted October 25, 2004 Izdzees pilniibaa visus speisus, enterus, kas ir virs <?php un zem ?>Arii whitespeiss skaitaas outputs. Es sapratu, ka hederis nu jau viņam normāli nosūtās. Tagad problēmas ar mysql_fetch_array...
Aleksejs Posted October 25, 2004 Report Posted October 25, 2004 Juus varat pastiities kaa straadaa, kods ir taads pats kaa des man iedeva! adrese: /80.81.56.202 ejat zinjaa iekshaa un kaut ko nokomenteejiet. Luudzams nepiespamot manu DB! Vēlarvien tā pati headeru problēma tev ir. Neredzu neko ar mysql_fetch_assoc(); saistītu.
leimis Posted October 25, 2004 Author Report Posted October 25, 2004 nu ja tagad es ierakstu //ob_start(); un buus!
Aleksejs Posted October 25, 2004 Report Posted October 25, 2004 (edited) nu jatagad es ierakstu //ob_start(); un buus! Problēma ir tajā apstāklī, ka neesi norādījis ziņas id tajā vietā, kas ir head(...); - vienkārši verot vaļā failu Zinja.php netiek padots caur get mainīgais ID. Edited October 25, 2004 by Aleksejs
leimis Posted October 25, 2004 Author Report Posted October 25, 2004 Kaa nee, ir tachu. <form action=\"Zinja.php?ID=$ID\" method=\"post\">
des Posted October 25, 2004 Report Posted October 25, 2004 Aaa... pareizi, tur jau komentaars tiek pievienots, liidz aro to arii headerii id vajag noraadiit: http://paste.php.lv/1314
leimis Posted October 25, 2004 Author Report Posted October 25, 2004 Iekopeeju! Neliidz, kaa redzat. Spiezham F5 un tik drukaajaas komentaari
Recommended Posts