Problema la scriere si la cautare!

Folosiţi acest forum pentru a discuta problemele apărute în timpul folosirii forumului phpBB 2.0.x.
Închis
GSM Land
Utilizator înregistrat
Mesaje: 65
Membru din: 02-Apr-2004, 00:28:48
Ext: Nu
Server: Windows
Nivel phpBB: Mediu
Nivel php: Mediu
Localitate: Bucuresti
Contact:

Problema la scriere si la cautare!

Mesaj 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?
Avatar utilizator
BuGsY
Fost coleg
Mesaje: 1193
Membru din: 19-Iun-2003, 15:24:49
Ext: Nu
Server: Windows
Nivel phpBB: Mediu
Nivel php: Mediu
Localitate: Constanţa
Contact:

Mesaj de BuGsY »

Dă şi tu cu paste liniile cu probleme (+/- 3 linii ;))
GSM Land
Utilizator înregistrat
Mesaje: 65
Membru din: 02-Apr-2004, 00:28:48
Ext: Nu
Server: Windows
Nivel phpBB: Mediu
Nivel php: Mediu
Localitate: Bucuresti
Contact:

Mesaj 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));
GSM Land
Utilizator înregistrat
Mesaje: 65
Membru din: 02-Apr-2004, 00:28:48
Ext: Nu
Server: Windows
Nivel phpBB: Mediu
Nivel php: Mediu
Localitate: Bucuresti
Contact:

Mesaj de GSM Land »

Merci ....
Am rezolvat eu, era o greseala de copiere.
Închis

Înapoi la “2.0.x Funcţionare”

Cine este conectat

Utilizatori ce ce navighează pe acest forum: Niciun utilizator înregistrat și 1 vizitator