Parašė moonlike· 2011 Gru. 5 19:12:12
#1
Sveiki, ištiko bėda. Bandant prisiregistruoti išmeta šias klaidas. Nelabai nusimanau ką reikia daryti. Klaidos yra tokios:
Warning: include(1) [function.include]: failed to open stream: No such file or directory in /home/public_html/signup.php on line 64
Warning: include() [function.include]: Failed opening '1' for inclusion (include_path='.:/usr/local/lib/php') in /home/public_html/signup.php on line 64
Warning: Cannot modify header information - headers already sent by (output started at /home/public_html/signup.php:10) in /home/public_html/signup.php on line 67
Kaip suprantu visos bėdos signup.php faile, šioje vietoje:
mysql_query("
INSERT INTO `vartotojai`
SET
`nick` = '$frm_nick', `firstname` = '$frm_firstname', `lastname` = '$frm_lastname', `pass` = '$pass_md5',
`level` = 1, `signup_time` = " . time());
include "signup_form.php";
or exit('<script language="JavaScript">alert ("Nepavyko irasyti naujo vartotojo: vidine klaida")</script>');
header("Location: login_form.php");
exit();
}
else
{
show_form('');
}
Būčiau dėkingas, jei padėtumėt.