problema la new topic

Folosiţi acest forum pentru a discuta problemele apărute în timpul folosirii forumului phpBB 2.0.x.
Închis
radu01
Utilizator înregistrat
Mesaje: 22
Membru din: 08-Oct-2005, 14:40:42

problema la new topic

Mesaj de radu01 »

cand vreau sa fac un topic nou ..asta imi da : Imagine
aceiasi eroare si la post reply !

ce e de facut ?
radu01
Utilizator înregistrat
Mesaje: 22
Membru din: 08-Oct-2005, 14:40:42

Mesaj de radu01 »

sv e www.lx.ro // si da am ultima ver si am schimbat din localhost mysql.lx.ro !!
behemoth89ro
Utilizator înregistrat
Mesaje: 44
Membru din: 27-Dec-2004, 14:36:14

Mesaj de behemoth89ro »

Trebuie niste modificari la posting.php, search.php si function_search.php. Deci iei acele fisiere de pe ftp unde ai forumul, le downloadezi, le editezi in felul de mai jos, dupa care le uploadezi la loc si totul ar trebui sa mearga. :wink:

- in posting.php:
submit_post($mode, $post_data, $return_message, $return_meta, $forum_id, $topic_id, $post_id, $poll_id, $topic_type, $bbcode_on, $html_on, $smilies_on, $attach_sig, $bbcode_uid, str_replace("\'", "''", $username), str_replace("\'", "''", $subject), str_replace("\'", "''", $message), str_replace("\'", "''", $poll_title), $poll_options, $poll_length);
se va schimba cu:
$var1 = str_replace("\'", "''", $username);
$var2 = str_replace("\'", "''", $subject);
$var3 = str_replace("\'", "''", $message);
$var4 = str_replace("\'", "''", $poll_title);
submit_post($mode, $post_data, $return_message, $return_meta, $forum_id, $topic_id, $post_id, $poll_id, $topic_type, $bbcode_on, $html_on, $smilies_on, $attach_sig, $bbcode_uid, $var1, $var2, $var3, $var4, $poll_options, $poll_length, $was_a_draft, $save_as_draft);
- in search.php:
$split_search = ( !strstr($multibyte_charset, $lang['ENCODING']) ) ? split_words(clean_words('search', stripslashes($search_keywords), $stopword_array, $synonym_array), 'search') : split(' ', $search_keywords);
se va schimba cu:
$search_keywords = stripslashes($search_keywords);
$clean_words = clean_words('search', $search_keywords, $stopword_array, $synonym_array);
$split_search = split_words($clean_words, 'search');
unset($clean_words);
-in includes/functions_search.php:
$search_raw_words['text'] = split_words(clean_words('post', $post_text, $stopword_array, $synonym_array));
$search_raw_words['title'] = split_words(clean_words('post', $post_title, $stopword_array, $synonym_array));
se va schimba cu:
$var1 = 'post';
$var2 = clean_words($var1, $post_text, $stopword_array, $synonym_array);
$var3 = clean_words($var1, $post_title, $stopword_array, $synonym_array);
$search_raw_words['text'] = split_words($var2);
$search_raw_words['title'] = split_words($var3);
Închis

Înapoi la “2.0.x Funcţionare”

Cine este conectat

Utilizatori ce ce navighează pe acest forum: Niciun utilizator înregistrat și 2 vizitatori