http://www.phpbbhacks.com/forums/viewtopic.php?t=55728
Hoppas jag inte har missat något
Moderatorer: Moderatorgrupp, Supportgrupp
Kod: Markera allt
Parse error: parse error, unexpected '}' in /hsphere/local/home/biker/bikersite.se/viewtopic.php on line 1574
Kod: Markera allt
Error in posting
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 ')' at line 1
INSERT INTO phpbb_posts (topic_id, forum_id, poster_id, post_username, post_time, poster_ip, enable_bbcode, enable_html, enable_smilies, enable_sig, post_icon) VALUES (875, 24, 2, '', 1131280870, 'd5704e9a', 1, 0, 1, 1, )
Line : 352
File : functions_post.php
Kod: Markera allt
includes/functions_post.php
FIND
Code:
function submit_post($mode, &$post_data, &$message, &$meta, &$forum_id, &$topic_id, &$post_id, &$poll_id, &$topic_type, &$bbcode_on, &$html_on, &$smilies_on, &$attach_sig, &$bbcode_uid, &$post_username, &$post_subject, &$post_message, &$poll_title, &$poll_options, &$poll_length)
REPLACE WITH
Code:
function submit_post($mode, &$post_data, &$message, &$meta, &$forum_id, &$topic_id, &$post_id, &$poll_id, &$topic_type, &$bbcode_on, &$html_on, &$smilies_on, &$attach_sig, &$bbcode_uid, $post_username, $post_subject, $post_message, $poll_title, &$poll_options, &$poll_length)
Kod: Markera allt
function submit_post($mode, &$post_data, &$message, &$meta, &$forum_id, &$topic_id, &$post_id, &$poll_id, &$topic_type, &$bbcode_on, &$html_on, &$smilies_on, &$attach_sig, &$bbcode_uid, &$post_username, &$post_subject, &$post_message, &$poll_title, &$poll_options, &$poll_length, &$topic_desc, $topic_announce_duration = 0, $post_icon = 0, $topic_calendar_time = 0, $topic_calendar_duration = 0, &$news_category)
Kod: Markera allt
&$post_username, &$post_subject, &$post_message, &$poll_title,Kod: Markera allt
function submit_post($mode, &$post_data, &$message, &$meta, &$forum_id, &$topic_id, &$post_id, &$poll_id, &$topic_type, &$bbcode_on, &$html_on, &$smilies_on, &$attach_sig, &$bbcode_uid, $post_username, $post_subject, $post_message, $poll_title, &$poll_options, &$poll_length, &$topic_desc, $topic_announce_duration = 0, $post_icon = 0, $topic_calendar_time = 0, $topic_calendar_duration = 0, &$news_category)Kod: Markera allt
Parse error: parse error, unexpected '}' in /hsphere/local/home/biker/bikersite.se/includes/functions_post.php on line 711
Kod: Markera allt
#
#----- [FIND] -----------------------------
#
<tr>
<td class="row1"><span class="gen">{L_BOARD_LANGUAGE}:</span></td>
<td class="row2"><span class="gensmall">{LANGUAGE_SELECT}</span></td>
</tr>
#
#-----[ REPLACE WITH ]----------------------------------
#
<!-- bortkommenterad rad språkval
<tr>
<td class="row1"><span class="gen">{L_BOARD_LANGUAGE}:</span></td>
<td class="row2"><span class="gensmall">{LANGUAGE_SELECT}</span></td>
</tr>
slut bortkommenterad rad språkval -->
#
#-----[ SAVE/CLOSE ALL FILES ]--------------------------
#Användare som besöker denna kategori: 5 och 0 gäster