report modunda hata

Eklentiler ile ilgili soru, sorun ve tartışmalar.

report modunda hata

İleti purple 08.03.2006, 21:02

bir report modu kurdum.mod bir msgı report edene kadar sorunsuz çalışıyor.sorun şu reportu gonderirken verdiği hata
Kod: Tümünü seç
Warning: implode(): Bad arguments. in e:\w3sites\hebele\wwwroot\includes\functions_report.php on line 97

Warning: Cannot modify header information - headers already sent by (output started at e:\w3sites\hebele\wwwroot\includes\functions_report.php:97) in e:\w3sites\hebele\wwwroot\includes\page_header.php on line 470

Warning: Cannot modify header information - headers already sent by (output started at e:\w3sites\hebele\wwwroot\includes\functions_report.php:97) in e:\w3sites\hebele\wwwroot\includes\page_header.php on line 472

Warning: Cannot modify header information - headers already sent by (output started at e:\w3sites\hebele\wwwroot\includes\functions_report.php:97) in e:\w3sites\hebele\wwwroot\includes\page_header.php on line 473

Could not query forum moderator information

DEBUG MODE

SQL Error : 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') AND ug.user_id = u.user_id AND u.user_report_optout <>

SELECT u.user_email FROM phpbb_user_group ug, phpbb_groups g, phpbb_users u WHERE ug.group_id = g.group_id AND g.group_single_user = 0 AND g.group_id IN () AND ug.user_id = u.user_id AND u.user_report_optout <> 1

Line : 102
File : functions_report.php


functions_report dosyasındaki 95 ile 105 satırları arasını veriyorum
Kod: Tümünü seç
$sql = "SELECT u.user_email
      FROM " . USER_GROUP_TABLE . " ug, " . GROUPS_TABLE . " g, " . USERS_TABLE . " u
      WHERE ug.group_id = g.group_id
         AND g.group_single_user = 0
         AND g.group_id IN (" . implode(',', $groups) . ") //line 97
         AND ug.user_id = u.user_id
         AND u.user_report_optout <> 1";
   if ( !($result = $db->sql_query($sql)) )
   {
      message_die(GENERAL_ERROR, 'Could not query forum moderator information', '', __LINE__, __FILE__, $sql); //line 102
   }

   while( $row = $db->sql_fetchrow($result) )
   {
      if ( !in_array($row['user_email'], $moderators) )
      {
         $moderators[] = $row['user_email'];
      }
   }

yardımlarınızı bekliyorum şimdiden teşekkürler..bu arada işin garibi reportu gönderiyor ama bu hatayı da veriyor :(
Kullanıcı avatarı
purple
Üye
Üye
 
İleti: 618
Kayıt: 06.03.2006, 22:40

İleti purple 08.03.2006, 22:02

arkadaşlar yardım edebilecek olan yok mu ? lütfen çok acil :( son modumdu bu .. birtek bu böyle bir hata verdi.bunu da hlledince forumu açıcaktım :(
Kullanıcı avatarı
purple
Üye
Üye
 
İleti: 618
Kayıt: 06.03.2006, 22:40

İleti türkphpbb 09.03.2006, 02:29

Son sürümünü yükleyerek hallettik sorunu.
Kullanıcı avatarı
türkphpbb
Üye
Üye
 
İleti: 161
Kayıt: 07.10.2005, 06:21
Konum: Yurt Dışı

İleti purple 09.03.2006, 03:31

türkphpbb sen de olmasan işimiz iş .cidden her konuda yardımcı oldun bu yüzden tekrar herkesin önünde teşekkür ederim.
Kullanıcı avatarı
purple
Üye
Üye
 
İleti: 618
Kayıt: 06.03.2006, 22:40


Soru(n)lar & Tartışmalar



Kimler çevrimiçi

Bu forumu görüntüleyenler: Kayıtlı kullanıcı yok ve 0 misafir

cron