tack, nu funkar det så långt, men jag måste ha gjort ett antal missar när jag installerade den här modden, nu funkar det att skriva ett inlägg, men direkt när man postar det så visas
Kod: Markera allt
Warning: Wrong parameter count for str_replace() in /home/lut/domains/lut.nu/public_html/forum/posting.php on line 670
Warning: Cannot modify header information - headers already sent by (output started at /home/lut/domains/lut.nu/public_html/forum/posting.php:670) in /home/lut/domains/lut.nu/public_html/forum/posting.php on line 707
Warning: Cannot modify header information - headers already sent by (output started at /home/lut/domains/lut.nu/public_html/forum/posting.php:670) in /home/lut/domains/lut.nu/public_html/forum/includes/page_header.php on line 476
Warning: Cannot modify header information - headers already sent by (output started at /home/lut/domains/lut.nu/public_html/forum/posting.php:670) in /home/lut/domains/lut.nu/public_html/forum/includes/page_header.php on line 478
Warning: Cannot modify header information - headers already sent by (output started at /home/lut/domains/lut.nu/public_html/forum/posting.php:670) in /home/lut/domains/lut.nu/public_html/forum/includes/page_header.php on line 479
högst upp på sidan, ovanför meddelandet "ditt meddelande har sparats"...
och när man vill visa en tråd så får man bara se:
Kod: Markera allt
Fel
Could not obtain topic 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 '//-- fin mod : calendar ---------------------------------------
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, t.topic_first_post_id, t.topic_calendar_time, t.topic_calendar_duration, 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, COUNT(p2.post_id) AS prev_posts //-- fin mod : calendar ---------------------------------------------------------------------------- FROM phpbb_topics t, phpbb_forums f, phpbb_posts p, phpbb_posts p2 WHERE p.post_id = 3 AND t.topic_id = p.topic_id AND p2.topic_id = p.topic_id AND p2.post_id <= 3 AND f.forum_id = t.forum_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
Line : 178
File : viewtopic.php