mod yüklemede bir hata mesaji

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

mod yüklemede bir hata mesaji

İleti Emexci 13.01.2006, 19:48

Arkadaslar bu altaki hata mesaji tam olarak ne anlama geliyor ?
Kod: Tümünü seç
Parse error: parse error, unexpected ',' in /usr/export/www/vhosts/funnetwork/hosting/emexci/forums/viewtopic.php on line 150
Kullanıcı avatarı
Emexci
Üye
Üye
 
İleti: 833
Kayıt: 28.11.2005, 01:07

İleti Curtis 13.01.2006, 20:57

viewtopic.php'in 150ç sayfasında fazladan bir virgül var demek, 150'liyi buraya yapıştırırsan bakabiliriz..
Kullanıcı avatarı
Curtis
Üye
Üye
 
İleti: 686
Kayıt: 06.10.2005, 06:22
Konum: İstanbul

İleti Emexci 13.01.2006, 21:37

Kod: Tümünü seç
$sql = "SELECT t.topic_id, t.topic_title, t.topic_status, t.topic_replies, t.topic_time, t.topic_type, t.topic_vote, t.topic_last_post_id, f.forum_name, f.forum_status, f.forum_id, f.auth_view, f.auth_read, f.auth_post, f.auth_reply, f.auth_edit, f.auth_delete, f.auth_sticky, f.auth_announce, f.auth_pollcreate, f.auth_vote, f.auth_attachments", f.attached_forum_id. $count_sql . "
   FROM " . TOPICS_TABLE . " t, " . FORUMS_TABLE . " f" . $join_sql_table . "


150 .ci tablo
Kullanıcı avatarı
Emexci
Üye
Üye
 
İleti: 833
Kayıt: 28.11.2005, 01:07

İleti Curtis 13.01.2006, 21:41

Doğru olmayabilir denemekte fayda var;

BUL

f.auth_attachments",

DEĞİŞTİR

f.auth_attachments,

Olmazsa

BUL
" t, "

DEĞİŞTİR
" t"

Önce birinci verdiğimi dene, müjdeni bekliyorum
Kullanıcı avatarı
Curtis
Üye
Üye
 
İleti: 686
Kayıt: 06.10.2005, 06:22
Konum: İstanbul

İleti Emexci 13.01.2006, 22:50

Parse error: parse error, unexpected T_STRING in /usr/export/www/vhosts/funnetwork/hosting/emexci/forums/viewtopic.php on line 151

Simdide bu Geldi



________________
Cokmu yanlis yaptim acaba

139 - 166 arasinda bakabilirmisin acaba hatayi nerde yaptm diye

Kod: Tümünü seç
//
// This rather complex gaggle of code handles querying for topics but
// also allows for direct linking to a post (and the calculation of which
// page the post is on and the correct display of viewtopic)
//
$join_sql_table = (!$post_id) ? '' : ", " . POSTS_TABLE . " p, " . POSTS_TABLE . " p2 ";
$join_sql = (!$post_id) ? "t.topic_id = $topic_id" : "p.post_id = $post_id AND t.topic_id = p.topic_id AND p2.topic_id = p.topic_id AND p2.post_id <= $post_id";
$count_sql = (!$post_id) ? '' : ", COUNT(p2.post_id) AS prev_posts";

$order_sql = (!$post_id) ? '' : "GROUP BY p.post_id, t.topic_id, t.topic_title, t.topic_status, t.topic_replies, t.topic_time, t.topic_type, t.topic_vote, t.topic_last_post_id, f.forum_name, f.forum_status, f.forum_id, f.auth_view, f.auth_read, f.auth_post, f.auth_reply, f.auth_edit, f.auth_delete, f.auth_sticky, f.auth_announce, f.auth_pollcreate, f.auth_vote, f.auth_attachments ORDER BY p.post_id ASC";

$sql = "SELECT t.topic_id, t.topic_title, t.topic_status, t.topic_replies, t.topic_time, t.topic_type, t.topic_vote, t.topic_last_post_id, f.forum_name, f.forum_status, f.forum_id, f.auth_view, f.auth_read, f.auth_post, f.auth_reply, f.auth_edit, f.auth_delete, f.auth_sticky, f.auth_announce, f.auth_pollcreate, f.auth_vote, f.auth_attachments, f.attached_forum_id. $count_sql . "
   FROM" . TOPICS_TABLE . " t' " . FORUMS_TABLE . " f " . $join_sql_table . "
   FROM" . TOPICS_TABLE . "t" . FORUMS_TABLE. "f" . $join_sql_table. "
   WHERE $join_sql
      AND f.forum_id = t.forum_id
      $order_sql";
if ( !($result = $db->sql_query($sql)) )
{
   message_die(GENERAL_ERROR, "Could not obtain topic information", '', __LINE__, __FILE__, $sql);
}

if ( !($forum_topic_data = $db->sql_fetchrow($result)) )
{
   message_die(GENERAL_MESSAGE, 'Topic_post_not_exist');
}

$forum_id = intval($forum_topic_data['forum_id']);
Kullanıcı avatarı
Emexci
Üye
Üye
 
İleti: 833
Kayıt: 28.11.2005, 01:07


Soru(n)lar & Tartışmalar



Kimler çevrimiçi

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