Pagina 1 din 1

Problema la scriere si la cautare!

Scris: 31-Oct-2004, 21:41:54
de GSM Land
Salutare ...
Am vrut sa bag forumul meu si pe un alt server cu un alt domeniu ... am mutat fisierele si baza de date, dar cand scriu un mesaj imi apare:

Cod: Selectaţi tot

Fatal error: Call to undefined function: add_search_words() in /home/gsmland/public_html/board/includes/functions_post.php on line 303
si cand dau search:

Cod: Selectaţi tot

Fatal error: Call to undefined function: split_words() in /home/gsmland/public_html/board/search.php on line 261
Totul insa merge bine! Ce poate fi?

Scris: 31-Oct-2004, 23:45:41
de BuGsY
Dă şi tu cu paste liniile cu probleme (+/- 3 linii ;))

Scris: 01-Noi-2004, 00:23:14
de GSM Land

Cod: Selectaţi tot

			$stopword_array = @file($phpbb_root_path . 'language/lang_' . $board_config['default_lang'] . '/search_stopwords.txt'); 
			$synonym_array = @file($phpbb_root_path . 'language/lang_' . $board_config['default_lang'] . '/search_synonyms.txt'); 

			$split_search = array();
			$split_search = ( !strstr($multibyte_charset, $lang['ENCODING']) ) ?  split_words(clean_words('search', stripslashes($search_keywords), $stopword_array, $synonym_array), 'search') : split(' ', $search_keywords);	

			$search_msg_only = ( !$search_fields ) ? "AND m.title_match = 0" : ( ( strstr($multibyte_charset, $lang['ENCODING']) ) ? '' : '' );

			$word_count = 0;
			$current_match_type = 'or';

			$word_match = array();
			$result_list = array();
si:

Cod: Selectaţi tot

			message_die(GENERAL_ERROR, 'Could not update post edit count information', '', __LINE__, __FILE__, $sql);
		}
	}
	add_search_words('single', $post_id, stripslashes($post_message), stripslashes($post_subject));

Scris: 02-Noi-2004, 15:27:59
de GSM Land
Merci ....
Am rezolvat eu, era o greseala de copiere.